Ignore:
Timestamp:
2012-04-12T13:42:54+02:00 (13 years ago)
Author:
simon04
Message:

JOSM/i18n: correct number of newlines in convpreset, test for existing URL in convwms

File:
1 edited

Legend:

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

    r28250 r28252  
    142142    {
    143143      my $val = fix($1);
    144       print "/* item $item $combo_type $combo_n entry $value display value */" . ($vctxi ? " trc($vctxi, $val);" : " tr($val);") . "\n";
     144      print "/* item $item $combo_type $combo_n entry $value display value */" . ($vctxi ? " trc($vctxi, $val);" : " tr($val);");
    145145    }
    146146    else
    147147    {
    148148      my $val = fix($value);
    149       print "/* item $item $combo_type $combo_n entry $value display value */" . ($vctxi ? " trc($vctxi, $val);" : " tr($val);") . "\n";
     149      print "/* item $item $combo_type $combo_n entry $value display value */" . ($vctxi ? " trc($vctxi, $val);" : " tr($val);");
    150150    }
    151151    if($line =~ /short_description=(".*?")/)
    152152    {
    153153      my $val = fix($1);
    154       print "/* item $item $combo_type $combo_n entry $value short description */ tr($val);\n";
    155     }
     154      print "/* item $item $combo_type $combo_n entry $value short description */ tr($val);";
     155    }
     156    print "\n";
    156157  }
    157158  elsif($line =~ /<\/group>/)
Note: See TracChangeset for help on using the changeset viewer.