diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/updatelang | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/updatelang b/tools/updatelang index b2d8c9028f..a05011e645 100755 --- a/tools/updatelang +++ b/tools/updatelang | |||
@@ -466,7 +466,8 @@ foreach my $id (@langorder) { | |||
466 | } elsif ($lp{$tgt} ne 'none' && $lp{$tgt} ne '' && not_ignorelist($id) && !$lang{$id}{'new'} && !$ignoredups) { | 466 | } elsif ($lp{$tgt} ne 'none' && $lp{$tgt} ne '' && not_ignorelist($id) && !$lang{$id}{'new'} && !$ignoredups) { |
467 | # print "#!! '$id:$tgt' voice identical ('$lp{$tgt}')\n"; | 467 | # print "#!! '$id:$tgt' voice identical ('$lp{$tgt}')\n"; |
468 | if ($lang{$id}{'dest'}{$tgt} ne '' && | 468 | if ($lang{$id}{'dest'}{$tgt} ne '' && |
469 | $lang{$id}{'dest'}{$tgt} ne $english{$id}{'dest'}{$tgt}) { | 469 | $lang{$id}{'dest'}{$tgt} ne $english{$id}{'dest'}{$tgt} && |
470 | $lang{$id}{'dest'}{$tgt} ne "~$english{$id}{dest}{$tgt}") { | ||
470 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english, copying translated <dest>\n"; | 471 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english, copying translated <dest>\n"; |
471 | $lang{$id}{'voice'}{$tgt} = $lang{$id}{'dest'}{$tgt}; | 472 | $lang{$id}{'voice'}{$tgt} = $lang{$id}{'dest'}{$tgt}; |
472 | } else { | 473 | } else { |