Ignore:
Timestamp:
2020-10-13T20:21:52+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #19851 - Fix shortcut names

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
42 edited

Legend:

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

    r16904 r17188  
    6363    public AboutAction() {
    6464        super(tr("About"), "logo", tr("Display the about screen."),
    65             Shortcut.registerShortcut("system:about", tr("About"),
     65            Shortcut.registerShortcut("system:about", tr("Help: {0}", tr("About")),
    6666            KeyEvent.VK_F1, Shortcut.SHIFT), true, false);
    6767    }
  • trunk/src/org/openstreetmap/josm/actions/AddNodeAction.java

    r16509 r17188  
    3535    public AddNodeAction() {
    3636        super(tr("Add Node..."), "addnode", tr("Add a node by entering latitude / longitude or easting / northing."),
    37                 Shortcut.registerShortcut("addnode", tr("Edit: {0}", tr("Add Node...")),
     37                Shortcut.registerShortcut("addnode", tr("Tools: {0}", tr("Add Node...")),
    3838                        KeyEvent.VK_D, Shortcut.SHIFT), true);
    3939        setHelpId(ht("/Action/AddNode"));
  • trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java

    r17138 r17188  
    4949    public AlignInCircleAction() {
    5050        super(tr("Align Nodes in Circle"), "aligncircle", tr("Move the selected nodes into a circle."),
    51                 Shortcut.registerShortcut("tools:aligncircle", tr("Tool: {0}", tr("Align Nodes in Circle")),
     51                Shortcut.registerShortcut("tools:aligncircle", tr("Tools: {0}", tr("Align Nodes in Circle")),
    5252                        KeyEvent.VK_O, Shortcut.DIRECT), true);
    5353        setHelpId(ht("/Action/AlignInCircle"));
  • trunk/src/org/openstreetmap/josm/actions/AlignInLineAction.java

    r16913 r17188  
    5656    public AlignInLineAction() {
    5757        super(tr("Align Nodes in Line"), "alignline", tr("Move the selected nodes in to a line."),
    58                 Shortcut.registerShortcut("tools:alignline", tr("Tool: {0}", tr("Align Nodes in Line")), KeyEvent.VK_L, Shortcut.DIRECT), true);
     58                Shortcut.registerShortcut("tools:alignline", tr("Tools: {0}", tr("Align Nodes in Line")), KeyEvent.VK_L, Shortcut.DIRECT), true);
    5959        setHelpId(ht("/Action/AlignInLine"));
    6060    }
  • trunk/src/org/openstreetmap/josm/actions/ChangesetManagerToggleAction.java

    r16522 r17188  
    3030                tr("Toggle visibility of Changeset Manager window"),
    3131                Shortcut.registerShortcut("menu:windows:changesetdialog",
    32                         tr("Toggle visibility of Changeset Manager window"), KeyEvent.VK_C, Shortcut.ALT_CTRL),
     32                        tr("Windows: {0}", tr("Changeset Manager")), KeyEvent.VK_C, Shortcut.ALT_CTRL),
    3333                true /* register shortcut */, "dialogs/changeset/changesetmanager", false);
    3434        notifySelectedState();
  • trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java

    r16732 r17188  
    6464    public CombineWayAction() {
    6565        super(tr("Combine Way"), "combineway", tr("Combine several ways into one."),
    66                 Shortcut.registerShortcut("tools:combineway", tr("Tool: {0}", tr("Combine Way")), KeyEvent.VK_C, Shortcut.DIRECT), true);
     66                Shortcut.registerShortcut("tools:combineway", tr("Tools: {0}", tr("Combine Way")), KeyEvent.VK_C, Shortcut.DIRECT), true);
    6767        setHelpId(ht("/Action/CombineWay"));
    6868    }
  • trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java

    r17110 r17188  
    5858    public CreateCircleAction() {
    5959        super(tr("Create Circle"), "aligncircle", tr("Create a circle from three selected nodes."),
    60             Shortcut.registerShortcut("tools:createcircle", tr("Tool: {0}", tr("Create Circle")),
     60            Shortcut.registerShortcut("tools:createcircle", tr("Tools: {0}", tr("Create Circle")),
    6161            KeyEvent.VK_O, Shortcut.SHIFT), true, "createcircle", true);
    6262        setHelpId(ht("/Action/CreateCircle"));
  • trunk/src/org/openstreetmap/josm/actions/CreateMultipolygonAction.java

    r17033 r17188  
    8484                /* at least three lines for each shortcut or the server extractor fails */
    8585                update ? Shortcut.registerShortcut("tools:multipoly_update",
    86                             tr("Tool: {0}", getName(true)),
     86                            tr("Tools: {0}", getName(true)),
    8787                            KeyEvent.VK_B, Shortcut.CTRL_SHIFT)
    8888                       : Shortcut.registerShortcut("tools:multipoly_create",
    89                             tr("Tool: {0}", getName(false)),
     89                            tr("Tools: {0}", getName(false)),
    9090                            KeyEvent.VK_B, Shortcut.CTRL),
    9191                true, update ? "multipoly_update" : "multipoly_create", true);
  • trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java

    r17018 r17188  
    3131              new ImageProvider("dialogs/dialogs_panel"),
    3232              tr("Toggle dialogs panel, maximize mapview"),
    33               Shortcut.registerShortcut("menu:view:dialogspanel", tr("Toggle dialogs panel"), KeyEvent.VK_TAB, Shortcut.DIRECT),
     33              Shortcut.registerShortcut("menu:view:dialogspanel", tr("View: {0}", tr("Dialogs panel")), KeyEvent.VK_TAB, Shortcut.DIRECT),
    3434              true, "dialogspanel", /* register in toolbar */
    3535              false
  • trunk/src/org/openstreetmap/josm/actions/DistributeAction.java

    r16467 r17188  
    4040        super(tr("Distribute Nodes"), "distribute",
    4141              tr("Distribute the selected nodes to equal distances along a line."),
    42               Shortcut.registerShortcut("tools:distribute", tr("Tool: {0}", tr("Distribute Nodes")), KeyEvent.VK_B, Shortcut.SHIFT),
     42              Shortcut.registerShortcut("tools:distribute", tr("Tools: {0}", tr("Distribute Nodes")), KeyEvent.VK_B, Shortcut.SHIFT),
    4343              true);
    4444        setHelpId(ht("/Action/DistributeNodes"));
  • trunk/src/org/openstreetmap/josm/actions/ExitAction.java

    r16505 r17188  
    2222    public ExitAction() {
    2323        super(tr("Exit"), "exit", tr("Exit the application."),
    24                 Shortcut.registerShortcut("system:menuexit", tr("Exit"), KeyEvent.VK_Q, Shortcut.CTRL), true, false);
     24                Shortcut.registerShortcut("system:menuexit", tr("File: {0}", tr("Exit")), KeyEvent.VK_Q, Shortcut.CTRL), true, false);
    2525        setHelpId(ht("/Action/Exit"));
    2626    }
  • trunk/src/org/openstreetmap/josm/actions/FollowLineAction.java

    r17141 r17188  
    4646                tr("Continues drawing a line that shares nodes with another line."),
    4747                Shortcut.registerShortcut("tools:followline", tr(
    48                 "Tool: {0}", tr("Follow")),
     48                "Tools: {0}", tr("Follow")),
    4949                KeyEvent.VK_F, Shortcut.DIRECT), true);
    5050    }
  • trunk/src/org/openstreetmap/josm/actions/FullscreenToggleAction.java

    r17018 r17188  
    4141              new ImageProvider("fullscreen"),
    4242              tr("Toggle fullscreen view"),
    43               Shortcut.registerShortcut("menu:view:fullscreen", tr("Toggle fullscreen view"), KeyEvent.VK_F11, Shortcut.DIRECT),
     43              Shortcut.registerShortcut("menu:view:fullscreen", tr("View: {0}", tr("Fullscreen view")), KeyEvent.VK_F11, Shortcut.DIRECT),
    4444              false /* register */, null, false
    4545        );
  • trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java

    r16509 r17188  
    3535    public GpxExportAction() {
    3636        super(tr("Export to GPX..."), "exportgpx", tr("Export the data to GPX file."),
    37                 Shortcut.registerShortcut("file:exportgpx", tr("Export to GPX..."), KeyEvent.VK_E, Shortcut.CTRL));
     37                Shortcut.registerShortcut("file:exportgpx", tr("File: {0}", tr("Export to GPX...")), KeyEvent.VK_E, Shortcut.CTRL));
    3838        setHelpId(ht("/Action/GpxExport"));
    3939    }
  • trunk/src/org/openstreetmap/josm/actions/HelpAction.java

    r16509 r17188  
    3434    private HelpAction(boolean shortcut) {
    3535        super(tr("Help"), "help", null,
    36                 shortcut ? Shortcut.registerShortcut("system:help", tr("Help"), KeyEvent.VK_F1, Shortcut.DIRECT) : null,
     36                shortcut ? Shortcut.registerShortcut("system:help", tr("Help: {0}", tr("Help")), KeyEvent.VK_F1, Shortcut.DIRECT) : null,
    3737                true, false);
    3838        setEnabled(!NetworkManager.isOffline(OnlineResource.JOSM_WEBSITE));
  • trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java

    r16512 r17188  
    3030
    3131    /** Action shortcut, made public in order to be used from {@code GettingStarted} page. */
    32     public static final Shortcut SHORTCUT = Shortcut.registerShortcut("core:historyinfo", tr("History"), KeyEvent.VK_H, Shortcut.CTRL);
     32    public static final Shortcut SHORTCUT = Shortcut.registerShortcut("core:historyinfo", tr("View: {0}", tr("History")),
     33        KeyEvent.VK_H, Shortcut.CTRL);
    3334
    3435    /**
  • trunk/src/org/openstreetmap/josm/actions/HistoryInfoWebAction.java

    r14397 r17188  
    2525                tr("Display history information about OSM ways, nodes, or relations in web browser."),
    2626                Shortcut.registerShortcut("core:historyinfoweb",
    27                         tr("History (web)"), KeyEvent.VK_H, Shortcut.CTRL_SHIFT),
     27                        tr("View: {0}", tr("History (web)")), KeyEvent.VK_H, Shortcut.CTRL_SHIFT),
    2828                true, "action/historyinfoweb", true);
    2929        setHelpId(ht("/Action/ObjectHistoryWeb"));
  • trunk/src/org/openstreetmap/josm/actions/InfoAction.java

    r14397 r17188  
    2727            tr("Display advanced object information about OSM nodes, ways, or relations."),
    2828            Shortcut.registerShortcut("core:info",
    29                 tr("Advanced info"), KeyEvent.VK_I, Shortcut.CTRL),
     29                tr("View: {0}", tr("Advanced info")), KeyEvent.VK_I, Shortcut.CTRL),
    3030            true, "action/info", true);
    3131        setHelpId(ht("/Action/InfoAboutElements"));
  • trunk/src/org/openstreetmap/josm/actions/InfoWebAction.java

    r14397 r17188  
    2929                tr("Display object information about OSM nodes, ways, or relations in web browser."),
    3030                Shortcut.registerShortcut("core:infoweb",
    31                         tr("Advanced info (web)"), KeyEvent.VK_I, Shortcut.CTRL_SHIFT),
     31                        tr("View: {0}", tr("Advanced info (web)")), KeyEvent.VK_I, Shortcut.CTRL_SHIFT),
    3232                true, "action/infoweb", true);
    3333        setHelpId(ht("/Action/InfoAboutElementsWeb"));
  • trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java

    r17167 r17188  
    469469    public JoinAreasAction(boolean addShortcutToolbarAdapters) {
    470470        super(tr("Join overlapping Areas"), "joinareas", tr("Joins areas that overlap each other"), addShortcutToolbarAdapters ?
    471         Shortcut.registerShortcut("tools:joinareas", tr("Tool: {0}", tr("Join overlapping Areas")), KeyEvent.VK_J, Shortcut.SHIFT)
     471        Shortcut.registerShortcut("tools:joinareas", tr("Tools: {0}", tr("Join overlapping Areas")), KeyEvent.VK_J, Shortcut.SHIFT)
    472472        : null, addShortcutToolbarAdapters, null, addShortcutToolbarAdapters);
    473473        addUndoRedo = addShortcutToolbarAdapters;
  • trunk/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java

    r17141 r17188  
    6767                tr("Join Node to Way"), /* ICON */ "joinnodeway",
    6868                tr("Include a node into the nearest way segments"),
    69                 Shortcut.registerShortcut("tools:joinnodeway", tr("Tool: {0}", tr("Join Node to Way")),
     69                Shortcut.registerShortcut("tools:joinnodeway", tr("Tools: {0}", tr("Join Node to Way")),
    7070                        KeyEvent.VK_J, Shortcut.DIRECT), true);
    7171        action.setHelpId(ht("/Action/JoinNodeWay"));
     
    8181                tr("Move Node onto Way"), /* ICON*/ "movenodeontoway",
    8282                tr("Move the node onto the nearest way segments and include it"),
    83                 Shortcut.registerShortcut("tools:movenodeontoway", tr("Tool: {0}", tr("Move Node onto Way")),
     83                Shortcut.registerShortcut("tools:movenodeontoway", tr("Tools: {0}", tr("Move Node onto Way")),
    8484                        KeyEvent.VK_N, Shortcut.DIRECT), true);
    8585        action.setHelpId(ht("/Action/MoveNodeWay"));
  • trunk/src/org/openstreetmap/josm/actions/JumpToAction.java

    r17022 r17188  
    5454    public JumpToAction() {
    5555        super(tr("Jump to Position"), "dialogs/position", tr("Opens a dialog that allows to jump to a specific location"),
    56                 Shortcut.registerShortcut("tools:jumpto", tr("Tool: {0}", tr("Jump to Position")),
     56                Shortcut.registerShortcut("tools:jumpto", tr("View: {0}", tr("Jump to Position")),
    5757                        KeyEvent.VK_J, Shortcut.CTRL), true, "action/jumpto", false);
    5858        // make this action listen to mapframe change events
  • trunk/src/org/openstreetmap/josm/actions/MergeLayerAction.java

    r17003 r17188  
    4040            tr("Merge the current layer into another layer"),
    4141            Shortcut.registerShortcut("system:merge", tr("Edit: {0}",
    42             tr("Merge")), KeyEvent.VK_M, Shortcut.CTRL),
     42            tr("Merge layer")), KeyEvent.VK_M, Shortcut.CTRL),
    4343            true, "action/mergelayer", true);
    4444        setHelpId(ht("/Action/MergeLayer"));
  • trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java

    r16438 r17188  
    6868    public MergeNodesAction() {
    6969        super(tr("Merge Nodes"), "mergenodes", tr("Merge nodes into the oldest one."),
    70                 Shortcut.registerShortcut("tools:mergenodes", tr("Tool: {0}", tr("Merge Nodes")), KeyEvent.VK_M, Shortcut.DIRECT), true);
     70                Shortcut.registerShortcut("tools:mergenodes", tr("Tools: {0}", tr("Merge Nodes")), KeyEvent.VK_M, Shortcut.DIRECT), true);
    7171        setHelpId(ht("/Action/MergeNodes"));
    7272    }
  • trunk/src/org/openstreetmap/josm/actions/MirrorAction.java

    r16438 r17188  
    3838    public MirrorAction() {
    3939        super(tr("Mirror"), "mirror", tr("Mirror selected nodes and ways."),
    40                 Shortcut.registerShortcut("tools:mirror", tr("Tool: {0}", tr("Mirror")),
     40                Shortcut.registerShortcut("tools:mirror", tr("Tools: {0}", tr("Mirror")),
    4141                        KeyEvent.VK_M, Shortcut.SHIFT), true);
    4242        setHelpId(ht("/Action/Mirror"));
  • trunk/src/org/openstreetmap/josm/actions/MoveNodeAction.java

    r15023 r17188  
    3030    public MoveNodeAction() {
    3131        super(tr("Move Node..."), "movenode", tr("Edit latitude and longitude of a node."),
    32                 Shortcut.registerShortcut("movenode", tr("Edit: {0}", tr("Move Node...")),
     32                Shortcut.registerShortcut("movenode", tr("Tools: {0}", tr("Move Node...")),
    3333                        KeyEvent.VK_M, Shortcut.NONE), true);
    3434        setHelpId(ht("/Action/MoveNode"));
  • trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java

    r16438 r17188  
    6464                "ortho",
    6565                tr("Move nodes so all angles are 90 or 180 degrees"),
    66                 Shortcut.registerShortcut("tools:orthogonalize", tr("Tool: {0}", tr("Orthogonalize Shape")),
     66                Shortcut.registerShortcut("tools:orthogonalize", tr("Tools: {0}", tr("Orthogonalize Shape")),
    6767                        KeyEvent.VK_Q,
    6868                        Shortcut.DIRECT), true);
     
    9999            super(tr("Orthogonalize Shape / Undo"), "ortho",
    100100                    tr("Undo orthogonalization for certain nodes"),
    101                     Shortcut.registerShortcut("tools:orthogonalizeUndo", tr("Tool: {0}", tr("Orthogonalize Shape / Undo")),
     101                    Shortcut.registerShortcut("tools:orthogonalizeUndo", tr("Orthogonalize Shape / Undo"),
    102102                            KeyEvent.VK_Q,
    103103                            Shortcut.SHIFT),
  • trunk/src/org/openstreetmap/josm/actions/PreferencesAction.java

    r17097 r17188  
    9090    public PreferencesAction() {
    9191        super(tr("Preferences..."), "preference", tr("Open a preferences dialog for global settings."),
    92                 Shortcut.registerShortcut("system:preferences", tr("Preferences"), KeyEvent.VK_F12, Shortcut.DIRECT), true, false);
     92                Shortcut.registerShortcut("system:preferences", tr("Edit: {0}", tr("Preferences")), KeyEvent.VK_F12, Shortcut.DIRECT),
     93                true, false);
    9394        setHelpId(ht("/Action/Preferences"));
    9495        this.tab = null;
  • trunk/src/org/openstreetmap/josm/actions/ReorderImageryLayersAction.java

    r16509 r17188  
    2424    public ReorderImageryLayersAction() {
    2525        super(tr("Reorder imagery layers"), "dialogs/reorderlayers", tr("Reorders non-overlay imagery layers."),
    26             Shortcut.registerMultiShortcuts("imagery:reorder", tr("Reorder imagery layers"),
     26            Shortcut.registerMultiShortcuts("imagery:reorder", tr("Imagery: {0}", tr("Reorder imagery layers")),
    2727                    KeyboardUtils.getCharactersForKey('E', 0), Shortcut.DIRECT));
    2828    }
  • trunk/src/org/openstreetmap/josm/actions/ReportBugAction.java

    r16509 r17188  
    3131    public ReportBugAction(String text) {
    3232        super(tr("Report bug"), "bug", tr("Report a ticket to JOSM bugtracker"),
    33                 Shortcut.registerShortcut("reportbug", tr("Report a ticket to JOSM bugtracker"),
     33                Shortcut.registerShortcut("reportbug", tr("Help: {0}", tr("Report bug")),
    3434                        KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), true, false);
    3535        this.text = text;
  • trunk/src/org/openstreetmap/josm/actions/ReverseWayAction.java

    r16630 r17188  
    106106    public ReverseWayAction() {
    107107        super(tr("Reverse Ways"), "wayflip", tr("Reverse the direction of all selected ways."),
    108                 Shortcut.registerShortcut("tools:reverse", tr("Tool: {0}", tr("Reverse Ways")), KeyEvent.VK_R, Shortcut.DIRECT), true);
     108                Shortcut.registerShortcut("tools:reverse", tr("Tools: {0}", tr("Reverse Ways")), KeyEvent.VK_R, Shortcut.DIRECT), true);
    109109        setHelpId(ht("/Action/ReverseWays"));
    110110    }
  • trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java

    r17110 r17188  
    6565    public SimplifyWayAction() {
    6666        super(tr("Simplify Way"), "simplify", tr("Delete unnecessary nodes from a way."),
    67                 Shortcut.registerShortcut("tools:simplify", tr("Tool: {0}", tr("Simplify Way")), KeyEvent.VK_Y, Shortcut.SHIFT), true);
     67                Shortcut.registerShortcut("tools:simplify", tr("Tools: {0}", tr("Simplify Way")), KeyEvent.VK_Y, Shortcut.SHIFT), true);
    6868        setHelpId(ht("/Action/SimplifyWay"));
    6969    }
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r15943 r17188  
    5656    public SplitWayAction() {
    5757        super(tr("Split Way"), "splitway", tr("Split a way at the selected node."),
    58                 Shortcut.registerShortcut("tools:splitway", tr("Tool: {0}", tr("Split Way")), KeyEvent.VK_P, Shortcut.DIRECT), true);
     58                Shortcut.registerShortcut("tools:splitway", tr("Tools: {0}", tr("Split Way")), KeyEvent.VK_P, Shortcut.DIRECT), true);
    5959        setHelpId(ht("/Action/SplitWay"));
    6060    }
  • trunk/src/org/openstreetmap/josm/actions/TaggingPresetSearchAction.java

    r16509 r17188  
    2323    public TaggingPresetSearchAction() {
    2424        super(tr("Search preset..."), "dialogs/search", tr("Show preset search dialog"),
    25                 Shortcut.registerShortcut("preset:search", tr("Search presets"), KeyEvent.VK_F3, Shortcut.DIRECT), false);
     25                Shortcut.registerShortcut("preset:search", tr("Presets: {0}", tr("Search preset...")), KeyEvent.VK_F3, Shortcut.DIRECT), false);
    2626        setToolbarId("presets/search");
    2727        MainApplication.getToolbar().register(this);
  • trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java

    r17187 r17188  
    6161    public UnGlueAction() {
    6262        super(tr("UnGlue Ways"), "unglueways", tr("Duplicate nodes that are used by multiple ways."),
    63                 Shortcut.registerShortcut("tools:unglue", tr("Tool: {0}", tr("UnGlue Ways")), KeyEvent.VK_G, Shortcut.DIRECT), true);
     63                Shortcut.registerShortcut("tools:unglue", tr("Tools: {0}", tr("UnGlue Ways")), KeyEvent.VK_G, Shortcut.DIRECT), true);
    6464        setHelpId(ht("/Action/UnGlue"));
    6565    }
  • trunk/src/org/openstreetmap/josm/actions/UnJoinNodeWayAction.java

    r16438 r17188  
    3939                tr("Disconnect nodes from a way they currently belong to"),
    4040                Shortcut.registerShortcut("tools:unjoinnodeway",
    41                     tr("Tool: {0}", tr("Disconnect Node from Way")), KeyEvent.VK_J, Shortcut.ALT), true);
     41                    tr("Tools: {0}", tr("Disconnect Node from Way")), KeyEvent.VK_J, Shortcut.ALT), true);
    4242        setHelpId(ht("/Action/UnJoinNodeWay"));
    4343    }
  • trunk/src/org/openstreetmap/josm/actions/ValidateAction.java

    r16227 r17188  
    4545    public ValidateAction() {
    4646        super(tr("Validation"), "dialogs/validator", tr("Performs the data validation"),
    47                 Shortcut.registerShortcut("tools:validate", tr("Tool: {0}", tr("Validation")),
     47                Shortcut.registerShortcut("tools:validate", tr("Validation"),
    4848                        KeyEvent.VK_V, Shortcut.SHIFT), true);
    4949    }
  • trunk/src/org/openstreetmap/josm/actions/ViewportFollowToggleAction.java

    r16509 r17188  
    3232              "viewport-follow",
    3333              tr("Enable/disable automatic moving of the map view to last placed node"),
    34               Shortcut.registerShortcut("menu:view:viewportfollow", tr("Toggle Viewport Following"),
     34              Shortcut.registerShortcut("menu:view:viewportfollow", tr("View: {0}", tr("Viewport Following")),
    3535              KeyEvent.VK_F, Shortcut.CTRL_SHIFT),
    3636              true /* register shortcut */
  • trunk/src/org/openstreetmap/josm/actions/WireframeToggleAction.java

    r17018 r17188  
    2727              "dialogs/mappaint/wireframe_small",
    2828              tr("Enable/disable rendering the map as wireframe only"),
    29               Shortcut.registerShortcut("menu:view:wireframe", tr("Toggle Wireframe view"), KeyEvent.VK_W, Shortcut.CTRL),
     29              Shortcut.registerShortcut("menu:view:wireframe", tr("View: {0}", tr("Wireframe View")), KeyEvent.VK_W, Shortcut.CTRL),
    3030              false /* register toolbar */
    3131        );
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java

    r17143 r17188  
    172172
    173173        snappingShortcut = Shortcut.registerShortcut("mapmode:drawanglesnapping",
    174                 tr("Mode: Draw Angle snapping"), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE);
     174                tr("Edit: {0}", tr("Draw Angle snapping")), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE);
    175175        snapChangeAction = new SnapChangeAction();
    176176        snapCheckboxMenuItem = addMenuItem();
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java

    r17184 r17188  
    232232        dualAlignCheckboxMenuItem.setState(dualAlignEnabled);
    233233        dualAlignShortcut = Shortcut.registerShortcut("mapmode:extrudedualalign",
    234                 tr("Mode: {0}", tr("Extrude Dual alignment")), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE);
     234                tr("Edit: {0}", tr("Extrude Dual alignment")), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE);
    235235        readPreferences(); // to show prefernces in table before entering the mode
    236236    }
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r16509 r17188  
    144144    public SearchAction() {
    145145        super(tr("Search..."), "dialogs/search", tr("Search for objects"),
    146                 Shortcut.registerShortcut("system:find", tr("Search..."), KeyEvent.VK_F, Shortcut.CTRL), true);
     146                Shortcut.registerShortcut("system:find", tr("Edit: {0}", tr("Search...")), KeyEvent.VK_F, Shortcut.CTRL), true);
    147147        setHelpId(ht("/Action/Search"));
    148148    }
Note: See TracChangeset for help on using the changeset viewer.