aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-x[-rw-r--r--]main/project/localization/findmissingtranslations.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b0c86c7..98c93c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/main/res/values/mapsapikey.xml
/tests/bin/
/tests/gen/
+/main/project/localization/*.missing
diff --git a/main/project/localization/findmissingtranslations.sh b/main/project/localization/findmissingtranslations.sh
index 0e08d0a..e8cc78a 100644..100755
--- a/main/project/localization/findmissingtranslations.sh
+++ b/main/project/localization/findmissingtranslations.sh
@@ -19,6 +19,8 @@ finddiffs () {
[ `cat $1.missing | wc -l` -lt 4 ] && rm $1.missing
}
+cd `dirname "$0"`
+
echo processing en...
getnames ../../res/values/strings.xml > en.str
for l in `find ../../res/values-* -name "strings.xml" | sed "s/^.*values-\(..\).*$/\1/"`; do