forked from len0rd/rockbox
make it deal with traling tabs as well as spaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3198 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
816bc8c6b1
commit
8f72d9eeb1
1 changed files with 2 additions and 2 deletions
|
|
@ -61,8 +61,8 @@ while(<LANG>) {
|
||||||
|
|
||||||
$set{$var} = $value;
|
$set{$var} = $value;
|
||||||
|
|
||||||
if( (($var eq "new") && $value && ($value !~ /^\"(.*)\" *$/)) ||
|
if( (($var eq "new") && $value && ($value !~ /^\"(.*)\"\W*$/)) ||
|
||||||
(($var eq "eng") && ($value !~ /^\"(.*)\" *$/)) ) {
|
(($var eq "eng") && ($value !~ /^\"(.*)\"\W*$/)) ) {
|
||||||
print "$input:$line:missing quotes for ".$set{'id'}."\n";
|
print "$input:$line:missing quotes for ".$set{'id'}."\n";
|
||||||
$errors++;
|
$errors++;
|
||||||
next;
|
next;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue