summaryrefslogtreecommitdiffstats
path: root/tools/updatelang
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-11-19 09:51:23 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-11-19 09:52:37 -0500
commitb7b0c7c648f5bf628ebc645e3fd1737b1647eb54 (patch)
tree2e4bf404278074f850381448b00832a315c504b7 /tools/updatelang
parent6d62a7a1bdaa2c028eabb0008ece414bf770e30d (diff)
downloadrockbox-b7b0c7c648f5bf628ebc645e3fd1737b1647eb54.tar.gz
rockbox-b7b0c7c648f5bf628ebc645e3fd1737b1647eb54.tar.bz2
rockbox-b7b0c7c648f5bf628ebc645e3fd1737b1647eb54.zip
languages: convert recording_swcodec -> recording
Change-Id: I481a53284d63457717f4a6524edc5b477f29a20a
Diffstat (limited to 'tools/updatelang')
-rwxr-xr-xtools/updatelang14
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/updatelang b/tools/updatelang
index de17e2248e..7a3cb934b9 100755
--- a/tools/updatelang
+++ b/tools/updatelang
@@ -60,12 +60,14 @@ sub parselangfile {
foreach (@targets) {
my $l = trim($_);
- # Strip out some keys
-# if ($l eq "swcodec") {
-# $l = "*";
-# } elsif ($l eq "lcd_bitmap") {
-# $l = "*";
-# }
+ # Convert some obsolete keys
+ if ($l eq "swcodec") {
+ $l = "*";
+ } elsif ($l eq "lcd_bitmap") {
+ $l = "*";
+ } elsif ($l eq "recording_swcodec") {
+ $l = "recording";
+ }
$thisphrase{$pos}->{$l} = $2;
}