Changeset 31029 in osm for applications/editors/josm/i18n/convmaps.pl
- Timestamp:
- 2015-02-20T09:18:35+01:00 (11 years ago)
- File:
-
- 1 moved
-
applications/editors/josm/i18n/convmaps.pl (moved) (moved from applications/editors/josm/i18n/convwms.pl ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/convmaps.pl
r31028 r31029 16 16 # Print a header to write valid Java code. No line break, 17 17 # so that the input and output line numbers will match. 18 print "class trans_ wms { void tr(String s){} void f() {";18 print "class trans_maps { void tr(String s){} void f() {"; 19 19 20 20 my @lines; … … 41 41 print "tr(\"$val\"); /* $line */\n"; 42 42 } 43 if($line =~ /<description +lang=['"]en['"]>(.*)<\/description>/) 44 { 45 my $val = $1; 46 $val =~ s/&/&/g; 47 print "tr(\"$val\"); /* $line */\n"; 48 } 43 49 elsif($line =~ /^[ \t]*$/) 44 50 {
Note:
See TracChangeset
for help on using the changeset viewer.
