diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-13 07:52:29 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-13 08:05:06 -0400 |
commit | 73a0a9f5aa631f9e8b0d4300229981d17d9bf56c (patch) | |
tree | 5d96ef823eac50d41d2d1055863d3a45f7a78711 /tools/genlang | |
parent | ab1cf209eca379bc679a73b397c6b348be5a6862 (diff) |
genlang: Skip strings not present in english in all voicelist modes
Change-Id: If4a4c8c42ce68ecac4aee4400ea82cc709e26c1a
Diffstat (limited to 'tools/genlang')
-rwxr-xr-x | tools/genlang | 3 |
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>) { my $idstr = $phrase{'id'}; my $idnum; - if($binary && !$english{$idstr}) { + if(($binary || $binvoice || $voiceout) && !$english{$idstr}) { # $idstr doesn't exist for english, skip it\n"; + # FIXME/TODO: Any reason this filter shouldn't always be enabled? } elsif($dest =~ /^none\z/i) { # "none" as dest (without quotes) means that this entire |