Changeset 8529 in osm for applications/editors/josm/plugins
- Timestamp:
- 2008-06-27T21:44:25+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/lang/convpreset.pl
r8497 r8529 38 38 print "tr($1) /* item $item check $1 */\n"; 39 39 } 40 elsif($line =~ /<combo.*text=(".*?") /)40 elsif($line =~ /<combo.*text=(".*?").*values="(.*?)"/) 41 41 { 42 print "tr($1) /* item $item combo $1 */\n"; 42 print "tr($1) /* item $item combo $1 */"; 43 foreach my $val (split ",",$2) 44 { 45 next if $val =~ /^[0-9-]+$/; # search for non-numbers 46 print " tr(\"$val\")"; 47 } 48 print "\n"; 43 49 } 44 50 elsif($line =~ /^\s*$/
Note:
See TracChangeset
for help on using the changeset viewer.