aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/client.sh46
1 files changed, 45 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 912401faf..e7475f56c 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -39,8 +39,52 @@ post_build_hook
39 39
40# Don't build other languages if --light arg is provided 40# Don't build other languages if --light arg is provided
41if [ -z ${1+x} ] || [ "$1" != "--light" ]; then 41if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
42 if [ ! -z ${1+x} ] && [ "$1" == "--light-fr" ]; then 42 if [ ! -z ${1+x} ] && [ "$1" == "--light-hu" ]; then
43 languages=(["hu"]="hu-HU")
44 elif [ ! -z ${1+x} ] && [ "$1" == "--light-th" ]; then
45 languages=(["th"]="th-TH")
46 elif [ ! -z ${1+x} ] && [ "$1" == "--light-fi" ]; then
47 languages=(["fi"]="fi-FI")
48 elif [ ! -z ${1+x} ] && [ "$1" == "--light-nl" ]; then
49 languages=(["nl"]="nl-NL")
50 elif [ ! -z ${1+x} ] && [ "$1" == "--light-gd" ]; then
51 languages=(["gd"]="gd")
52 elif [ ! -z ${1+x} ] && [ "$1" == "--light-el" ]; then
53 languages=(["el"]="el-GR")
54 elif [ ! -z ${1+x} ] && [ "$1" == "--light-es" ]; then
55 languages=(["es"]="es-ES")
56 elif [ ! -z ${1+x} ] && [ "$1" == "--light-oc" ]; then
57 languages=(["oc"]="oc")
58 elif [ ! -z ${1+x} ] && [ "$1" == "--light-pt" ]; then
59 languages=(["pt"]="pt-BR")
60 elif [ ! -z ${1+x} ] && [ "$1" == "--light-pt-PT" ]; then
61 languages=(["pt-PT"]="pt-PT")
62 elif [ ! -z ${1+x} ] && [ "$1" == "--light-sv" ]; then
63 languages=(["sv"]="sv-SE")
64 elif [ ! -z ${1+x} ] && [ "$1" == "--light-pl" ]; then
65 languages=(["pl"]="pl-PL")
66 elif [ ! -z ${1+x} ] && [ "$1" == "--light-ru" ]; then
67 languages=(["ru"]="ru-RU")
68 elif [ ! -z ${1+x} ] && [ "$1" == "--light-zh-Hans" ]; then
69 languages=(["zh-Hans"]="zh-Hans-CN")
70 elif [ ! -z ${1+x} ] && [ "$1" == "--light-zh-Hant" ]; then
71 languages=(["zh-Hant"]="zh-Hant-TW")
72 elif [ ! -z ${1+x} ] && [ "$1" == "--light-fr" ]; then
43 languages=(["fr"]="fr-FR") 73 languages=(["fr"]="fr-FR")
74 elif [ ! -z ${1+x} ] && [ "$1" == "--light-ja" ]; then
75 languages=(["ja"]="ja-JP")
76 elif [ ! -z ${1+x} ] && [ "$1" == "--light-eu" ]; then
77 languages=(["eu"]="eu-ES")
78 elif [ ! -z ${1+x} ] && [ "$1" == "--light-ca" ]; then
79 languages=(["ca"]="ca-ES")
80 elif [ ! -z ${1+x} ] && [ "$1" == "--light-cs" ]; then
81 languages=(["cs"]="cs-CZ")
82 elif [ ! -z ${1+x} ] && [ "$1" == "--light-eo" ]; then
83 languages=(["eo"]="eo")
84 elif [ ! -z ${1+x} ] && [ "$1" == "--light-de" ]; then
85 languages=(["de"]="de-DE")
86 elif [ ! -z ${1+x} ] && [ "$1" == "--light-it" ]; then
87 languages=(["it"]="it-IT")
44 else 88 else
45 # Supported languages 89 # Supported languages
46 languages=( 90 languages=(