From dbf06a54b9f8420fdb07ca471faefcc7bbfab08c Mon Sep 17 00:00:00 2001
From: schroda <50052685+schroda@users.noreply.github.com>
Date: Sat, 5 Apr 2025 13:06:49 +0200
Subject: [PATCH] Update available languages
---
src/i18n/index.ts | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/i18n/index.ts b/src/i18n/index.ts
index 1604aaa1..376db235 100644
--- a/src/i18n/index.ts
+++ b/src/i18n/index.ts
@@ -12,14 +12,27 @@ import LanguageDetector from 'i18next-browser-languagedetector';
import HttpBackend from 'i18next-http-backend';
/**
- * Keys have to match {@link ISOLanguages} codes, they're used for showing the language name in the dropdown in the {@link Settings}.
- * In case there is no language code for the key in {@link ISOLanguages}, the corresponding language has to be added
+ * Keys have to match {@link IsoLanguages} codes, they're used for showing the language name in the dropdown in the {@link Settings}.
+ * In case there is no language code for the key in {@link IsoLanguages}, the corresponding language has to be added
*
* **IMPORTANT:**
*
* This is generated by the `i18n:gen-resources` script
*/
-export const i18nResources = ['de', 'en', 'es', 'fr', 'pt', 'ru', 'ta', 'tr', 'vi', 'zh_Hans', 'zh_Hant'] as const;
+export const i18nResources = [
+ 'de',
+ 'en',
+ 'es',
+ 'fr',
+ 'pl',
+ 'pt',
+ 'ru',
+ 'ta',
+ 'tr',
+ 'vi',
+ 'zh_Hans',
+ 'zh_Hant',
+] as const;
export type I18nResourceCode = (typeof i18nResources)[number];