summaryrefslogtreecommitdiffstats
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
parentab1cf209eca379bc679a73b397c6b348be5a6862 (diff)
downloadrockbox-73a0a9f5aa631f9e8b0d4300229981d17d9bf56c.tar.gz
rockbox-73a0a9f5aa631f9e8b0d4300229981d17d9bf56c.tar.bz2
rockbox-73a0a9f5aa631f9e8b0d4300229981d17d9bf56c.zip
genlang: Skip strings not present in english in all voicelist modes
Change-Id: If4a4c8c42ce68ecac4aee4400ea82cc709e26c1a
-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>) {
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