diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2011-09-27 23:09:30 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2011-09-27 23:09:30 +0200 |
commit | 323052c1e912e8c2eedcf4812f4fa6ac90ed71c7 (patch) | |
tree | 4cf318aa2a37b3c930b1bc4c1eba7656e932ff65 | |
parent | de97c851edfa529ca791518e8a63186931f34998 (diff) | |
download | cgeo-323052c1e912e8c2eedcf4812f4fa6ac90ed71c7.zip cgeo-323052c1e912e8c2eedcf4812f4fa6ac90ed71c7.tar.gz cgeo-323052c1e912e8c2eedcf4812f4fa6ac90ed71c7.tar.bz2 |
Add "cd" to executable "findmissingtranslations.sh", update ".gitignore"
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | main/project/localization/findmissingtranslations.sh | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 |