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) { } } } elsif ($lp{$tgt} ne 'none' && $lp{$tgt} ne '' && not_ignorelist($id) && !$lang{$id}{'new'} && !$ignoredups) { - $lang{$id}{'notes'} .= "### The section for '$id:$tgt' is identical to english!\n"; # 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}{'notes'} .= "### The section for '$id:$tgt' is identical to english, copying translated \n"; + $lang{$id}{'voice'}{$tgt} = $lang{$id}{'dest'}{$tgt}; + } else { + $lang{$id}{'notes'} .= "### The section for '$id:$tgt' is identical to english!\n"; + } } } }