diff options
Diffstat (limited to 'main/misc/fetchtranslations.sh')
-rwxr-xr-x | main/misc/fetchtranslations.sh | 7 |
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 |