aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-04 10:35:08 +0200
committerChocobozzz <me@florianbigard.com>2020-06-04 10:35:08 +0200
commit520745bfe894aa5db0345bfa72483ee2c38a707b (patch)
treeb267d132740866360609a2865d640f3aad7d280f /scripts/build
parent7ab42f6ecbd9ba6f4ed33cf710df5c2424555b69 (diff)
downloadPeerTube-520745bfe894aa5db0345bfa72483ee2c38a707b.tar.gz
PeerTube-520745bfe894aa5db0345bfa72483ee2c38a707b.tar.zst
PeerTube-520745bfe894aa5db0345bfa72483ee2c38a707b.zip
Add ar-001 locale
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index e7475f56c..c15f92070 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -41,6 +41,8 @@ post_build_hook
41if [ -z ${1+x} ] || [ "$1" != "--light" ]; then 41if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
42 if [ ! -z ${1+x} ] && [ "$1" == "--light-hu" ]; then 42 if [ ! -z ${1+x} ] && [ "$1" == "--light-hu" ]; then
43 languages=(["hu"]="hu-HU") 43 languages=(["hu"]="hu-HU")
44 elif [ ! -z ${1+x} ] && [ "$1" == "--light-ar" ]; then
45 languages=(["ar"]="ar-001")
44 elif [ ! -z ${1+x} ] && [ "$1" == "--light-th" ]; then 46 elif [ ! -z ${1+x} ] && [ "$1" == "--light-th" ]; then
45 languages=(["th"]="th-TH") 47 languages=(["th"]="th-TH")
46 elif [ ! -z ${1+x} ] && [ "$1" == "--light-fi" ]; then 48 elif [ ! -z ${1+x} ] && [ "$1" == "--light-fi" ]; then
@@ -88,6 +90,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
88 else 90 else
89 # Supported languages 91 # Supported languages
90 languages=( 92 languages=(
93 ["ar"]="ar-001"
91 ["hu"]="hu-HU" 94 ["hu"]="hu-HU"
92 ["th"]="th-TH" 95 ["th"]="th-TH"
93 ["fi"]="fi-FI" 96 ["fi"]="fi-FI"