aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-09-27 23:09:30 +0200
committerSamuel Tardieu <sam@rfc1149.net>2011-09-27 23:09:30 +0200
commit323052c1e912e8c2eedcf4812f4fa6ac90ed71c7 (patch)
tree4cf318aa2a37b3c930b1bc4c1eba7656e932ff65
parentde97c851edfa529ca791518e8a63186931f34998 (diff)
downloadcgeo-323052c1e912e8c2eedcf4812f4fa6ac90ed71c7.zip
cgeo-323052c1e912e8c2eedcf4812f4fa6ac90ed71c7.tar.gz
cgeo-323052c1e912e8c2eedcf4812f4fa6ac90ed71c7.tar.bz2
Add "cd" to executable "findmissingtranslations.sh", update ".gitignore"
-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