Skip to content

Commit

Permalink
style: fix language display (strict lowercase, "farsi" not person, see
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstadler committed Jan 13, 2025
1 parent 8c3d17c commit b9fb72f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/[locale]/publications/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default async function PublicationPage(props: PublicationPageProps) {

{earlier ? (
<>
<h2 className="pt-10 font-bold">{t("earlier_editions")}</h2>
<h2 className="pt-10 font-bold lowercase">{t("earlier_editions")}</h2>
<div className="flex flex-wrap">
{earlier.map(async (pp) => {
const p = await pp;
Expand All @@ -152,7 +152,7 @@ export default async function PublicationPage(props: PublicationPageProps) {

{later ? (
<>
<h2 className="pt-10 font-bold">{t("later_editions")}</h2>
<h2 className="pt-10 font-bold lowercase">{t("later_editions")}</h2>
<div className="flex flex-wrap">
{later.map(async (pp) => {
const p = await pp;
Expand All @@ -167,7 +167,7 @@ export default async function PublicationPage(props: PublicationPageProps) {
) : null}

<section>
<h2 className="pt-10 font-bold">
<h2 className="pt-10 font-bold lowercase">
{t("more_in")}{" "}
{
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down
2 changes: 1 addition & 1 deletion messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"nl": "Niederländisch",
"en": "Englisch",
"et": "Estnisch",
"fa": "Persisch",
"fa": "Farsi",
"fi": "Finnisch",
"fr": "Französisch",
"gl": "Galicisch",
Expand Down
2 changes: 1 addition & 1 deletion messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"nl": "Dutch",
"en": "English",
"et": "Estonian",
"fa": "Persian",
"fa": "Farsi",
"fi": "Finnish",
"fr": "French",
"gl": "Galician",
Expand Down

0 comments on commit b9fb72f

Please sign in to comment.