From 2375d6f054af7fce5689cd772458cde21f61edb9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 29 Nov 2024 11:23:59 +0100 Subject: [PATCH] Add sk support --- packages/core-utils/src/i18n/i18n.ts | 2 ++ scripts/i18n/update.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core-utils/src/i18n/i18n.ts b/packages/core-utils/src/i18n/i18n.ts index 81d859d1b..8228a10a7 100644 --- a/packages/core-utils/src/i18n/i18n.ts +++ b/packages/core-utils/src/i18n/i18n.ts @@ -32,6 +32,7 @@ export const I18N_LOCALES = { 'pt-BR': 'Português (Brasil)', 'pt-PT': 'Português (Portugal)', 'ru-RU': 'Pусский', + 'sk-SK': 'Slovenčina', 'sq': 'Shqip', 'sv-SE': 'Svenska', 'th-TH': 'ไทย', @@ -65,6 +66,7 @@ const I18N_LOCALE_ALIAS = { 'pl': 'pl-PL', 'pt': 'pt-BR', 'ru': 'ru-RU', + 'sk': 'sk-SK', 'sv': 'sv-SE', 'th': 'th-TH', 'tr': 'tr-TR', diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh index 8a276088c..ad0286d89 100755 --- a/scripts/i18n/update.sh +++ b/scripts/i18n/update.sh @@ -8,7 +8,7 @@ cd client npm run ng -- extract-i18n --out-file src/locale/angular.xlf # Merge new translations in other language files -node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json "ar" "is" "hr" "ca-ES" "gl-ES" "cs-CZ" "da-DK" "de-DE" "el-GR" "en-GB" "en-US" "eo" "es-ES" "eu-ES" "fa-IR" "fi-FI" "fr-FR" "gd" "gl-ES" "hu-HU" "it-IT" "ja-JP" "jbo" "kab" "ko-KR" "lt-LT" "nb-NO" "nl-NL" "oc" "pl-PL" "pt-BR" "pt-PT" "ru-RU" "sk-SK" "sl-SI" "sv-SE" "ta" "th-TH" "tr-TR" "uk-UA" "vi-VN" "zh-Hans-CN" "zh-Hant-TW" "nn" "nb-NO" "tok" +node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json "ar" "is" "hr" "ca-ES" "gl-ES" "cs-CZ" "da-DK" "de-DE" "el-GR" "en-GB" "en-US" "eo" "es-ES" "eu-ES" "fa-IR" "fi-FI" "fr-FR" "gd" "gl-ES" "hu-HU" "it-IT" "ja-JP" "jbo" "kab" "ko-KR" "lt-LT" "nb-NO" "nl-NL" "oc" "pl-PL" "pt-BR" "pt-PT" "ru-RU" "sk-SK" "sl-SI" "sv-SE" "ta" "th-TH" "tr-TR" "uk-UA" "vi-VN" "zh-Hans-CN" "zh-Hant-TW" "nn" "nb-NO" "tok" "sk-SK" # Add our strings too cd ../