summaryrefslogtreecommitdiff
path: root/tools/updatelang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/updatelang')
-rwxr-xr-xtools/updatelang10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/updatelang b/tools/updatelang
index aa5578f7f1..7b51831aea 100755
--- a/tools/updatelang
+++ b/tools/updatelang
@@ -363,6 +363,16 @@ foreach my $id (@langorder) {
363 $lang{$id}{'notes'} .= "### The <dest> section for '$id:$tgt' is identical to english!\n"; 363 $lang{$id}{'notes'} .= "### The <dest> section for '$id:$tgt' is identical to english!\n";
364# print "#!! '$id:$tgt' dest identical ('$lp{$tgt}')\n"; 364# print "#!! '$id:$tgt' dest identical ('$lp{$tgt}')\n";
365 } 365 }
366 if ($id eq 'LANG_VOICED_DATE_FORMAT') {
367 my $sane = $lp{$tgt};
368 $sane =~ tr/YAmd//d;
369 if (length($sane) != 0) {
370 $lang{$id}{'notes'} .= "### The <dest> section for '$id:$tgt' has illegal characters! Restoring from English!\n";
371 $lang{$id}{'notes'} .= "### the previously used one is commented below:\n";
372 $lang{$id}{'notes'} .= "### $lang{$id}{dest}{$tgt}\n";
373 $lang{$id}{'dest'}{$tgt} = $english{$id}{'dest'}{$tgt};
374 }
375 }
366 my $count1 = $ep{$tgt} =~ tr/%//; 376 my $count1 = $ep{$tgt} =~ tr/%//;
367 my $count2 = $lp{$tgt} =~ tr/%//; 377 my $count2 = $lp{$tgt} =~ tr/%//;
368 if ($count1 || $count2) { 378 if ($count1 || $count2) {