mirror of
https://github.com/etesync/android
synced 2024-11-29 19:38:23 +00:00
4b5cb30762
* new StringLogger * DavResourceFinder: log to StringLogger; if no collections are found, logs can be views * DebugInfoActivity: show passed logs * script to fetch translations from Transifex * increase version to 0.9-beta2
12 lines
382 B
Bash
Executable File
12 lines
382 B
Bash
Executable File
#!/bin/bash
|
|
|
|
declare -A android
|
|
android=([ca]=ca [cs]=cs [de]=de [es]=es [fr]=fr [hu]=hu [nl]=nl [pl]=pl [pt]=pt [ru]=ru [sr]=sr [uk]=uk [zh_CN]=zh-rcn)
|
|
|
|
for lang in ${!android[@]}
|
|
do
|
|
target=../app/src/main/res/values-${android[$lang]}
|
|
mkdir -p $target
|
|
curl -n "https://www.transifex.com/api/2/project/davdroid/resource/davdroid/translation/$lang?file" >$target/strings.xml
|
|
done
|