|
amiconn: tools genlang,1.16,1.17 binlang,1.14,1.15: msg#00243systems.archos.rockbox.cvs
Update of /cvsroot/rockbox/tools In directory labb:/tmp/cvs-serv5339/tools Modified Files: genlang binlang Log Message: Fix: Deprecated voice-only entries were treated as (deprecated) standard LANG_ entries. Now they are detected by the id matching VOICE_*. Index: binlang =================================================================== RCS file: /cvsroot/rockbox/tools/binlang,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- binlang 3 Jun 2004 08:23:05 -0000 1.14 +++ binlang 31 Jan 2005 00:34:32 -0000 1.15 @@ -70,7 +70,7 @@ if($value =~ s/^\"(.*)\"\s*$/$1/g) { # Skip voice-only entries - if(!$value && $set{'voice'} ne "\"\"") { + if($set{'id'} =~ /^VOICE_/) { $idnum{$set{'id'}} = '_done_'; next; } Index: genlang =================================================================== RCS file: /cvsroot/rockbox/tools/genlang,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- genlang 19 Jan 2005 21:43:15 -0000 1.16 +++ genlang 31 Jan 2005 00:34:32 -0000 1.17 @@ -85,7 +85,7 @@ # print "VOICE: ".$set{'voice'}." VALUE: $value\n"; # Note: if both entries are "", the string is deprecated, # but must be included to maintain compatibility - if(($value eq "\"\"") && $set{'voice'} ne "\"\"") { + if($set{'id'} =~ /^VOICE_/) { # voice-only push @vfile, $set{'id'}; } _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox-cvs |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | amiconn: apps/lang english.lang,1.142,1.143 deutsch.lang,1.59,1.60: 00243, cvs |
|---|---|
| Next by Date: | amiconn: apps/lang english.lang,1.143,1.144 deutsch.lang,1.60,1.61: 00243, cvs |
| Previous by Thread: | amiconn: apps/lang english.lang,1.142,1.143 deutsch.lang,1.59,1.60i: 00243, cvs |
| Next by Thread: | amiconn: apps/lang english.lang,1.143,1.144 deutsch.lang,1.60,1.61: 00243, cvs |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |