summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genlang b/tools/genlang
index 39f1696e8c..de9dd43920 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -61,8 +61,8 @@ while(<LANG>) {
$set{$var} = $value;
- if( (($var eq "new") && $value && ($value !~ /^\"(.*)\" *$/)) ||
- (($var eq "eng") && ($value !~ /^\"(.*)\" *$/)) ) {
+ if( (($var eq "new") && $value && ($value !~ /^\"(.*)\"\W*$/)) ||
+ (($var eq "eng") && ($value !~ /^\"(.*)\"\W*$/)) ) {
print "$input:$line:missing quotes for ".$set{'id'}."\n";
$errors++;
next;