forked from len0rd/rockbox
genlang: Skip strings not present in english in all voicelist modes
Change-Id: If4a4c8c42ce68ecac4aee4400ea82cc709e26c1a
This commit is contained in:
parent
ab1cf209ec
commit
73a0a9f5aa
1 changed files with 2 additions and 1 deletions
|
@ -479,8 +479,9 @@ while(<LANG>) {
|
||||||
my $idstr = $phrase{'id'};
|
my $idstr = $phrase{'id'};
|
||||||
my $idnum;
|
my $idnum;
|
||||||
|
|
||||||
if($binary && !$english{$idstr}) {
|
if(($binary || $binvoice || $voiceout) && !$english{$idstr}) {
|
||||||
# $idstr doesn't exist for english, skip it\n";
|
# $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) {
|
elsif($dest =~ /^none\z/i) {
|
||||||
# "none" as dest (without quotes) means that this entire
|
# "none" as dest (without quotes) means that this entire
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue