summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-04-05 23:07:08 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-04-05 23:07:08 +0000
commitd4241b0f62f6cce7d649faa97888722028d24813 (patch)
tree8fb0f75e39252ae466d8bd00c89f286d83363c0e /tools
parenta018cb56c9bcd6e013164ea7e591e6db009cd7b6 (diff)
downloadrockbox-d4241b0f62f6cce7d649faa97888722028d24813.tar.gz
rockbox-d4241b0f62f6cce7d649faa97888722028d24813.tar.bz2
rockbox-d4241b0f62f6cce7d649faa97888722028d24813.zip
The binlang script is now updated for the new string table format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4468 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/binlang6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/binlang b/tools/binlang
index 15de9dbabf..64e9a8576a 100755
--- a/tools/binlang
+++ b/tools/binlang
@@ -97,6 +97,12 @@ while(<LANG>) {
if($value =~ s/^\"(.*)\"\s*$/$1/g) {
+ # Skip voice-only entries
+ if(!$value && $set{'voice'}) {
+ $idnum{$set{'id'}} = '_done_';
+ next;
+ }
+
$idnum = $idnum{$set{'id'}};
if($idnum eq "") {