From b9fb72f51723ae7f332104179c2067524094f74b Mon Sep 17 00:00:00 2001 From: Kevin Stadler Date: Fri, 10 Jan 2025 14:02:00 +0100 Subject: [PATCH] style: fix language display (strict lowercase, "farsi" not person, see #12) --- app/[locale]/publications/[id]/page.tsx | 6 +++--- messages/de.json | 2 +- messages/en.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/[locale]/publications/[id]/page.tsx b/app/[locale]/publications/[id]/page.tsx index aa91951..826b523 100644 --- a/app/[locale]/publications/[id]/page.tsx +++ b/app/[locale]/publications/[id]/page.tsx @@ -136,7 +136,7 @@ export default async function PublicationPage(props: PublicationPageProps) { {earlier ? ( <> -

{t("earlier_editions")}

+

{t("earlier_editions")}

{earlier.map(async (pp) => { const p = await pp; @@ -152,7 +152,7 @@ export default async function PublicationPage(props: PublicationPageProps) { {later ? ( <> -

{t("later_editions")}

+

{t("later_editions")}

{later.map(async (pp) => { const p = await pp; @@ -167,7 +167,7 @@ export default async function PublicationPage(props: PublicationPageProps) { ) : null}
-

+

{t("more_in")}{" "} { // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/messages/de.json b/messages/de.json index 94d22ae..3a4ee25 100644 --- a/messages/de.json +++ b/messages/de.json @@ -88,7 +88,7 @@ "nl": "Niederländisch", "en": "Englisch", "et": "Estnisch", - "fa": "Persisch", + "fa": "Farsi", "fi": "Finnisch", "fr": "Französisch", "gl": "Galicisch", diff --git a/messages/en.json b/messages/en.json index 2576ea9..825d868 100644 --- a/messages/en.json +++ b/messages/en.json @@ -88,7 +88,7 @@ "nl": "Dutch", "en": "English", "et": "Estonian", - "fa": "Persian", + "fa": "Farsi", "fi": "Finnish", "fr": "French", "gl": "Galician",