Changeset 13469 in osm


Ignore:
Timestamp:
2009-01-31T22:17:25+01:00 (16 years ago)
Author:
stoecker
Message:

added relations stuff

File:
1 edited

Legend:

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

    r13392 r13469  
    4949    print "tr($n); /* item $item check $n */\n";
    5050  }
     51  elsif($line =~ /<role.*text=(".*?")/)
     52  {
     53    my $n = $1;
     54    print "tr($n); /* item $item role $n */\n";
     55  }
    5156  # first handle display values
    5257  elsif($line =~ /<combo.*text=(".*?").*display_values="(.*?)"/)
     
    8287    print "\n";
    8388  }
     89  elsif(!$line)
     90  {
     91    print "\n";
     92  }
    8493  elsif($line =~ /^\s*$/
    8594     || $line =~ /<separator *\/>/
     
    8897     || $line =~ /<key/
    8998     || $line =~ /annotations/
     99     || $line =~ /roles/
     100     || $line =~ /href=/
    90101     || $line =~ /<!--/
    91102     || $line =~ /-->/
    92103     || $comment)
    93104  {
    94     print "\n";
     105    print "// $line\n";
    95106  }
    96107  else
Note: See TracChangeset for help on using the changeset viewer.