Changeset 25613 in osm for applications/editors
- Timestamp:
- 2011-03-18T10:27:48+01:00 (14 years ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/build.xml
r25155 r25613 6 6 <property name="josm.style" value="${josm.build.dir}/styles/standard/elemstyles.xml"/> 7 7 <property name="plugin.dir" value="../plugins"/> 8 <property name="validator.tagfile" value="${ plugin.dir}/validator/tagchecker.cfg"/>9 <property name="wms.srcfile" value=" ${plugin.dir}/wmsplugin/sources.cfg"/>8 <property name="validator.tagfile" value="${josm.build.dir}/data/tagchecker.cfg"/> 9 <property name="wms.srcfile" value="http://josm.openstreetmap.de/maps"/> 10 10 <property name="surveyor.srcfile" value="${plugin.dir}/surveyor/resources/surveyor.xml"/> 11 11 <property name="i18n.build.dir" value="build"/> -
applications/editors/josm/i18n/convwms.pl
r23091 r25613 5 5 6 6 use strict; 7 use LWP::Simple; 7 8 8 9 my $item; … … 16 17 print "class trans_wms { void tr(String s){} void f() {"; 17 18 18 while(my $line = <>) 19 my @lines; 20 if($ARGV[0] && $ARGV[0] =~ /^http:\/\//) 19 21 { 22 @lines = split("\r?\n", get($ARGV[0])); 23 } 24 else 25 { 26 @lines = <>; 27 } 28 29 for my $line (@lines) 30 { 31 $line =~ s/\r//g; 20 32 chomp($line); 21 33 if($line =~ /^#(.*)$/)
Note:
See TracChangeset
for help on using the changeset viewer.