Changeset 35583 in osm
- Timestamp:
- 2020-10-15T19:00:54+02:00 (4 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/CommandLineAction.java
r34574 r35583 15 15 public CommandLineAction(CommandLine parentPlugin) { 16 16 super(tr("Command line"), "commandline", tr("Set input focus to the command line."), 17 Shortcut.registerShortcut("tool:commandline", tr(" Tool: {0}", tr("Command line")), KeyEvent.VK_ENTER, Shortcut.DIRECT), true, "commandline", true);17 Shortcut.registerShortcut("tool:commandline", tr("Commands: {0}", tr("Command line")), KeyEvent.VK_ENTER, Shortcut.DIRECT), true, "commandline", true); 18 18 this.parentPlugin = parentPlugin; 19 19 } -
applications/editors/josm/plugins/Create_grid_of_ways/src/CreateGridOfWaysPlugin/CreateGridOfWaysAction.java
r34727 r35583 36 36 37 37 public CreateGridOfWaysAction() { 38 super(tr("Create grid of ways"), "creategridofways", tr("Forms a grid of ways in base to two existing that have various nodes and one in common"), Shortcut.registerShortcut("tools:CreateGridOfWays", tr("Tool: {0}", tr("Create grid of ways")), 38 super(tr("Create grid of ways"), "creategridofways", 39 tr("Forms a grid of ways in base to two existing that have various nodes and one in common"), 40 Shortcut.registerShortcut("tools:CreateGridOfWays", tr("More tools: {0}", tr("Create grid of ways")), 39 41 KeyEvent.VK_G, Shortcut.SHIFT), true); 40 42 } -
applications/editors/josm/plugins/CustomizePublicTransportStop/src/org/openstreetmap/josm/plugins/customizepublictransportstop/CustomizeStopAction.java
r34501 r35583 58 58 CustomizeStopAction action = new CustomizeStopAction(tr(CUSTOMIZE_STOP_ACTION_MENU_NAME), 59 59 CUSTOMIZE_STOP_ACTION_ICON_NAME, tr(CUSTOMIZE_STOP_ACTION_MENU_TOOLTIP), 60 Shortcut.registerShortcut("tools:customizestop", tr("Tool : {0}", tr(CUSTOMIZE_STOP_ACTION_MENU_NAME)),60 Shortcut.registerShortcut("tools:customizestop", tr("Tools: {0}", tr(CUSTOMIZE_STOP_ACTION_MENU_NAME)), 61 61 KeyEvent.VK_U, Shortcut.DIRECT), 62 62 true); -
applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadDataGuiPlugin.java
r34382 r35583 32 32 public UploadAction(){ 33 33 super(tr("Upload Traces"), "UploadAction", tr("Uploads traces to openstreetmap.org"), 34 Shortcut.registerShortcut("tools:uploadtraces", tr(" Tool: {0}", tr("Upload Traces")),34 Shortcut.registerShortcut("tools:uploadtraces", tr("GPS: {0}", tr("Upload Traces")), 35 35 KeyEvent.VK_G, Shortcut.CTRL), false); 36 36 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixUnresolvedStreetsAction.java
r34511 r35583 28 28 super(tr("Fix street addresses"), "fixstreets_24", 29 29 tr("Find and fix addresses without (valid) streets."), 30 Shortcut.registerShortcut("tools:AddressEdit", tr(" Tool: {0}",31 tr(" Address Edit")), KeyEvent.VK_X, Shortcut.CTRL_SHIFT), false);30 Shortcut.registerShortcut("tools:AddressEdit", tr("Data: {0}", 31 tr("Fix street addresses")), KeyEvent.VK_X, Shortcut.CTRL_SHIFT), false); 32 32 33 33 setEnabled(false); -
applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationAction.java
r34487 r35583 21 21 public AddrInterpolationAction() { 22 22 super(tr("Address Interpolation"), "AddrInterpolation", tr("Handy Address Interpolation Functions"), 23 Shortcut.registerShortcut("tools:AddressInterpolation", tr(" Tool: {0}", tr("Address Interpolation")),23 Shortcut.registerShortcut("tools:AddressInterpolation", tr("Data: {0}", tr("Address Interpolation")), 24 24 KeyEvent.VK_Z, Shortcut.ALT_CTRL), false); 25 25 setEnabled(false); -
applications/editors/josm/plugins/alignways/src/org/openstreetmap/josm/plugins/alignways/AlignWaysAction.java
r35474 r35583 31 31 tr("Makes a pair of selected way segments parallel by rotating one of them " 32 32 + "around a chosen pivot."), 33 Shortcut.registerShortcut("tools:alignways", tr(" Tool: {0}", tr("Align Ways")),33 Shortcut.registerShortcut("tools:alignways", tr("More tools: {0}", tr("Align Way Segments")), 34 34 KeyEvent.VK_SPACE, Shortcut.SHIFT), 35 35 true, false); -
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java
r33739 r35583 48 48 tr("Connect to gpsd server and show current position in LiveGPS layer."), 49 49 Shortcut.registerShortcut("menu:livegps:capture", tr( 50 " Menu: {0}", tr("Capture GPS Track")),50 "GPS: {0}", tr("Capture GPS Track")), 51 51 KeyEvent.VK_R, Shortcut.CTRL), true); 52 52 } … … 62 62 super(tr("Center Once"), "centermenu", 63 63 tr("Center the LiveGPS layer to current position."), 64 Shortcut.registerShortcut("edit:centergps", tr(" Edit: {0}",64 Shortcut.registerShortcut("edit:centergps", tr("GPS: {0}", 65 65 tr("Center Once")), KeyEvent.VK_HOME, 66 66 Shortcut.DIRECT), true); … … 82 82 tr("Continuously center the LiveGPS layer to current position."), 83 83 Shortcut.registerShortcut("menu:livegps:autocenter", tr( 84 " Menu: {0}", tr("Capture GPS Track")),84 "GPS: {0}", tr("Auto-Center")), 85 85 KeyEvent.VK_HOME, Shortcut.CTRL), true); 86 86 } -
applications/editors/josm/plugins/merge-overlap/src/mergeoverlap/MergeOverlapAction.java
r35072 r35583 57 57 super(tr("Merge overlap"), "merge_overlap", 58 58 tr("Merge overlap of ways."), 59 Shortcut.registerShortcut("tools:mergeoverlap",tr(" Tool: {0}", tr("Merge overlap")), KeyEvent.VK_O,59 Shortcut.registerShortcut("tools:mergeoverlap",tr("More tools: {0}", tr("Merge overlap")), KeyEvent.VK_O, 60 60 Shortcut.ALT_CTRL), true); 61 61 } -
applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeft.java
r34531 r35583 55 55 tr("Adds no left turn for sets of 4 or 5 ways."), 56 56 Shortcut.registerShortcut("tools:michigan_left", 57 tr(" Tool: {0}", tr("Michigan Left")), KeyEvent.VK_N, Shortcut.ALT_SHIFT), true);57 tr("Data: {0}", tr("Michigan Left")), KeyEvent.VK_N, Shortcut.ALT_SHIFT), true); 58 58 } 59 59 -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/PdfImportAction.java
r34609 r35583 19 19 super(tr("Import PDF file"), "pdf_import", 20 20 tr("Import PDF file."), 21 Shortcut.registerShortcut("tools:pdfimport", tr(" Tool: {0}", tr("Import PDF file")),21 Shortcut.registerShortcut("tools:pdfimport", tr("Imagery: {0}", tr("Import PDF file")), 22 22 KeyEvent.VK_F, Shortcut.ALT_CTRL_SHIFT), true); 23 23 } -
applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoAction.java
r35565 r35583 42 42 PointInfoAction() { 43 43 super(tr("Point info"), "pointinfo", tr("Point info."), 44 Shortcut.registerShortcut("tools:pointInfo", tr(" Tool: {0}", tr("Point info")), KeyEvent.VK_X, Shortcut.CTRL_SHIFT),44 Shortcut.registerShortcut("tools:pointInfo", tr("More tools: {0}", tr("Point info")), KeyEvent.VK_X, Shortcut.CTRL_SHIFT), 45 45 getCursor()); 46 46 } -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/AutoSaveAction.java
r34591 r35583 32 32 public AutoSaveAction() { 33 33 super(tr("AutoSave LiveData"), "autosave.png", tr("Save captured data to file every minute."), 34 Shortcut.registerShortcut("surveyor:autosave", tr(" Tool: {0}", tr("AutoSave LiveData")),34 Shortcut.registerShortcut("surveyor:autosave", tr("GPS: {0}", tr("AutoSave LiveData")), 35 35 KeyEvent.VK_S, Shortcut.ALT_CTRL_SHIFT), true); 36 36 } -
applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/SurveyorShowAction.java
r35262 r35583 44 44 public SurveyorShowAction(LiveGpsPlugin gpsPlugin) { 45 45 super(tr("Surveyor..."), "surveyormenu.png", tr("Open surveyor tool."), 46 Shortcut.registerShortcut("surveyor:open", tr(" Tool: {0}", tr("Surveyor...")),46 Shortcut.registerShortcut("surveyor:open", tr("GPS: {0}", tr("Surveyor...")), 47 47 KeyEvent.VK_R, Shortcut.CTRL_SHIFT), true); 48 48 this.gpsPlugin = gpsPlugin; -
applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/TracerAction.java
r34563 r35583 46 46 47 47 public TracerAction() { 48 super(tr("Tracer"), "tracer-sml", tr("Tracer."), Shortcut.registerShortcut("tools:tracer", tr("Tool: {0}", tr("Tracer")), KeyEvent.VK_T, Shortcut.DIRECT), getCursor()); 48 super(tr("Tracer"), "tracer-sml", tr("Tracer."), 49 Shortcut.registerShortcut("tools:tracer", tr("More tools: {0}", tr("Tracer")), KeyEvent.VK_T, Shortcut.DIRECT), getCursor()); 49 50 } 50 51 -
applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/TracerAction.java
r34564 r35583 60 60 TracerAction() { 61 61 super(tr("Tracer2"), "tracer2-sml", tr("Tracer2."), 62 Shortcut.registerShortcut("tools:tracer2", tr(" Tool: {0}", tr("Tracer2")), KeyEvent.VK_T, Shortcut.DIRECT),62 Shortcut.registerShortcut("tools:tracer2", tr("More tools: {0}", tr("Tracer2")), KeyEvent.VK_T, Shortcut.DIRECT), 63 63 getCursor()); 64 64 } -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/CreateOrEditTurnRestrictionAction.java
r33537 r35583 43 43 null, 44 44 tr("Create or edit a turn restriction."), 45 Shortcut.registerShortcut("tools:turnrestriction", tr(" Tool: {0}", "Create or edit a turn restriction."),45 Shortcut.registerShortcut("tools:turnrestriction", tr("Create or edit a turn restriction."), 46 46 KeyEvent.VK_2, Shortcut.ALT_SHIFT), 47 47 false
Note:
See TracChangeset
for help on using the changeset viewer.