From 73a0a9f5aa631f9e8b0d4300229981d17d9bf56c Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 13 Jul 2020 07:52:29 -0400 Subject: genlang: Skip strings not present in english in all voicelist modes Change-Id: If4a4c8c42ce68ecac4aee4400ea82cc709e26c1a --- tools/genlang | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/genlang b/tools/genlang index 863a104185..a5f62bf3ca 100755 --- a/tools/genlang +++ b/tools/genlang @@ -479,8 +479,9 @@ while() { 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 -- cgit