diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-28 14:56:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-28 15:53:13 +0200 |
commit | 10e63b6850710a0a6fc35fe029b2efb133654c74 (patch) | |
tree | b657aeb8b01bf7bd9a8f82f7a8e79b1ba4fbbab0 /scripts | |
parent | e0452b67127b5cdad0c2e3ac44e07e647296eed7 (diff) | |
download | PeerTube-10e63b6850710a0a6fc35fe029b2efb133654c74.tar.gz PeerTube-10e63b6850710a0a6fc35fe029b2efb133654c74.tar.zst PeerTube-10e63b6850710a0a6fc35fe029b2efb133654c74.zip |
Add Basque and Catalan languages
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 58aca437b..a2a4a554d 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/bash |
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
@@ -11,9 +11,9 @@ npm run ng build -- --output-path "dist/$defaultLanguage/" --deploy-url "/client | |||
11 | mv "./dist/$defaultLanguage/assets" "./dist" | 11 | mv "./dist/$defaultLanguage/assets" "./dist" |
12 | 12 | ||
13 | # Supported languages | 13 | # Supported languages |
14 | languages="fr_FR" | 14 | languages=("fr_FR" "eu_ES" "ca_ES") |
15 | 15 | ||
16 | for lang in "$languages"; do | 16 | for lang in "${languages[@]}"; do |
17 | npm run ng build -- --prod --i18n-file "./src/locale/target/angular_$lang.xml" --i18n-format xlf --i18n-locale "$lang" \ | 17 | npm run ng build -- --prod --i18n-file "./src/locale/target/angular_$lang.xml" --i18n-format xlf --i18n-locale "$lang" \ |
18 | --output-path "dist/$lang/" --deploy-url "/client/$lang/" | 18 | --output-path "dist/$lang/" --deploy-url "/client/$lang/" |
19 | 19 | ||