summaryrefslogtreecommitdiff
path: root/fetchtranslations.sh
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-11-20 22:18:08 +0100
committerArne Schwabe <arne@rfc2549.org>2012-11-20 22:18:08 +0100
commit5185087bfc481f45e4dda8a0f23e701bb1e9add7 (patch)
treeac8da329a247a0c6f887daa943df45900b6f6b46 /fetchtranslations.sh
parent25e680bf2d4391709cd45bc0b55f3a220885357f (diff)
Add script to generate FAQ in the google CODE project.
Diffstat (limited to 'fetchtranslations.sh')
-rwxr-xr-xfetchtranslations.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/fetchtranslations.sh b/fetchtranslations.sh
index ff265954..98f63801 100755
--- a/fetchtranslations.sh
+++ b/fetchtranslations.sh
@@ -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