Changeset 31111 in osm for applications/editors/josm/i18n/convpreset.pl
- Timestamp:
- 2015-05-02T15:15:29+02:00 (11 years ago)
- File:
-
- 1 edited
-
applications/editors/josm/i18n/convpreset.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/convpreset.pl
r31076 r31111 140 140 # display_values / values 141 141 my $sp = ($line =~ /delimiter="(.*?)"/) ? $1 : ($type eq "combo" ? ",":";"); 142 my $vals = ($line =~ /display_values="(.*?)"/) ? $1 : ($line =~ /values="(.*?)"/) ? $1 : undef; 142 my $vals = ($line =~ / display_values="(.*?)"/) ? $1 : ($line =~ /values="(.*?)"/) ? $1 : undef; 143 143 if($vals) 144 144 { … … 184 184 print "\n"; 185 185 } 186 elsif($line =~ /<\/ combo/)186 elsif($line =~ /<\/(combo|multiselect)/) 187 187 { 188 188 $combo_n = ""; … … 212 212 || $comment) 213 213 { 214 print "// $line\n"; 214 $line =~ s/[ \t]+((?:short)?description) *= *"([^"]+)/*\/ \/* $1 *\/ tr("$2"); \/*/g; 215 print "/* $line */\n"; 215 216 } 216 217 else
Note:
See TracChangeset
for help on using the changeset viewer.
