Changeset 15046 in josm


Ignore:
Timestamp:
2019-05-04T14:36:51+02:00 (7 months ago)
Author:
Don-vip
Message:

fix #17419 - Own labels for Select mode and Zoom mode buttons (patch by Hb---)

Location:
trunk/src/org/openstreetmap/josm/actions/mapmode
Files:
2 edited

Legend:

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

    r14960 r15046  
    191191     */
    192192    public SelectAction(MapFrame mapFrame) {
    193         super(tr("Select"), "move/move", tr("Select, move, scale and rotate objects"),
    194                 Shortcut.registerShortcut("mapmode:select", tr("Mode: {0}", tr("Select")), KeyEvent.VK_S, Shortcut.DIRECT),
     193        super(tr("Select mode"), "move/move", tr("Select, move, scale and rotate objects"),
     194                Shortcut.registerShortcut("mapmode:select", tr("Mode: {0}", tr("Select mode")), KeyEvent.VK_S, Shortcut.DIRECT),
    195195                ImageProvider.getCursor("normal", "selection"));
    196196        mv = mapFrame.mapView;
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ZoomAction.java

    r12630 r15046  
    4242     */
    4343    public ZoomAction(MapFrame mapFrame) {
    44         super(tr("Zoom"), "zoom", tr("Zoom and move map"),
    45                 Shortcut.registerShortcut("mapmode:zoom", tr("Mode: {0}", tr("Zoom")), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE),
     44        super(tr("Zoom mode"), "zoom", tr("Zoom and move map"),
     45                Shortcut.registerShortcut("mapmode:zoom", tr("Mode: {0}", tr("Zoom mode")), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE),
    4646                ImageProvider.getCursor("normal", "zoom"));
    4747        selectionManager = new SelectionManager(this, true, mapFrame.mapView);
Note: See TracChangeset for help on using the changeset viewer.