Changeset 17188 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2020-10-13T20:21:52+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 42 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AboutAction.java
r16904 r17188 63 63 public AboutAction() { 64 64 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")), 66 66 KeyEvent.VK_F1, Shortcut.SHIFT), true, false); 67 67 } -
trunk/src/org/openstreetmap/josm/actions/AddNodeAction.java
r16509 r17188 35 35 public AddNodeAction() { 36 36 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...")), 38 38 KeyEvent.VK_D, Shortcut.SHIFT), true); 39 39 setHelpId(ht("/Action/AddNode")); -
trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
r17138 r17188 49 49 public AlignInCircleAction() { 50 50 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")), 52 52 KeyEvent.VK_O, Shortcut.DIRECT), true); 53 53 setHelpId(ht("/Action/AlignInCircle")); -
trunk/src/org/openstreetmap/josm/actions/AlignInLineAction.java
r16913 r17188 56 56 public AlignInLineAction() { 57 57 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); 59 59 setHelpId(ht("/Action/AlignInLine")); 60 60 } -
trunk/src/org/openstreetmap/josm/actions/ChangesetManagerToggleAction.java
r16522 r17188 30 30 tr("Toggle visibility of Changeset Manager window"), 31 31 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), 33 33 true /* register shortcut */, "dialogs/changeset/changesetmanager", false); 34 34 notifySelectedState(); -
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r16732 r17188 64 64 public CombineWayAction() { 65 65 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); 67 67 setHelpId(ht("/Action/CombineWay")); 68 68 } -
trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java
r17110 r17188 58 58 public CreateCircleAction() { 59 59 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")), 61 61 KeyEvent.VK_O, Shortcut.SHIFT), true, "createcircle", true); 62 62 setHelpId(ht("/Action/CreateCircle")); -
trunk/src/org/openstreetmap/josm/actions/CreateMultipolygonAction.java
r17033 r17188 84 84 /* at least three lines for each shortcut or the server extractor fails */ 85 85 update ? Shortcut.registerShortcut("tools:multipoly_update", 86 tr("Tool : {0}", getName(true)),86 tr("Tools: {0}", getName(true)), 87 87 KeyEvent.VK_B, Shortcut.CTRL_SHIFT) 88 88 : Shortcut.registerShortcut("tools:multipoly_create", 89 tr("Tool : {0}", getName(false)),89 tr("Tools: {0}", getName(false)), 90 90 KeyEvent.VK_B, Shortcut.CTRL), 91 91 true, update ? "multipoly_update" : "multipoly_create", true); -
trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java
r17018 r17188 31 31 new ImageProvider("dialogs/dialogs_panel"), 32 32 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), 34 34 true, "dialogspanel", /* register in toolbar */ 35 35 false -
trunk/src/org/openstreetmap/josm/actions/DistributeAction.java
r16467 r17188 40 40 super(tr("Distribute Nodes"), "distribute", 41 41 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), 43 43 true); 44 44 setHelpId(ht("/Action/DistributeNodes")); -
trunk/src/org/openstreetmap/josm/actions/ExitAction.java
r16505 r17188 22 22 public ExitAction() { 23 23 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); 25 25 setHelpId(ht("/Action/Exit")); 26 26 } -
trunk/src/org/openstreetmap/josm/actions/FollowLineAction.java
r17141 r17188 46 46 tr("Continues drawing a line that shares nodes with another line."), 47 47 Shortcut.registerShortcut("tools:followline", tr( 48 "Tool : {0}", tr("Follow")),48 "Tools: {0}", tr("Follow")), 49 49 KeyEvent.VK_F, Shortcut.DIRECT), true); 50 50 } -
trunk/src/org/openstreetmap/josm/actions/FullscreenToggleAction.java
r17018 r17188 41 41 new ImageProvider("fullscreen"), 42 42 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), 44 44 false /* register */, null, false 45 45 ); -
trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java
r16509 r17188 35 35 public GpxExportAction() { 36 36 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)); 38 38 setHelpId(ht("/Action/GpxExport")); 39 39 } -
trunk/src/org/openstreetmap/josm/actions/HelpAction.java
r16509 r17188 34 34 private HelpAction(boolean shortcut) { 35 35 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, 37 37 true, false); 38 38 setEnabled(!NetworkManager.isOffline(OnlineResource.JOSM_WEBSITE)); -
trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java
r16512 r17188 30 30 31 31 /** 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); 33 34 34 35 /** -
trunk/src/org/openstreetmap/josm/actions/HistoryInfoWebAction.java
r14397 r17188 25 25 tr("Display history information about OSM ways, nodes, or relations in web browser."), 26 26 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), 28 28 true, "action/historyinfoweb", true); 29 29 setHelpId(ht("/Action/ObjectHistoryWeb")); -
trunk/src/org/openstreetmap/josm/actions/InfoAction.java
r14397 r17188 27 27 tr("Display advanced object information about OSM nodes, ways, or relations."), 28 28 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), 30 30 true, "action/info", true); 31 31 setHelpId(ht("/Action/InfoAboutElements")); -
trunk/src/org/openstreetmap/josm/actions/InfoWebAction.java
r14397 r17188 29 29 tr("Display object information about OSM nodes, ways, or relations in web browser."), 30 30 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), 32 32 true, "action/infoweb", true); 33 33 setHelpId(ht("/Action/InfoAboutElementsWeb")); -
trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
r17167 r17188 469 469 public JoinAreasAction(boolean addShortcutToolbarAdapters) { 470 470 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) 472 472 : null, addShortcutToolbarAdapters, null, addShortcutToolbarAdapters); 473 473 addUndoRedo = addShortcutToolbarAdapters; -
trunk/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java
r17141 r17188 67 67 tr("Join Node to Way"), /* ICON */ "joinnodeway", 68 68 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")), 70 70 KeyEvent.VK_J, Shortcut.DIRECT), true); 71 71 action.setHelpId(ht("/Action/JoinNodeWay")); … … 81 81 tr("Move Node onto Way"), /* ICON*/ "movenodeontoway", 82 82 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")), 84 84 KeyEvent.VK_N, Shortcut.DIRECT), true); 85 85 action.setHelpId(ht("/Action/MoveNodeWay")); -
trunk/src/org/openstreetmap/josm/actions/JumpToAction.java
r17022 r17188 54 54 public JumpToAction() { 55 55 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")), 57 57 KeyEvent.VK_J, Shortcut.CTRL), true, "action/jumpto", false); 58 58 // make this action listen to mapframe change events -
trunk/src/org/openstreetmap/josm/actions/MergeLayerAction.java
r17003 r17188 40 40 tr("Merge the current layer into another layer"), 41 41 Shortcut.registerShortcut("system:merge", tr("Edit: {0}", 42 tr("Merge ")), KeyEvent.VK_M, Shortcut.CTRL),42 tr("Merge layer")), KeyEvent.VK_M, Shortcut.CTRL), 43 43 true, "action/mergelayer", true); 44 44 setHelpId(ht("/Action/MergeLayer")); -
trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java
r16438 r17188 68 68 public MergeNodesAction() { 69 69 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); 71 71 setHelpId(ht("/Action/MergeNodes")); 72 72 } -
trunk/src/org/openstreetmap/josm/actions/MirrorAction.java
r16438 r17188 38 38 public MirrorAction() { 39 39 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")), 41 41 KeyEvent.VK_M, Shortcut.SHIFT), true); 42 42 setHelpId(ht("/Action/Mirror")); -
trunk/src/org/openstreetmap/josm/actions/MoveNodeAction.java
r15023 r17188 30 30 public MoveNodeAction() { 31 31 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...")), 33 33 KeyEvent.VK_M, Shortcut.NONE), true); 34 34 setHelpId(ht("/Action/MoveNode")); -
trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
r16438 r17188 64 64 "ortho", 65 65 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")), 67 67 KeyEvent.VK_Q, 68 68 Shortcut.DIRECT), true); … … 99 99 super(tr("Orthogonalize Shape / Undo"), "ortho", 100 100 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"), 102 102 KeyEvent.VK_Q, 103 103 Shortcut.SHIFT), -
trunk/src/org/openstreetmap/josm/actions/PreferencesAction.java
r17097 r17188 90 90 public PreferencesAction() { 91 91 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); 93 94 setHelpId(ht("/Action/Preferences")); 94 95 this.tab = null; -
trunk/src/org/openstreetmap/josm/actions/ReorderImageryLayersAction.java
r16509 r17188 24 24 public ReorderImageryLayersAction() { 25 25 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")), 27 27 KeyboardUtils.getCharactersForKey('E', 0), Shortcut.DIRECT)); 28 28 } -
trunk/src/org/openstreetmap/josm/actions/ReportBugAction.java
r16509 r17188 31 31 public ReportBugAction(String text) { 32 32 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")), 34 34 KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), true, false); 35 35 this.text = text; -
trunk/src/org/openstreetmap/josm/actions/ReverseWayAction.java
r16630 r17188 106 106 public ReverseWayAction() { 107 107 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); 109 109 setHelpId(ht("/Action/ReverseWays")); 110 110 } -
trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
r17110 r17188 65 65 public SimplifyWayAction() { 66 66 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); 68 68 setHelpId(ht("/Action/SimplifyWay")); 69 69 } -
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r15943 r17188 56 56 public SplitWayAction() { 57 57 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); 59 59 setHelpId(ht("/Action/SplitWay")); 60 60 } -
trunk/src/org/openstreetmap/josm/actions/TaggingPresetSearchAction.java
r16509 r17188 23 23 public TaggingPresetSearchAction() { 24 24 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); 26 26 setToolbarId("presets/search"); 27 27 MainApplication.getToolbar().register(this); -
trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java
r17187 r17188 61 61 public UnGlueAction() { 62 62 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); 64 64 setHelpId(ht("/Action/UnGlue")); 65 65 } -
trunk/src/org/openstreetmap/josm/actions/UnJoinNodeWayAction.java
r16438 r17188 39 39 tr("Disconnect nodes from a way they currently belong to"), 40 40 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); 42 42 setHelpId(ht("/Action/UnJoinNodeWay")); 43 43 } -
trunk/src/org/openstreetmap/josm/actions/ValidateAction.java
r16227 r17188 45 45 public ValidateAction() { 46 46 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"), 48 48 KeyEvent.VK_V, Shortcut.SHIFT), true); 49 49 } -
trunk/src/org/openstreetmap/josm/actions/ViewportFollowToggleAction.java
r16509 r17188 32 32 "viewport-follow", 33 33 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")), 35 35 KeyEvent.VK_F, Shortcut.CTRL_SHIFT), 36 36 true /* register shortcut */ -
trunk/src/org/openstreetmap/josm/actions/WireframeToggleAction.java
r17018 r17188 27 27 "dialogs/mappaint/wireframe_small", 28 28 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), 30 30 false /* register toolbar */ 31 31 ); -
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r17143 r17188 172 172 173 173 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); 175 175 snapChangeAction = new SnapChangeAction(); 176 176 snapCheckboxMenuItem = addMenuItem(); -
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r17184 r17188 232 232 dualAlignCheckboxMenuItem.setState(dualAlignEnabled); 233 233 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); 235 235 readPreferences(); // to show prefernces in table before entering the mode 236 236 } -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r16509 r17188 144 144 public SearchAction() { 145 145 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); 147 147 setHelpId(ht("/Action/Search")); 148 148 }
Note:
See TracChangeset
for help on using the changeset viewer.