summaryrefslogtreecommitdiff
path: root/tools/updatelang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/updatelang')
-rwxr-xr-xtools/updatelang8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/updatelang b/tools/updatelang
index 2c2b1e1d3b..61d57de532 100755
--- a/tools/updatelang
+++ b/tools/updatelang
@@ -388,8 +388,14 @@ foreach my $id (@langorder) {
388 } 388 }
389 } 389 }
390 } elsif ($lp{$tgt} ne 'none' && $lp{$tgt} ne '' && not_ignorelist($id) && !$lang{$id}{'new'} && !$ignoredups) { 390 } elsif ($lp{$tgt} ne 'none' && $lp{$tgt} ne '' && not_ignorelist($id) && !$lang{$id}{'new'} && !$ignoredups) {
391 $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english!\n";
392# print "#!! '$id:$tgt' voice identical ('$lp{$tgt}')\n"; 391# print "#!! '$id:$tgt' voice identical ('$lp{$tgt}')\n";
392 if ($lang{$id}{'dest'}{$tgt} ne '' &&
393 $lang{$id}{'dest'}{$tgt} ne $english{$id}{'dest'}{$tgt}) {
394 $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english, copying translated <dest>\n";
395 $lang{$id}{'voice'}{$tgt} = $lang{$id}{'dest'}{$tgt};
396 } else {
397 $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english!\n";
398 }
393 } 399 }
394 } 400 }
395} 401}