Changeset 26589 in osm for applications/editors


Ignore:
Timestamp:
2011-08-29T15:34:14+02:00 (13 years ago)
Author:
stoecker
Message:

adapt to new file format

File:
1 edited

Legend:

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

    r25613 r26589  
    3131  $line =~ s/\r//g;
    3232  chomp($line);
    33   if($line =~ /^#(.*)$/)
     33  if($line =~ /<name>(.*)<\/name>/)
    3434  {
    35     print "/* $1 */\n";
    36   }
    37   elsif($line =~ /^$/)
    38   {
    39     print "\n";
    40   }
    41   elsif($line =~ /^(.*?);(.*?);(.*)$/)
    42   {
    43     print "/* $3 */ tr(\"$2\");\n";
     35    print "/* $line */ tr(\"$1\");\n";
    4436  }
    4537  else
Note: See TracChangeset for help on using the changeset viewer.