diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-13 17:06:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-13 17:06:44 +0100 |
commit | 66175ae8b4b9307105fb3b3f9a77800e5d35518f (patch) | |
tree | b92c2c6d97aa09f30e2a98dd6fc9b19d308d6307 /scripts | |
parent | e2a1ccd1749981875f6fe8eeab85b22cbcfeed5b (diff) | |
download | PeerTube-66175ae8b4b9307105fb3b3f9a77800e5d35518f.tar.gz PeerTube-66175ae8b4b9307105fb3b3f9a77800e5d35518f.tar.zst PeerTube-66175ae8b4b9307105fb3b3f9a77800e5d35518f.zip |
Support nn and nb locales
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 2 | ||||
-rwxr-xr-x | scripts/i18n/update.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index e891b217c..bae91a2b6 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -35,6 +35,8 @@ languages=( | |||
35 | ["de"]="de-DE" | 35 | ["de"]="de-DE" |
36 | ["it"]="it-IT" | 36 | ["it"]="it-IT" |
37 | ["sq"]="sq" | 37 | ["sq"]="sq" |
38 | ["nn"]="nn" | ||
39 | ["nb"]="nb-NO" | ||
38 | ["kab"]="kab" | 40 | ["kab"]="kab" |
39 | ) | 41 | ) |
40 | 42 | ||
diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh index 0524c9e5d..4cf0d65b7 100755 --- a/scripts/i18n/update.sh +++ b/scripts/i18n/update.sh | |||
@@ -8,7 +8,7 @@ cd client | |||
8 | npm run ng -- extract-i18n --out-file src/locale/angular.xlf | 8 | npm run ng -- extract-i18n --out-file src/locale/angular.xlf |
9 | 9 | ||
10 | # Merge new translations in other language files | 10 | # Merge new translations in other language files |
11 | 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" | 11 | 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" |
12 | 12 | ||
13 | # Add our strings too | 13 | # Add our strings too |
14 | cd ../ | 14 | cd ../ |