mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
add script to add a new language and base scripts to be called from the repo root
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
|
||||
# on problems, 'tx -d pull' gives verbose output
|
||||
echo "res/values/$LANG/strings.xml added, 'tx pull' to update"
|
||||
Reference in New Issue
Block a user