diff options
Diffstat (limited to 'tools/genlang')
-rwxr-xr-x | tools/genlang | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang index 659e5f44e1..9c7f8949c1 100755 --- a/tools/genlang +++ b/tools/genlang | |||
@@ -63,7 +63,8 @@ while(<LANG>) { | |||
63 | 63 | ||
64 | if( (($var eq "new") && $value && ($value !~ /^\"(.*)\" *$/)) || | 64 | if( (($var eq "new") && $value && ($value !~ /^\"(.*)\" *$/)) || |
65 | (($var eq "eng") && ($value !~ /^\"(.*)\" *$/)) ) { | 65 | (($var eq "eng") && ($value !~ /^\"(.*)\" *$/)) ) { |
66 | print "missing quotes on line $line for ".$set{'id'}."\n"; | 66 | print "$input:$line:missing quotes for ".$set{'id'}."\n"; |
67 | $errors++; | ||
67 | next; | 68 | next; |
68 | } | 69 | } |
69 | 70 | ||
@@ -101,3 +102,5 @@ MOO | |||
101 | 102 | ||
102 | close(CFILE); | 103 | close(CFILE); |
103 | close(HFILE); | 104 | close(HFILE); |
105 | |||
106 | exit $errors; | ||