Ignore:
Timestamp:
2011-06-23T17:50:32+02:00 (13 years ago)
Author:
stoecker
Message:

fix i18n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/public_transport/src/public_transport/SettingsStoptypeCommand.java

    r23192 r26168  
    11package public_transport;
     2
     3import static org.openstreetmap.josm.tools.I18n.tr;
    24
    35import org.openstreetmap.josm.Main;
     
    4749      if ((Node)waypointTM.nodes.elementAt(i) != null)
    4850      {
    49     Node node = (Node)waypointTM.nodes.elementAt(i);
    50     oldStrings.add(new HighwayRailway(node));
    51     StopImporterAction.setTagsWrtType(node, type);
     51        Node node = (Node)waypointTM.nodes.elementAt(i);
     52        oldStrings.add(new HighwayRailway(node));
     53        StopImporterAction.setTagsWrtType(node, type);
    5254      }
    5355    }
     
    5759      for (int i = 0; i < track.stoplistTM.getRowCount(); ++i)
    5860      {
    59     if (track.stoplistTM.nodeAt(i) != null)
    60     {
    61       Node node = track.stoplistTM.nodeAt(i);
    62       oldStrings.add(new HighwayRailway(node));
    63       StopImporterAction.setTagsWrtType(node, type);
    64     }
     61        if (track.stoplistTM.nodeAt(i) != null)
     62        {
     63          Node node = track.stoplistTM.nodeAt(i);
     64          oldStrings.add(new HighwayRailway(node));
     65          StopImporterAction.setTagsWrtType(node, type);
     66        }
    6567      }
    6668    }
     
    8688  @Override public JLabel getDescription()
    8789  {
    88     return new JLabel("public_transport.Settings.ChangeStoptype");
     90    return new JLabel(tr("Public Transport: Change stop type"));
    8991  }
    9092
Note: See TracChangeset for help on using the changeset viewer.