From 97aded26654ede8204a313dd6967b678a72a2a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Fri, 12 Dec 2014 18:02:40 +0100 Subject: Updated ics-openvpn to last rev 14 Nov 2014. Material design! It still doesn't run properly on my tablet, openvpn keeps getting down and exiting. --- .../main/misc/fetchtranslations.sh | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100755 ics-openvpn-stripped/main/misc/fetchtranslations.sh (limited to 'ics-openvpn-stripped/main/misc/fetchtranslations.sh') diff --git a/ics-openvpn-stripped/main/misc/fetchtranslations.sh b/ics-openvpn-stripped/main/misc/fetchtranslations.sh deleted file mode 100755 index 356748d6..00000000 --- a/ics-openvpn-stripped/main/misc/fetchtranslations.sh +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/zsh -set -o shwordsplit - -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 - - -# Chinese language require zh-CN and zh-TW - -typeset -A langhash -langhash=(zh-CN zh-rCN zh-TW zh-rTW id-ID in ca-ES ca cs-CZ cs et-EE et ja-JP ja ko-KR ko sv-SE sv uk-UA uk) - -langtoinclude="de es fr hu it no nl pl pt ro ru tr" - -for lang in $langtoinclude ${(k)langhash} -do - if (( ${+langhash[$lang]} )); then - alang=$lang - rlang=${langhash[$lang]} - else - alang=$lang-${lang:u} - rlang=$lang - fi - - mkdir -p src/main/res/values-$rlang/ - echo "$alang -> $rlang" - tar -xv -C src/main/res/values-$rlang/ --strip-components 2 -f ics-openvpn.zip res/values-$alang/ -done - -rm ics-openvpn.zip -- cgit v1.2.3