diff --git a/tools/genlang b/tools/genlang index abff3e8e18..24b29b7d9a 100755 --- a/tools/genlang +++ b/tools/genlang @@ -469,6 +469,10 @@ while() { else { $idnum = $idcount[$user]++; } + + # Strip out the magic "Same as english" flag + $dest =~ s/^("?)~/$1/; + $voice =~ s/^("?)~/$1/; $id{$idstr} = $idnum; $idnum[$user][$idnum]=$idstr; diff --git a/tools/updatelang b/tools/updatelang index 6f0012c573..e8a5fcae9d 100755 --- a/tools/updatelang +++ b/tools/updatelang @@ -360,7 +360,7 @@ foreach my $id (@langorder) { $lang{$id}{'dest'}{$tgt} = $english{$id}{'dest'}{$tgt}; } } 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"; + $lang{$id}{'notes'} .= "### The section for '$id:$tgt' is identical to english! (correct or prefix with ~)\n"; # print "#!! '$id:$tgt' dest identical ('$lp{$tgt}')\n"; } if ($id eq 'LANG_VOICED_DATE_FORMAT') { @@ -466,7 +466,7 @@ foreach my $id (@langorder) { $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"; + $lang{$id}{'notes'} .= "### The section for '$id:$tgt' is identical to english! (correct or prefix with ~)\n"; } } if (defined($lp{$tgt}) && ($lp{$tgt} =~ /%"/)) {