summaryrefslogtreecommitdiff
path: root/main/misc/fetchtranslations.sh
diff options
context:
space:
mode:
Diffstat (limited to 'main/misc/fetchtranslations.sh')
-rwxr-xr-xmain/misc/fetchtranslations.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/misc/fetchtranslations.sh b/main/misc/fetchtranslations.sh
index c0917027..359c1966 100755
--- a/main/misc/fetchtranslations.sh
+++ b/main/misc/fetchtranslations.sh
@@ -8,7 +8,7 @@ then
fi
echo "Fetch translation archive"
-fetch -q http://crowdin.net/download/project/ics-openvpn.zip
+#fetch -q http://crowdin.net/download/project/ics-openvpn.zip
# Chinese language require zh-CN and zh-TW
@@ -28,7 +28,8 @@ do
rlang=$lang
fi
- tar -xv -C src/main/res/values-$rlang/ --strip-components 3 -f ics-openvpn.zip res/values-$alang/
+ mkdir -p src/main/res/values-$rlang/
+ tar -xv -C src/main/res/values-$rlang/ --strip-components 2 -f ics-openvpn.zip res/values-$alang/
done
-rm ics-openvpn.zip
+#rm ics-openvpn.zip