Ignore:
Timestamp:
2018-06-04T19:26:14+02:00 (6 years ago)
Author:
biswesh
Message:

change i18n strings

Location:
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/CreatePlatformNodeThroughReplaceAction.java

    r34233 r34251  
    5454        public CreatePlatformNodeThroughReplaceAction() {
    5555                super(ACTION_NAME, null, ACTION_NAME,
    56                                 Shortcut.registerShortcut("system:CreatePlatformNodeThroughReplaceAction",
    57                                                 tr("Edit: {0}", tr("CreatePlatformNodeThroughReplaceAction")), KeyEvent.VK_G, Shortcut.SHIFT),
     56                                Shortcut.registerShortcut("tools:createplatformthruoghreplace",
     57                                                "Tool: CreatePlatformNodeThroughReplaceAction", KeyEvent.VK_G, Shortcut.SHIFT),
    5858                                false);
    5959                transferHandler = new OsmTransferHandler();
    6060                MainApplication.registerActionShortcut(this,
    61                                 Shortcut.registerShortcut("system:CreatePlatformNodeThroughReplaceAction",
    62                                                 tr("Edit: {0}", tr("CreatePlatformNodeThroughReplaceAction")), KeyEvent.VK_G, Shortcut.SHIFT));
     61                                Shortcut.registerShortcut("tools:createplatformthruoghreplace",
     62                                                "Tool: CreatePlatformNodeThroughReplaceAction", KeyEvent.VK_G, Shortcut.SHIFT));
    6363        }
    6464
  • applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/CreatePlatformShortcutAction.java

    r34232 r34251  
    5353     */
    5454    public CreatePlatformShortcutAction() {
    55         super(ACTION_NAME, null, ACTION_NAME, Shortcut.registerShortcut("system:CreatePlatformShortcutAction", tr("Edit: {0}", tr("CreatePlatformNodeShortcut")), KeyEvent.VK_G, Shortcut.CTRL), false);
     55        super(ACTION_NAME, null, ACTION_NAME, Shortcut.registerShortcut("tools:createplatformshortcut", "Tool: CreatePlatformNodeShortcut", KeyEvent.VK_G, Shortcut.CTRL), false);
    5656        transferHandler = new OsmTransferHandler();
    5757        MainApplication.registerActionShortcut(this,
    58                         Shortcut.registerShortcut("system:CreatePlatformShortcutAction", tr("Edit: {0}", tr("CreatePlatformNodeShortcut")), KeyEvent.VK_G, Shortcut.CTRL));
     58                        Shortcut.registerShortcut("tools:createplatformshortcut", "Tool: CreatePlatformNodeShortcut", KeyEvent.VK_G, Shortcut.CTRL));
    5959    }
    6060
  • applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/ExtractPlatformNodeAction.java

    r34231 r34251  
    4343        public ExtractPlatformNodeAction() {
    4444                super(tr("Extract platform node"), null, tr("Extracts platform node from a node"), Shortcut.registerShortcut(
    45                                 "tools:extnode", tr("Tool: {0}", "Extract platform node"), KeyEvent.VK_G, Shortcut.ALT_CTRL), false);
     45                                "tools:extplatformnode", "Tool: Extract platform node", KeyEvent.VK_G, Shortcut.ALT_CTRL), false);
    4646                putValue("help", ht("/Action/ExtractPlatformNode"));
    47                 MainApplication.registerActionShortcut(this, Shortcut.registerShortcut("system:ExtractPlatformNodeAction",
    48                                 tr("Edit: {0}", tr("ExtractPlatformNodeAction")), KeyEvent.VK_G, Shortcut.ALT_CTRL));
     47                MainApplication.registerActionShortcut(this, Shortcut.registerShortcut("tools:extplatformnode",
     48                                "Tool: ExtractPlatformNodeAction", KeyEvent.VK_G, Shortcut.ALT_CTRL));
    4949        }
    5050
Note: See TracChangeset for help on using the changeset viewer.