]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/build/client.sh
Update changelog
[github/Chocobozzz/PeerTube.git] / scripts / build / client.sh
index 31b55dbf5d9177b04a300d966e5d926b63c77933..a9eceebf93e3603691c9303be50ae58596b1315e 100755 (executable)
@@ -42,7 +42,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
     if [ ! -z ${1+x} ] && [ "$1" == "--light-hu" ]; then
         languages=(["hu"]="hu-HU")
     elif [ ! -z ${1+x} ] && [ "$1" == "--light-ar" ]; then
-        languages=(["ar"]="ar-001")
+        languages=(["ar"]="ar")
     elif [ ! -z ${1+x} ] && [ "$1" == "--light-vi" ]; then
         languages=(["vi"]="vi-VN")
     elif [ ! -z ${1+x} ] && [ "$1" == "--light-kab" ]; then
@@ -94,7 +94,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
     else
         # Supported languages
         languages=(
-            ["ar"]="ar-001"
+            ["ar"]="ar"
             ["vi"]="vi-VN"
             ["hu"]="hu-HU"
             ["th"]="th-TH"
@@ -148,10 +148,6 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
     done
 fi
 
-if [ "$1" != "--analyze" ]; then
-  rm "./dist/en-US/stats-es2015.json"
-fi
-
 cd ../ && npm run build:embed && cd client/
 
 # Copy runtime locales