summaryrefslogtreecommitdiff
path: root/fetchtranslations.sh
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-07-02 22:44:27 -0600
committerSean Leonard <meanderingcode@aetherislands.net>2013-07-18 15:44:58 -0600
commit818ce342ccb7a1e9d79876531fdbc4b5a5583acf (patch)
tree1f1525691c1ed1076b3f8211f761c99bc484ff38 /fetchtranslations.sh
parentb358f7883257fdf2c5ca391ce7dcc51ff28f6266 (diff)
Remove legacy files and scripts that are ics-openvpn specific
Diffstat (limited to 'fetchtranslations.sh')
-rwxr-xr-xfetchtranslations.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/fetchtranslations.sh b/fetchtranslations.sh
deleted file mode 100755
index 203a8bcc..00000000
--- a/fetchtranslations.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#! /bin/sh
-
-
-if [ "$ICSCROWDAPIKEY" != "" ]
-then
- echo "Generating new translation archives"
- fetch -q -1 -o - http://api.crowdin.net/api/project/ics-openvpn/export?key=$ICSCROWDAPIKEY
-fi
-
-echo "Fetch translation archive"
-fetch -q http://crowdin.net/download/project/ics-openvpn.zip
-
-langtoinclude="ca cs de es et fr id it ja ko no nl ro ru uk"
-
-for lang in $langtoinclude
-do
- tar xfv ics-openvpn.zip /res/values-$lang/
-done
-
-# Chinese language require zh-CN and zh-TW
-
-for lang in zh-CN zh-TW id
-do
- if [ $lang = "zh-CN" ] ; then
- rlang="zh-rCN"
- elif [ $lang = "zh-TW" ] ; then
- rlang="zh-rTW"
- elif [ $lang = "id" ] ; then
- rlang="id"
- 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
-done \ No newline at end of file