summaryrefslogtreecommitdiffstats
path: root/tools/genlang
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-04-19 11:03:37 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-04-19 11:03:37 +0000
commit991665bcdf6fb3e0bfc057e128d7148f265dc808 (patch)
tree5630b2fdc79689d7fdf8283b9b99c0537a8cd496 /tools/genlang
parentb79c9a61454fbf79a641cf353846ec7690af52f5 (diff)
downloadrockbox-991665bcdf6fb3e0bfc057e128d7148f265dc808.tar.gz
rockbox-991665bcdf6fb3e0bfc057e128d7148f265dc808.zip
More usable playlist generation, added "<All tracks>" entry to tag
browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9729 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/genlang')
-rwxr-xr-xtools/genlang10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/genlang b/tools/genlang
index 8be9b63d45..f0c35be384 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -310,14 +310,14 @@ while(<LANG>) {
my $ll = $_;
- # print "M: $m\n";
+ # print "M: $m\n";
push @phrase, $ll;
# this is an XML-lookalike tag
- if(/ *<([^>]*)>/) {
- my $part = $1;
- #print "P: $part\n";
+ if (/^(<|[^\"<]+<)([^>]*)>/) {
+ my $part = $2;
+ # print "P: $part\n";
if($part =~ /^\//) {
# this was a closing tag
@@ -409,7 +409,7 @@ while(<LANG>) {
# This is an opening (sub) tag
push @m, $m; # store old value
- $m = $1;
+ $m = $part;
next;
}