mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
add a script to check for some basic translation syntax errors
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
echo potential errors, if any:
|
||||
|
||||
# a space after the percent sign
|
||||
# results in an IllegalFormatException in getString()
|
||||
grep --include='strings.xml' -r '\% '
|
||||
grep --include='strings.xml' -r '\$ '
|
||||
grep --include='strings.xml' -r ' \$'
|
||||
@@ -1,3 +1,4 @@
|
||||
tx pull -l en
|
||||
mv res/values-en/strings.xml res/values/strings.xml
|
||||
rmdir res/values-en
|
||||
./tools/check-translations.sh
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
tx pull
|
||||
./tools/check-translations.sh
|
||||
Reference in New Issue
Block a user