diff options
author | arne <arne@gaia.fritz.box> | 2012-12-25 23:22:13 +0100 |
---|---|---|
committer | arne <arne@gaia.fritz.box> | 2012-12-25 23:22:13 +0100 |
commit | c9dc454f4ec38f075f951fbf32935054023eed94 (patch) | |
tree | 33d36c8bfb68db406e3ae90237b145077efecda5 /fetchtranslations.sh | |
parent | e57c7dd4a792d02897140d0c5e2d014bcd1147c0 (diff) | |
parent | b2b8b3da3f501543338fc5065519ab778379c274 (diff) |
Merge local changes with repository
Diffstat (limited to 'fetchtranslations.sh')
-rwxr-xr-x | fetchtranslations.sh | 7 |
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 |