diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-04-05 23:07:08 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-04-05 23:07:08 +0000 |
commit | d4241b0f62f6cce7d649faa97888722028d24813 (patch) | |
tree | 8fb0f75e39252ae466d8bd00c89f286d83363c0e /tools/binlang | |
parent | a018cb56c9bcd6e013164ea7e591e6db009cd7b6 (diff) | |
download | rockbox-d4241b0f62f6cce7d649faa97888722028d24813.tar.gz 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/binlang')
-rwxr-xr-x | tools/binlang | 6 |
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>) { | |||
97 | 97 | ||
98 | if($value =~ s/^\"(.*)\"\s*$/$1/g) { | 98 | if($value =~ s/^\"(.*)\"\s*$/$1/g) { |
99 | 99 | ||
100 | # Skip voice-only entries | ||
101 | if(!$value && $set{'voice'}) { | ||
102 | $idnum{$set{'id'}} = '_done_'; | ||
103 | next; | ||
104 | } | ||
105 | |||
100 | $idnum = $idnum{$set{'id'}}; | 106 | $idnum = $idnum{$set{'id'}}; |
101 | 107 | ||
102 | if($idnum eq "") { | 108 | if($idnum eq "") { |