mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-04 02:09:39 +02:00
16 lines
486 B
Bash
Executable file
16 lines
486 B
Bash
Executable file
# add a language, must be executed from the repo root
|
|
|
|
LANG=$1
|
|
|
|
mkdir res/values-$LANG/
|
|
|
|
cp res/values/strings.xml res/values-$LANG/strings.xml
|
|
|
|
# (needed because transifex may have different file times
|
|
# and does not overwrite old file)
|
|
touch -d "100 days ago" res/values-$LANG/strings.xml
|
|
|
|
echo "res/values/$LANG/strings.xml added:"
|
|
echo "- 'tx pull' to update"
|
|
echo "- on problems, 'tx -d pull' gives verbose output"
|
|
echo "- if needed, language mappings can be added to ./tx/config"
|