From 2e0adab642eabfc976c57a43ad81ec0ffdd00027 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 10 Oct 2012 10:12:49 +0200 Subject: Have translationby string a useful default for translators Grrrr at Chinese languages. Russian is complete enought to be usable --HG-- rename : res/values-zh-CN/arrays.xml => res/values-zh-rCN/arrays.xml rename : res/values-zh-CN/strings.xml => res/values-zh-rCN/strings.xml --- fetchtranslations.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'fetchtranslations.sh') diff --git a/fetchtranslations.sh b/fetchtranslations.sh index e9ab2f95..900aff0a 100755 --- a/fetchtranslations.sh +++ b/fetchtranslations.sh @@ -3,12 +3,14 @@ if [ "$ICSCROWDAPIKEY" != "" ] then - fetch -1 -o - http://api.crowdin.net/api/project/ics-openvpn/export?key=$ICSCROWDAPIKEY + echo "Generating new translation archives" + fetch -q -1 -o - http://api.crowdin.net/api/project/ics-openvpn/export?key=$ICSCROWDAPIKEY fi -fetch http://crowdin.net/download/project/ics-openvpn.zip +echo "Fetch translation archive" +fetch -q http://crowdin.net/download/project/ics-openvpn.zip -langtoinclude="de cs ko et fr he" +langtoinclude="de cs ko et fr he ru" for lang in $langtoinclude do @@ -17,8 +19,10 @@ done # Chinese language require zh-CN and zh-TW -for lang in zh-CN +lang="zh-CN" +rlang="zh-rCN" do + echo "Fetch archive for $lang" fetch http://crowdin.net/download/project/ics-openvpn/$lang.zip - tar -xv -C res/values-$lang/ --strip-components 3 -f $lang.zip + tar -xv -C res/values-$rlang/ --strip-components 3 -f $lang.zip done \ No newline at end of file -- cgit v1.2.3