diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-14 08:39:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-14 09:50:36 +0200 |
commit | 02ba613049c0ebd082588f0845c541342dad8125 (patch) | |
tree | 7c363f576ee7bb5697a5bf5853dc7009e982f65f /scripts/build/client.sh | |
parent | 26aef7c3fe5d81b7fcb84c4828a9d91ce7be7318 (diff) | |
download | PeerTube-02ba613049c0ebd082588f0845c541342dad8125.tar.gz PeerTube-02ba613049c0ebd082588f0845c541342dad8125.tar.zst PeerTube-02ba613049c0ebd082588f0845c541342dad8125.zip |
Update translations
Diffstat (limited to 'scripts/build/client.sh')
-rwxr-xr-x | scripts/build/client.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 780adb0c6..d409d0594 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -41,7 +41,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | |||
41 | languages=("fr_FR") | 41 | languages=("fr_FR") |
42 | else | 42 | else |
43 | # Supported languages | 43 | # Supported languages |
44 | languages=("zh_Hant_TW" "fr_FR" "ja_JP" "eu_ES" "ca_ES" "cs_CZ" "eo" "de_DE" "it_IT" "nl_NL" "es_ES" "oc" "pt_BR" "pt_PT" "sv_SE" "pl_PL" "ru_RU" "zh_Hans_CN") | 44 | languages=("nl_NL" "es_ES" "oc" "pt_BR" "pt_PT" "sv_SE" "pl_PL" "ru_RU" "zh_Hans_CN" "zh_Hant_TW" "fr_FR" "ja_JP" "eu_ES" "ca_ES" "cs_CZ" "eo" "de_DE" "it_IT") |
45 | fi | 45 | fi |
46 | 46 | ||
47 | for lang in "${languages[@]}"; do | 47 | for lang in "${languages[@]}"; do |
@@ -51,7 +51,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | |||
51 | npm run ng build -- --prod --i18n-file "./src/locale/target/angular_$lang.xml" --i18n-format xlf --i18n-locale "$lang" \ | 51 | npm run ng build -- --prod --i18n-file "./src/locale/target/angular_$lang.xml" --i18n-format xlf --i18n-locale "$lang" \ |
52 | --output-path "dist/$lang/" --deploy-url "/client/$lang/" | 52 | --output-path "dist/$lang/" --deploy-url "/client/$lang/" |
53 | 53 | ||
54 | # Do no duplicate assets | 54 | # Do not duplicate assets |
55 | rm -r "./dist/$lang/assets" | 55 | rm -r "./dist/$lang/assets" |
56 | 56 | ||
57 | # TODO: remove when the project will use runtime translations | 57 | # TODO: remove when the project will use runtime translations |