summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/fetchtranslations.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/fetchtranslations.sh b/misc/fetchtranslations.sh
index d0be16cf..f3f98b8d 100755
--- a/misc/fetchtranslations.sh
+++ b/misc/fetchtranslations.sh
@@ -10,11 +10,11 @@ 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 sv uk"
+langtoinclude="ca cs de es et fr id it ja ko no nl pl ro ru sv uk"
for lang in $langtoinclude
do
- tar xfv ics-openvpn.zip /res/values-$lang/
+ tar xfv ics-openvpn.zip res/values-$lang/
done
# Chinese language require zh-CN and zh-TW
@@ -32,4 +32,7 @@ do
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
+ rm $lang.zip
+done
+
+rm -v ics-openvpn.zip