diff options
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 080454d07..3d1d0234e 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -30,8 +30,12 @@ post_build_hook | |||
30 | 30 | ||
31 | # Don't build other languages if --light arg is provided | 31 | # Don't build other languages if --light arg is provided |
32 | if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | 32 | if [ -z ${1+x} ] || [ "$1" != "--light" ]; then |
33 | # Supported languages | 33 | if [ ! -z ${1+x} ] && [ "$1" == "--light-fr" ]; then |
34 | languages=("fr_FR" "eu_ES" "ca_ES" "cs_CZ" "eo" "zh_Hant_TW" "de_DE" "es_ES" "oc") | 34 | languages=("fr_FR") |
35 | else | ||
36 | # Supported languages | ||
37 | languages=("fr_FR" "eu_ES" "ca_ES" "cs_CZ" "eo" "zh_Hant_TW" "de_DE" "es_ES" "oc") | ||
38 | fi | ||
35 | 39 | ||
36 | for lang in "${languages[@]}"; do | 40 | for lang in "${languages[@]}"; do |
37 | # TODO: remove when the project will use runtime translations | 41 | # TODO: remove when the project will use runtime translations |