Changeset 16090 in josm for trunk/src


Ignore:
Timestamp:
2020-03-08T20:20:36+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #18638 - add consistency in action UI descriptions (patch by taylor.smock)

Location:
trunk/src/org/openstreetmap/josm/gui/dialogs/layer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/layer/CycleLayerDownAction.java

    r15923 r16090  
    2828    private static final long serialVersionUID = 1L;
    2929    private static final Shortcut cycleDown =
    30             Shortcut.registerShortcut("core:cyclelayerdown", tr("Cycle layers down"), KeyEvent.VK_CLOSE_BRACKET, Shortcut.SHIFT);
     30            Shortcut.registerShortcut("core:cyclelayerdown", tr("Cycle layer down"), KeyEvent.VK_CLOSE_BRACKET, Shortcut.SHIFT);
    3131
    3232    /**
     
    3434     */
    3535    public CycleLayerDownAction() {
    36         super(tr("Cycle layers"), "dialogs/next", tr("Cycle through layers"), cycleDown, true, "cycle-layer", false);
    37         new ImageProvider("dialogs", "next").getResource().attachImageIcon(this, true);
     36        super(tr("Cycle layer down"), "dialogs/previous", tr("Cycle through data layers in a downward direction"), cycleDown, true, "cycle-layer-down", false);
     37        new ImageProvider("dialogs", "previous").getResource().attachImageIcon(this, true);
    3838        putValue(SHORT_DESCRIPTION, tr("Cycle through visible layers."));
    3939        putValue(NAME, tr("Cycle layers"));
  • trunk/src/org/openstreetmap/josm/gui/dialogs/layer/CycleLayerUpAction.java

    r15923 r16090  
    2626    private static final long serialVersionUID = 1L;
    2727    private static final Shortcut cycleUp =
    28             Shortcut.registerShortcut("core:cyclelayerup", tr("Cycle layers up"), KeyEvent.VK_OPEN_BRACKET, Shortcut.SHIFT);
     28            Shortcut.registerShortcut("core:cyclelayerup", tr("Cycle layer up"), KeyEvent.VK_OPEN_BRACKET, Shortcut.SHIFT);
    2929
    3030    /**
     
    3232     */
    3333    public CycleLayerUpAction() {
    34         super(tr("Cycle layer up"), "dialogs/next", tr("Cycle up through layers"), cycleUp, true, "cycle-layer", false);
     34        super(tr("Cycle layer up"), "dialogs/next", tr("Cycle through data layers in an upward direction"), cycleUp, true, "cycle-layer-up", false);
    3535        new ImageProvider("dialogs", "next").getResource().attachImageIcon(this, true);
    3636        putValue(SHORT_DESCRIPTION, tr("Cycle through visible layers."));
Note: See TracChangeset for help on using the changeset viewer.