diff options
Diffstat (limited to 'tools/updatelang')
-rwxr-xr-x | tools/updatelang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/updatelang b/tools/updatelang index 1fb594d596..ff4ce340e0 100755 --- a/tools/updatelang +++ b/tools/updatelang | |||
@@ -476,9 +476,9 @@ foreach my $id (@langorder) { | |||
476 | } | 476 | } |
477 | my $sane = $lang{$id}{'voice'}{$tgt}; | 477 | my $sane = $lang{$id}{'voice'}{$tgt}; |
478 | $sane =~ s/^~?(.*)/$1/; # Strip off leading ~ if it's there as it's not a legal character otherwise | 478 | $sane =~ s/^~?(.*)/$1/; # Strip off leading ~ if it's there as it's not a legal character otherwise |
479 | if ($sane =~ tr/%"~:\[\]<>{}//) { | 479 | if ($sane =~ tr/%"~:\[\]<>{}\|//) { |
480 | # Suspicious characters that are not typically voiced.. | 480 | # Suspicious characters that are not typically voiced.. |
481 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' has some suspicious characters (eg %,\",~,:,<,>,[,],{,}), please correct!\n"; | 481 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' has some suspicious characters (eg %,\",~,:,<,>,[,],{,},|), please correct!\n"; |
482 | # print "#!! '$id:$tgt' suspicious characters\n"; | 482 | # print "#!! '$id:$tgt' suspicious characters\n"; |
483 | } | 483 | } |
484 | if ($lang{$id}{'voice'}{$tgt} =~ /\.\.\./) { | 484 | if ($lang{$id}{'voice'}{$tgt} =~ /\.\.\./) { |