Add sk support

This commit is contained in:
Chocobozzz 2024-11-29 11:23:59 +01:00
parent 5d2306a262
commit 2375d6f054
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,7 @@ export const I18N_LOCALES = {
'pt-BR': 'Português (Brasil)', 'pt-BR': 'Português (Brasil)',
'pt-PT': 'Português (Portugal)', 'pt-PT': 'Português (Portugal)',
'ru-RU': 'Pусский', 'ru-RU': 'Pусский',
'sk-SK': 'Slovenčina',
'sq': 'Shqip', 'sq': 'Shqip',
'sv-SE': 'Svenska', 'sv-SE': 'Svenska',
'th-TH': 'ไทย', 'th-TH': 'ไทย',
@ -65,6 +66,7 @@ const I18N_LOCALE_ALIAS = {
'pl': 'pl-PL', 'pl': 'pl-PL',
'pt': 'pt-BR', 'pt': 'pt-BR',
'ru': 'ru-RU', 'ru': 'ru-RU',
'sk': 'sk-SK',
'sv': 'sv-SE', 'sv': 'sv-SE',
'th': 'th-TH', 'th': 'th-TH',
'tr': 'tr-TR', 'tr': 'tr-TR',

View File

@ -8,7 +8,7 @@ cd client
npm run ng -- extract-i18n --out-file src/locale/angular.xlf npm run ng -- extract-i18n --out-file src/locale/angular.xlf
# Merge new translations in other language files # 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 # Add our strings too
cd ../ cd ../