diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-11 16:25:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-11 16:25:43 +0200 |
commit | 0f7195fa401a0b647961cf1fcc57412445d80acd (patch) | |
tree | 0ac7627b2b45af828746287119de856bca26f034 /scripts | |
parent | c9d02185f79a4896aec286226be63ad54f9edd3d (diff) | |
download | PeerTube-0f7195fa401a0b647961cf1fcc57412445d80acd.tar.gz PeerTube-0f7195fa401a0b647961cf1fcc57412445d80acd.tar.zst PeerTube-0f7195fa401a0b647961cf1fcc57412445d80acd.zip |
Support hr locale
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 1 | ||||
-rwxr-xr-x | scripts/i18n/update.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index d5b83f239..930940b1a 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -32,6 +32,7 @@ languages=( | |||
32 | ["ca"]="ca-ES" | 32 | ["ca"]="ca-ES" |
33 | ["gl"]="gl-ES" | 33 | ["gl"]="gl-ES" |
34 | ["cs"]="cs-CZ" | 34 | ["cs"]="cs-CZ" |
35 | ["hr"]="hr" | ||
35 | ["eo"]="eo" | 36 | ["eo"]="eo" |
36 | ["de"]="de-DE" | 37 | ["de"]="de-DE" |
37 | ["it"]="it-IT" | 38 | ["it"]="it-IT" |
diff --git a/scripts/i18n/update.sh b/scripts/i18n/update.sh index 2d037e523..cc2205079 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" "nn" "nb-NO" "tok" | 11 | node ./node_modules/.bin/xliffmerge -p ./.xliffmerge.json "ar" "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" |
12 | 12 | ||
13 | # Add our strings too | 13 | # Add our strings too |
14 | cd ../ | 14 | cd ../ |