summaryrefslogtreecommitdiff
path: root/fetchtranslations.sh
diff options
context:
space:
mode:
authorarne@gaia.fritz.box <arne@gaia.fritz.box>2012-12-25 23:22:13 +0100
committerarne@gaia.fritz.box <arne@gaia.fritz.box>2012-12-25 23:22:13 +0100
commit3018f292ff635d7ec61b3cd02a1e13659819683f (patch)
tree32de630e310e6055124ee92a0d5788a76f6cd94d /fetchtranslations.sh
parent83dfeaa842bd42840698bdce9a91207a75395b3e (diff)
parent80d073d5fd79e0c57e33e708e6917e9f36c9bebc (diff)
Merge local changes with repository
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