summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-13 07:52:29 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-13 08:05:06 -0400
commit73a0a9f5aa631f9e8b0d4300229981d17d9bf56c (patch)
tree5d96ef823eac50d41d2d1055863d3a45f7a78711 /tools
parentab1cf209eca379bc679a73b397c6b348be5a6862 (diff)
downloadrockbox-73a0a9f5aa631f9e8b0d4300229981d17d9bf56c.tar.gz
rockbox-73a0a9f5aa631f9e8b0d4300229981d17d9bf56c.zip
genlang: Skip strings not present in english in all voicelist modes
Change-Id: If4a4c8c42ce68ecac4aee4400ea82cc709e26c1a
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang
index 863a104185..a5f62bf3ca 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -479,8 +479,9 @@ while(<LANG>) {
479 my $idstr = $phrase{'id'}; 479 my $idstr = $phrase{'id'};
480 my $idnum; 480 my $idnum;
481 481
482 if($binary && !$english{$idstr}) { 482 if(($binary || $binvoice || $voiceout) && !$english{$idstr}) {
483 # $idstr doesn't exist for english, skip it\n"; 483 # $idstr doesn't exist for english, skip it\n";
484 # FIXME/TODO: Any reason this filter shouldn't always be enabled?
484 } 485 }
485 elsif($dest =~ /^none\z/i) { 486 elsif($dest =~ /^none\z/i) {
486 # "none" as dest (without quotes) means that this entire 487 # "none" as dest (without quotes) means that this entire