mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-24 09:40:28 -06:00
Support nn and nb locales
This commit is contained in:
parent
e2a1ccd174
commit
66175ae8b4
@ -124,6 +124,14 @@
|
||||
"kab": {
|
||||
"translation": "src/locale/angular.kab.xlf",
|
||||
"baseHref": "/client/kab/"
|
||||
},
|
||||
"nb": {
|
||||
"translation": "src/locale/angular.nb-NO.xlf",
|
||||
"baseHref": "/client/nb-NO/"
|
||||
},
|
||||
"nn": {
|
||||
"translation": "src/locale/angular.nn.xlf",
|
||||
"baseHref": "/client/nn/"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -35,6 +35,8 @@ languages=(
|
||||
["de"]="de-DE"
|
||||
["it"]="it-IT"
|
||||
["sq"]="sq"
|
||||
["nn"]="nn"
|
||||
["nb"]="nb-NO"
|
||||
["kab"]="kab"
|
||||
)
|
||||
|
||||
|
@ -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" "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"
|
||||
node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json "ar" "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"
|
||||
|
||||
# Add our strings too
|
||||
cd ../
|
||||
|
@ -28,6 +28,8 @@ export const I18N_LOCALES = {
|
||||
'ru-RU': 'русский',
|
||||
'sq': 'Shqip',
|
||||
'sv-SE': 'Svenska',
|
||||
'nn': 'norsk nynorsk',
|
||||
'nb-NO': 'norsk bokmål',
|
||||
'th-TH': 'ไทย',
|
||||
'vi-VN': 'Tiếng Việt',
|
||||
'zh-Hans-CN': '简体中文(中国)',
|
||||
@ -52,6 +54,7 @@ const I18N_LOCALE_ALIAS = {
|
||||
'nl': 'nl-NL',
|
||||
'pl': 'pl-PL',
|
||||
'pt': 'pt-BR',
|
||||
'nb': 'nb-NO',
|
||||
'ru': 'ru-RU',
|
||||
'sv': 'sv-SE',
|
||||
'th': 'th-TH',
|
||||
|
Loading…
Reference in New Issue
Block a user