Changeset 30038 in osm
- Timestamp:
- 2013-11-03T11:54:08+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/convpreset.pl
r29999 r30038 136 136 print "/* item $item $type $n */" . ($tctx ? " trc($tctx, $n);" : " tr($n);"); 137 137 # display_values / values 138 my $sp = ($ type eq "combo" ? ",":";");138 my $sp = ($line =~ /delimiter="(.*?)"/) ? $1 : ($type eq "combo" ? ",":";"); 139 139 my $vals = ($line =~ /display_values="(.*?)"/) ? $1 : ($line =~ /values="(.*?)"/) ? $1 : undef; 140 140 if($vals) 141 141 { 142 my @combo_values = split $sp,$vals;142 my @combo_values = split "\Q$sp\E" ,$vals; 143 143 foreach my $val (@combo_values) 144 144 {
Note:
See TracChangeset
for help on using the changeset viewer.