forked from len0rd/rockbox
updatelang: Flag '|' in voice strings too
Change-Id: Id82bf7bd19741e7275d188ceeea872ebeb30e1eb
This commit is contained in:
parent
e0df9952fd
commit
a056150d52
1 changed files with 2 additions and 2 deletions
|
@ -476,9 +476,9 @@ foreach my $id (@langorder) {
|
||||||
}
|
}
|
||||||
my $sane = $lang{$id}{'voice'}{$tgt};
|
my $sane = $lang{$id}{'voice'}{$tgt};
|
||||||
$sane =~ s/^~?(.*)/$1/; # Strip off leading ~ if it's there as it's not a legal character otherwise
|
$sane =~ s/^~?(.*)/$1/; # Strip off leading ~ if it's there as it's not a legal character otherwise
|
||||||
if ($sane =~ tr/%"~:\[\]<>{}//) {
|
if ($sane =~ tr/%"~:\[\]<>{}\|//) {
|
||||||
# Suspicious characters that are not typically voiced..
|
# Suspicious characters that are not typically voiced..
|
||||||
$lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' has some suspicious characters (eg %,\",~,:,<,>,[,],{,}), please correct!\n";
|
$lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' has some suspicious characters (eg %,\",~,:,<,>,[,],{,},|), please correct!\n";
|
||||||
# print "#!! '$id:$tgt' suspicious characters\n";
|
# print "#!! '$id:$tgt' suspicious characters\n";
|
||||||
}
|
}
|
||||||
if ($lang{$id}{'voice'}{$tgt} =~ /\.\.\./) {
|
if ($lang{$id}{'voice'}{$tgt} =~ /\.\.\./) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue