mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-22 07:43:15 +00:00
Added crowdin sync script
This commit is contained in:
parent
dd82cb0663
commit
27dbcd3b8a
2 changed files with 35 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@
|
|||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
/tools/config.sh
|
||||
|
|
34
tools/crowdin.sh
Normal file
34
tools/crowdin.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/bash
|
||||
. tools/config.sh
|
||||
|
||||
#https://github.com/mendhak/Crowdin-Android-Importer
|
||||
|
||||
rm -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-iw/
|
||||
rm -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rBH/
|
||||
rm -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rEG/
|
||||
rm -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rSA/
|
||||
rm -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rYE/
|
||||
|
||||
python $importer_dir/crowdin.py --p=app/src/main -a=get -i netguard -k $api_key
|
||||
|
||||
mkdir -p /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-iw/
|
||||
mkdir -p /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rBH/
|
||||
mkdir -p /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rEG/
|
||||
mkdir -p /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rSA/
|
||||
mkdir -p /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rYE/
|
||||
|
||||
cp -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-he/* \
|
||||
/home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-iw/
|
||||
|
||||
cp -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar/* \
|
||||
/home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rBH/
|
||||
|
||||
cp -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar/* \
|
||||
/home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rEG/
|
||||
|
||||
cp -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar/* \
|
||||
/home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rSA/
|
||||
|
||||
cp -R /home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar/* \
|
||||
/home/marcel/Documents/android/projects/NetGuard/app/src/main/res/values-ar-rYE/
|
||||
|
Loading…
Reference in a new issue