From 1c5025380ca996a966407ee7f9269a9961e7174f Mon Sep 17 00:00:00 2001 From: Xylight Date: Sun, 9 Jun 2024 13:34:11 -0700 Subject: [PATCH] misc: add support for new translations --- src/lib/i18n/en.json | 3 +++ src/lib/translations.ts | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index 62bd1f8a..04b306e0 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -560,6 +560,9 @@ "he": "Hebrew", "et": "Estonian", "fr": "French", + "de": "German", + "fi": "Finnish", + "pt": "Portuguese", "auto": "Auto", "credits": "Credits" }, diff --git a/src/lib/translations.ts b/src/lib/translations.ts index f04e6cea..cfbf1f0b 100644 --- a/src/lib/translations.ts +++ b/src/lib/translations.ts @@ -12,6 +12,21 @@ const config: Config = { key: '', loader: async () => (await import('./i18n/et.json')).default, }, + { + locale: 'fi', + key: '', + loader: async () => (await import('./i18n/fi.json')).default, + }, + { + locale: 'de', + key: '', + loader: async () => (await import('./i18n/de.json')).default, + }, + { + locale: 'pt', + key: '', + loader: async () => (await import('./i18n/pt.json')).default, + }, ], fallbackLocale: 'en', }