diff options
Diffstat (limited to 'tools/updatelang')
-rwxr-xr-x | tools/updatelang | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/updatelang b/tools/updatelang index 61d57de532..b67a28400c 100755 --- a/tools/updatelang +++ b/tools/updatelang | |||
@@ -371,7 +371,11 @@ foreach my $id (@langorder) { | |||
371 | $lang{$id}{'dest'}{$tgt} ne $english{$id}{'dest'}{$tgt}) { | 371 | $lang{$id}{'dest'}{$tgt} ne $english{$id}{'dest'}{$tgt}) { |
372 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is blank! Copying from translated <dest>!\n"; | 372 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is blank! Copying from translated <dest>!\n"; |
373 | $lang{$id}{'voice'}{$tgt} = $lang{$id}{'dest'}{$tgt}; | 373 | $lang{$id}{'voice'}{$tgt} = $lang{$id}{'dest'}{$tgt}; |
374 | 374 | if ($lang{$id}{'voice'}{$tgt} =~ /%/) { | |
375 | # If it has suspicious characters that are not normally voiced.. | ||
376 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' has some suspicious characters, please double-check!\n"; | ||
377 | #print "#!! '$id:$tgt' suspicious characters\n"; | ||
378 | } | ||
375 | } else { | 379 | } else { |
376 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is blank! Copying from english!\n"; | 380 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is blank! Copying from english!\n"; |
377 | 381 | ||
@@ -397,6 +401,11 @@ foreach my $id (@langorder) { | |||
397 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english!\n"; | 401 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is identical to english!\n"; |
398 | } | 402 | } |
399 | } | 403 | } |
404 | if ($lp{$tgt} =~ /%/) { | ||
405 | # If it has suspicious characters that are not normally voiced.. | ||
406 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' has some suspicious characters, please double-check!\n"; | ||
407 | # print "#!! '$id:$tgt' suspicious characters\n"; | ||
408 | } | ||
400 | } | 409 | } |
401 | } | 410 | } |
402 | 411 | ||