diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-04 11:01:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-04 14:45:19 +0200 |
commit | 0bd558a0f9c7c6f1d5460e3792eaae663bf4f5e5 (patch) | |
tree | 98e652bc04a1189ce04e904947c04b4009d17d6d /scripts | |
parent | 520745bfe894aa5db0345bfa72483ee2c38a707b (diff) | |
download | PeerTube-0bd558a0f9c7c6f1d5460e3792eaae663bf4f5e5.tar.gz PeerTube-0bd558a0f9c7c6f1d5460e3792eaae663bf4f5e5.tar.zst PeerTube-0bd558a0f9c7c6f1d5460e3792eaae663bf4f5e5.zip |
Add kab and vi locales
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index c15f92070..a86404c6f 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -43,6 +43,10 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | |||
43 | languages=(["hu"]="hu-HU") | 43 | languages=(["hu"]="hu-HU") |
44 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-ar" ]; then | 44 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-ar" ]; then |
45 | languages=(["ar"]="ar-001") | 45 | languages=(["ar"]="ar-001") |
46 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-vi" ]; then | ||
47 | languages=(["vi"]="vi-VN") | ||
48 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-kab" ]; then | ||
49 | languages=(["kab"]="kab") | ||
46 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-th" ]; then | 50 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-th" ]; then |
47 | languages=(["th"]="th-TH") | 51 | languages=(["th"]="th-TH") |
48 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-fi" ]; then | 52 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-fi" ]; then |
@@ -91,6 +95,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | |||
91 | # Supported languages | 95 | # Supported languages |
92 | languages=( | 96 | languages=( |
93 | ["ar"]="ar-001" | 97 | ["ar"]="ar-001" |
98 | ["vi"]="vi-VN" | ||
94 | ["hu"]="hu-HU" | 99 | ["hu"]="hu-HU" |
95 | ["th"]="th-TH" | 100 | ["th"]="th-TH" |
96 | ["fi"]="fi-FI" | 101 | ["fi"]="fi-FI" |
@@ -114,6 +119,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | |||
114 | ["eo"]="eo" | 119 | ["eo"]="eo" |
115 | ["de"]="de-DE" | 120 | ["de"]="de-DE" |
116 | ["it"]="it-IT" | 121 | ["it"]="it-IT" |
122 | ["kab"]="kab" | ||
117 | ) | 123 | ) |
118 | fi | 124 | fi |
119 | 125 | ||