From 10c339548b714c4287b92e3a67887e0d0cf546dc Mon Sep 17 00:00:00 2001 From: Xylight Date: Thu, 6 Jun 2024 13:50:06 -0700 Subject: [PATCH] fix: name of estonian language --- src/lib/i18n/en.json | 2 +- src/lib/i18n/{ee.json => et.json} | 4 ++-- src/lib/translations.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/lib/i18n/{ee.json => et.json} (99%) diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index d4f974ac..93c1c995 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -556,7 +556,7 @@ "en": "English", "en-US": "English", "he": "Hebrew", - "ee": "Estonian", + "et": "Estonian", "fr": "French", "auto": "Auto", "credits": "Credits" diff --git a/src/lib/i18n/ee.json b/src/lib/i18n/et.json similarity index 99% rename from src/lib/i18n/ee.json rename to src/lib/i18n/et.json index 36d133a6..fccc271e 100644 --- a/src/lib/i18n/ee.json +++ b/src/lib/i18n/et.json @@ -10,7 +10,7 @@ "admin": "Admin", "moderation": "Moderation", "communities": "Uuri", - "search":"Otsi", + "search": "Otsi", "create": { "label": "Koosta", "post": "Postida", @@ -544,7 +544,7 @@ "en": "English", "en-US": "English", "he": "Hebrew", - "ee": "estonian", + "et": "Estonian", "auto": "Auto" }, "view": { diff --git a/src/lib/translations.ts b/src/lib/translations.ts index aff02fc2..f04e6cea 100644 --- a/src/lib/translations.ts +++ b/src/lib/translations.ts @@ -8,9 +8,9 @@ const config: Config = { loader: async () => (await import('./i18n/en.json')).default, }, { - locale: 'ee', + locale: 'et', key: '', - loader: async () => (await import('./i18n/ee.json')).default, + loader: async () => (await import('./i18n/et.json')).default, }, ], fallbackLocale: 'en',