mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
script to copy translation data from android_translate branch
This commit is contained in:
parent
6eb2e8e174
commit
34ecd92ff5
1 changed files with 16 additions and 0 deletions
16
xwords4/android/scripts/copy-xlations.sh
Executable file
16
xwords4/android/scripts/copy-xlations.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
usage() {
|
||||
[ $# -eq 0 ] || echo "ERROR: $1"
|
||||
echo "usage: $0"
|
||||
echo " git-copies all strings.xml translations from android_translate"
|
||||
echo " branch to the current one. DOES NOT COMMIT nor consider history etc."
|
||||
exit 1
|
||||
}
|
||||
|
||||
[ $# -eq 0 ] || usage "unexpected paramater $1"
|
||||
|
||||
for LANGDIR in res_src/values-??; do
|
||||
echo "copying from $LANGDIR"
|
||||
git show android_translate:xwords4/android/XWords4/${LANGDIR}/strings.xml > ${LANGDIR}/strings.xml
|
||||
done
|
Loading…
Reference in a new issue