summaryrefslogtreecommitdiffstats
path: root/tools/updatelang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/updatelang')
-rwxr-xr-xtools/updatelang7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/updatelang b/tools/updatelang
index 7a3cb934b9..fa78430958 100755
--- a/tools/updatelang
+++ b/tools/updatelang
@@ -57,9 +57,10 @@ sub parselangfile {
}
} elsif ($pos ne 'phrase' && $line =~ /^([^:]+): ?\"?([^\"]*)\"?$/) {
my @targets = split(',', $1);
+ my $w = $2;
+
foreach (@targets) {
my $l = trim($_);
-
# Convert some obsolete keys
if ($l eq "swcodec") {
$l = "*";
@@ -67,9 +68,11 @@ sub parselangfile {
$l = "*";
} elsif ($l eq "recording_swcodec") {
$l = "recording";
+# } elsif ($id =~ /USB_MODE/ && $l =~ /ibassodx/) {
+# $l = "*";
}
- $thisphrase{$pos}->{$l} = $2;
+ $thisphrase{$pos}->{$l} = $w;
}
}
if ($line eq '</voice>' ||