diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-06-05 23:27:47 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-06-05 23:28:27 +0200 |
commit | 58954ca4d0a2eee19c067673efd3712e8fc69464 (patch) | |
tree | ba401153da565b848e58f801c347ad6cc96f1ac1 /main/project | |
parent | bd4f256e12618d8bd47b56a0ca51709a96bfa9ef (diff) | |
download | cgeo-58954ca4d0a2eee19c067673efd3712e8fc69464.zip cgeo-58954ca4d0a2eee19c067673efd3712e8fc69464.tar.gz cgeo-58954ca4d0a2eee19c067673efd3712e8fc69464.tar.bz2 |
Add plurals as a source of acceptable reference
Diffstat (limited to 'main/project')
-rwxr-xr-x | main/project/localization/findextratranslations.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/project/localization/findextratranslations.sh b/main/project/localization/findextratranslations.sh index 66695d2..0a2d576 100755 --- a/main/project/localization/findextratranslations.sh +++ b/main/project/localization/findextratranslations.sh @@ -25,7 +25,7 @@ checkpresent() { if [ -z `echo $1 | sed -e 's/^status_.*$//'` ]; then return 0 fi - (cd $sourcedir && grep -m 1 R.string.$1 $sourcefiles > /dev/null) || \ + (cd $sourcedir && grep -m 1 -E "\WR\.(string|plurals)\.$1\W" $sourcefiles > /dev/null) || \ grep -m 1 @string/$1 $xmlfiles > /dev/null } |