forked from sctg-development/RtkGps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
integrate-crowdin
executable file
·31 lines (26 loc) · 987 Bytes
/
integrate-crowdin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#/bin/sh
cd ~/Development/RtkGps
. ./.crowdin-api-key
mkdir CROWDIN-TMP
cd CROWDIN-TMP
wget "https://api.crowdin.com/api/project/gpsplusrtkgps/export?key=$CROWDINAPIKEY" -O -
wget "https://api.crowdin.com/api/project/gpsplusrtkgps/download/all.zip?key=$CROWDINAPIKEY" -O gpsplusrtkgps.zip
unzip gpsplusrtkgps.zip
cp zh-CN/strings.xml ../res/values-zh-rCN/
cp zh-CN/changelog.txt ../res/raw-zh-rCN/
cp zh-CN/google_play_description.txt ../res/raw-zh-rCN/
cp fr/strings.xml ../res/values-fr/
cp fr/changelog.txt ../res/raw-fr/
cp fr/google_play_description.txt ../res/raw-fr/
cp es-ES/strings.xml ../res/values-es/
cp es-ES/google_play_description.txt ../res/raw-es/
cp es-ES/changelog.txt ../res/raw-es/
cp de/strings.xml ../res/values-de/
#not enough
#cp de/changelog.txt ../res/raw-de/
#cp de/google_play_description.txt ../res/raw-de/
cp pl/strings.xml ../res/values-pl/
cp pl/changelog.txt ../res/raw-pl/
cp pl/google_play_description.txt ../res/raw-pl/
cd ..
rm -rf CROWDIN-TMP