diff options
Diffstat (limited to 'tools/updatelang')
-rwxr-xr-x | tools/updatelang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/updatelang b/tools/updatelang index 601ec3d297..48f447d074 100755 --- a/tools/updatelang +++ b/tools/updatelang | |||
@@ -307,7 +307,7 @@ foreach my $id (@langorder) { | |||
307 | } | 307 | } |
308 | } | 308 | } |
309 | foreach my $tgt (keys(%ep)) { | 309 | foreach my $tgt (keys(%ep)) { |
310 | if (!defined($lp{$tgt})) { | 310 | if (!defined($lp{$tgt}) || ($lp{$tgt} eq 'none')) { |
311 | # If it doesn't exist in the language, copy it from English | 311 | # If it doesn't exist in the language, copy it from English |
312 | if ($ep{$tgt} ne 'none' && $ep{$tgt} ne '' ) { | 312 | if ($ep{$tgt} ne 'none' && $ep{$tgt} ne '' ) { |
313 | $lang{$id}{'notes'} .= "### The <dest> section for '$id:$tgt' is missing! Copying from english!\n"; | 313 | $lang{$id}{'notes'} .= "### The <dest> section for '$id:$tgt' is missing! Copying from english!\n"; |
@@ -356,7 +356,7 @@ foreach my $id (@langorder) { | |||
356 | } | 356 | } |
357 | } | 357 | } |
358 | foreach my $tgt (keys(%ep)) { | 358 | foreach my $tgt (keys(%ep)) { |
359 | if (!defined($lp{$tgt})) { | 359 | if (!defined($lp{$tgt}) || ($lp{$tgt} eq 'none')) { |
360 | # If it doesn't exist in the language, copy it from English | 360 | # If it doesn't exist in the language, copy it from English |
361 | if ($ep{$tgt} ne 'none' && $ep{$tgt} ne '' ) { | 361 | if ($ep{$tgt} ne 'none' && $ep{$tgt} ne '' ) { |
362 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is missing! Copying from english!\n"; | 362 | $lang{$id}{'notes'} .= "### The <voice> section for '$id:$tgt' is missing! Copying from english!\n"; |