mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
updatelang: ignore "same as english" flag when determining suggested voice string
Change-Id: I78d416679c64b837fff29d51e15e1dbd78f9fc0b
This commit is contained in:
parent
f22a8c1c9b
commit
c2c8fcb561
1 changed files with 2 additions and 1 deletions
|
|
@ -466,7 +466,8 @@ foreach my $id (@langorder) {
|
|||
} elsif ($lp{$tgt} ne 'none' && $lp{$tgt} ne '' && not_ignorelist($id) && !$lang{$id}{'new'} && !$ignoredups) {
|
||||
# print "#!! '$id:$tgt' voice identical ('$lp{$tgt}')\n";
|
||||
if ($lang{$id}{'dest'}{$tgt} ne '' &&
|
||||
$lang{$id}{'dest'}{$tgt} ne $english{$id}{'dest'}{$tgt}) {
|
||||
$lang{$id}{'dest'}{$tgt} ne $english{$id}{'dest'}{$tgt} &&
|
||||
$lang{$id}{'dest'}{$tgt} ne "~$english{$id}{dest}{$tgt}") {
|
||||
$lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english, copying translated <dest>\n";
|
||||
$lang{$id}{'voice'}{$tgt} = $lang{$id}{'dest'}{$tgt};
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue