Ignore:
Timestamp:
2006-07-03T00:31:24+02:00 (18 years ago)
Author:
imi
Message:
  • started i18n
  • started "download incomplete ways" action
  • added straight line selection mode
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/mapmode/AddNodeAction.java

    r102 r104  
    11package org.openstreetmap.josm.actions.mapmode;
     2
     3import static org.openstreetmap.josm.tools.I18n.tr;
    24
    35import java.awt.Cursor;
     
    4244                public AddNodeGroup(MapFrame mf) {
    4345                        super(KeyEvent.VK_N,0);
    44                         actions.add(new AddNodeAction(mf, "Add node", Mode.node, "Add a new node to the map"));
    45                         actions.add(new AddNodeAction(mf, "Add node into segment", Mode.nodesegment, "Add a node into an existing segment"));
     46                        actions.add(new AddNodeAction(mf,tr("Add node"), Mode.node, tr("Add a new node to the map")));
     47                        actions.add(new AddNodeAction(mf, tr("Add node into segment"), Mode.nodesegment,tr( "Add a node into an existing segment")));
    4648                        setCurrent(0);
    4749                }
     
    7981                Node n = new Node(Main.map.mapView.getLatLon(e.getX(), e.getY()));
    8082                if (n.coor.isOutSideWorld()) {
    81                         JOptionPane.showMessageDialog(Main.parent, "Can not add a node outside of the world.");
     83                        JOptionPane.showMessageDialog(Main.parent,tr("Can not add a node outside of the world."));
    8284                        return;
    8385                }
     
    128130                        }
    129131
    130                         c = new SequenceCommand("Add Node into Segment", cmds);
     132                        c = new SequenceCommand(tr("Add Node into Segment"), cmds);
    131133                }
    132134                Main.main.editLayer().add(c);
Note: See TracChangeset for help on using the changeset viewer.