Changeset 28252 in osm for applications/editors/josm/i18n
- Timestamp:
- 2012-04-12T13:42:54+02:00 (13 years ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/convpreset.pl
r28250 r28252 142 142 { 143 143 my $val = fix($1); 144 print "/* item $item $combo_type $combo_n entry $value display value */" . ($vctxi ? " trc($vctxi, $val);" : " tr($val);") . "\n";144 print "/* item $item $combo_type $combo_n entry $value display value */" . ($vctxi ? " trc($vctxi, $val);" : " tr($val);"); 145 145 } 146 146 else 147 147 { 148 148 my $val = fix($value); 149 print "/* item $item $combo_type $combo_n entry $value display value */" . ($vctxi ? " trc($vctxi, $val);" : " tr($val);") . "\n";149 print "/* item $item $combo_type $combo_n entry $value display value */" . ($vctxi ? " trc($vctxi, $val);" : " tr($val);"); 150 150 } 151 151 if($line =~ /short_description=(".*?")/) 152 152 { 153 153 my $val = fix($1); 154 print "/* item $item $combo_type $combo_n entry $value short description */ tr($val);\n"; 155 } 154 print "/* item $item $combo_type $combo_n entry $value short description */ tr($val);"; 155 } 156 print "\n"; 156 157 } 157 158 elsif($line =~ /<\/group>/) -
applications/editors/josm/i18n/convwms.pl
r26939 r28252 21 21 if($ARGV[0] && $ARGV[0] =~ /^http:\/\//) 22 22 { 23 @lines = split("\r?\n", get($ARGV[0])); 23 my $content = get($ARGV[0]); 24 die "Couldn't get $ARGV[0]" unless defined $content; 25 @lines = split("\r?\n", $content); 24 26 } 25 27 else
Note:
See TracChangeset
for help on using the changeset viewer.