Changeset 24903 in osm for applications
- Timestamp:
- 2010-12-29T14:54:44+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/convpreset.pl
r24764 r24903 123 123 $combo_values[$i] =~ s/\x91/,/g; 124 124 next if $combo_values[$i] =~ /^[0-9-]+$/; # search for non-numbers 125 print $vctx ? " trc($vctx, \"$combo_values[$i]\");" : " tr(\"$combo_values[$i]\");";125 print "/* item $item combo $n display value */" . ($vctx ? " trc($vctx, \"$combo_values[$i]\");" : " tr(\"$combo_values[$i]\");"); 126 126 } 127 127 print "\n"; … … 145 145 { 146 146 next if $val =~ /^[0-9-]+$/; # search for non-numbers 147 print $vctx ? " trc($vctx, \"$val\");" : " tr(\"$val\");";148 } 149 print "\n"; 150 } 151 elsif( $line =~ /<short_description>(.*?)<\/short_description>/)147 print "/* item $item combo $n display value */" . ($vctx ? " trc($vctx, \"$val\");" : " tr(\"$val\");"); 148 } 149 print "\n"; 150 } 151 elsif(!$comment && $line =~ /<short_description>(.*?)<\/short_description>/) 152 152 { 153 153 my $n = $1;
Note:
See TracChangeset
for help on using the changeset viewer.