From 58954ca4d0a2eee19c067673efd3712e8fc69464 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Tue, 5 Jun 2012 23:27:47 +0200 Subject: Add plurals as a source of acceptable reference --- main/project/localization/findextratranslations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/project') 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 } -- cgit v1.1