Ignore:
Timestamp:
2015-02-20T09:18:35+01:00 (11 years ago)
Author:
stoecker
Message:

add description

File:
1 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/convmaps.pl

    r31028 r31029  
    1616# Print a header to write valid Java code.  No line break,
    1717# so that the input and output line numbers will match.
    18 print "class trans_wms { void tr(String s){} void f() {";
     18print "class trans_maps { void tr(String s){} void f() {";
    1919
    2020my @lines;
     
    4141    print "tr(\"$val\"); /* $line */\n";
    4242  }
     43  if($line =~ /<description +lang=['"]en['"]>(.*)<\/description>/)
     44  {
     45    my $val = $1;
     46    $val =~ s/&amp;/&/g;
     47    print "tr(\"$val\"); /* $line */\n";
     48  }
    4349  elsif($line =~ /^[ \t]*$/)
    4450  {
Note: See TracChangeset for help on using the changeset viewer.