summaryrefslogtreecommitdiff
path: root/fetchtranslations.sh
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-12-26 04:58:57 +0100
committerArne Schwabe <arne@rfc2549.org>2012-12-26 04:58:57 +0100
commit8a94d6c21681896f60054c18e2495ef8c53e6f7c (patch)
tree42f3214fe619e402d8f02f2164097e4717d07c16 /fetchtranslations.sh
parentfd7570835b7e7fdd335b55bc006791ecb402277b (diff)
parent58131bfbde80b433992ab2e7deabb0b63aac072e (diff)
Return to the old icon, I do not like the new ones yet...
Diffstat (limited to 'fetchtranslations.sh')
-rwxr-xr-xfetchtranslations.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/fetchtranslations.sh b/fetchtranslations.sh
index ff265954..847dd3cd 100755
--- a/fetchtranslations.sh
+++ b/fetchtranslations.sh
@@ -10,7 +10,7 @@ fi
echo "Fetch translation archive"
fetch -q http://crowdin.net/download/project/ics-openvpn.zip
-langtoinclude="de cs ko et fr he ru"
+langtoinclude="ca cs de es et fr he id it ja ko no nl ru"
for lang in $langtoinclude
do
@@ -19,11 +19,14 @@ done
# Chinese language require zh-CN and zh-TW
-for lang in "zh-CN"
+for lang in zh-CN zh-TW
do
if [ $lang = "zh-CN" ] ; then
rlang="zh-rCN"
+ elif [ $lang = "zh-TW" ] ; then
+ rlang="zh-rTW"
fi
+
echo "Fetch archive for $lang"
fetch http://crowdin.net/download/project/ics-openvpn/$lang.zip
tar -xv -C res/values-$rlang/ --strip-components 3 -f $lang.zip