summaryrefslogtreecommitdiff
path: root/fetchtranslations.sh
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-10-10 10:39:13 +0200
committerArne Schwabe <arne@rfc2549.org>2012-10-10 10:39:13 +0200
commit9f8f005acc77999f7adcdd58ea4f9e905153c54e (patch)
tree8dd1bc52f0b15a00e982b9bb7bf67fc37181dee8 /fetchtranslations.sh
parent2e0adab642eabfc976c57a43ad81ec0ffdd00027 (diff)
More language fixing
Diffstat (limited to 'fetchtranslations.sh')
-rwxr-xr-xfetchtranslations.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/fetchtranslations.sh b/fetchtranslations.sh
index 900aff0a..ff265954 100755
--- a/fetchtranslations.sh
+++ b/fetchtranslations.sh
@@ -19,9 +19,11 @@ done
# Chinese language require zh-CN and zh-TW
-lang="zh-CN"
-rlang="zh-rCN"
+for lang in "zh-CN"
do
+ if [ $lang = "zh-CN" ] ; then
+ rlang="zh-rCN"
+ 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