Changeset 36396 in osm for applications/editors
- Timestamp:
- 2025-02-20T17:19:15+01:00 (4 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/convpreset.pl
r36395 r36396 38 38 $r .= " chunk $chunk" if $chunk; 39 39 $r .= " group $group" if $group; 40 $r .= " combo$combo_type $combo_n" if $combo_type;40 $r .= " $combo_type $combo_n" if $combo_type; 41 41 $r .= " $_[0]" if $_[0]; 42 42 return $r ? "/* $r */ " : ""; … … 154 154 # text 155 155 my $tctx = ($line =~ /text_context=(".*?")/) ? $1 : undef; 156 print infoblock( "$type $n") . ($tctx ? " trc($tctx, $n);" : " tr($n);");156 print infoblock() . ($tctx ? " trc($tctx, $n);" : " tr($n);"); 157 157 # display_values / values 158 158 my $sp = ($line =~ /delimiter="(.*?)"/) ? $1 : ($type eq "combo" ? ",":";"); … … 166 166 next if $val =~ /^[0-9-]+$/; # search for non-numbers 167 167 $val = fix($val); 168 print infoblock(" $type $ndisplay value") . ($vctx ? " trc($vctx, \"$val\");" : " tr(\"$val\");");168 print infoblock("display value") . ($vctx ? " trc($vctx, \"$val\");" : " tr(\"$val\");"); 169 169 } 170 170 }
Note:
See TracChangeset
for help on using the changeset viewer.