diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/updatelang | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/updatelang b/tools/updatelang index 48f447d074..bde1dedaea 100755 --- a/tools/updatelang +++ b/tools/updatelang | |||
@@ -370,12 +370,14 @@ foreach my $id (@langorder) { | |||
370 | # print "#!! '$id:$tgt' voice is blank ('$lp{$tgt}' vs '$ep{$tgt}')\n"; | 370 | # print "#!! '$id:$tgt' voice is blank ('$lp{$tgt}' vs '$ep{$tgt}')\n"; |
371 | $lang{$id}{'voice'}{$tgt} = $english{$id}{'voice'}{$tgt}; | 371 | $lang{$id}{'voice'}{$tgt} = $english{$id}{'voice'}{$tgt}; |
372 | } elsif ($lp{$tgt} ne '' && $ep{$tgt} eq '') { | 372 | } elsif ($lp{$tgt} ne '' && $ep{$tgt} eq '') { |
373 | # If it's not blank, clear it and complain! | 373 | if ($id ne 'VOICE_NUMERIC_TENS_SWAP_SEPARATOR') { |
374 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is not blank!\n"; | 374 | # If it's not blank, clear it and complain! |
375 | $lang{$id}{'notes'} .= "### the previously used one is commented below:\n"; | 375 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is not blank!\n"; |
376 | $lang{$id}{'notes'} .= "### $english{$id}{voice}{$tgt}\n"; | 376 | $lang{$id}{'notes'} .= "### the previously used one is commented below:\n"; |
377 | # print "#!! '$id:$tgt' voice not blank ('$lp{$tgt}' vs '$ep{$tgt}')\n"; | 377 | $lang{$id}{'notes'} .= "### $english{$id}{voice}{$tgt}\n"; |
378 | $lang{$id}{'voice'}{$tgt} = $english{$id}{'voice'}{$tgt}; | 378 | # print "#!! '$id:$tgt' voice not blank ('$lp{$tgt}' vs '$ep{$tgt}')\n"; |
379 | $lang{$id}{'voice'}{$tgt} = $english{$id}{'voice'}{$tgt}; | ||
380 | } | ||
379 | } | 381 | } |
380 | } elsif ($lp{$tgt} ne 'none' && $lp{$tgt} ne '' && not_ignorelist($id) && !$lang{$id}{'new'} && !$ignoredups) { | 382 | } elsif ($lp{$tgt} ne 'none' && $lp{$tgt} ne '' && not_ignorelist($id) && !$lang{$id}{'new'} && !$ignoredups) { |
381 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english!\n"; | 383 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english!\n"; |