1
0
Fork 0
forked from len0rd/rockbox

genlang: Skip strings not present in english in all voicelist modes

Change-Id: If4a4c8c42ce68ecac4aee4400ea82cc709e26c1a
This commit is contained in:
Solomon Peachy 2020-07-13 07:52:29 -04:00
parent ab1cf209ec
commit 73a0a9f5aa

View file

@ -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