Changeset 35583 in osm


Ignore:
Timestamp:
2020-10-15T19:00:54+02:00 (9 days ago)
Author:
Klumbumbus
Message:

see #19851 - Fix shortcut names

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  
    1515    public CommandLineAction(CommandLine parentPlugin) {
    1616        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);
    1818        this.parentPlugin = parentPlugin;
    1919    }
  • applications/editors/josm/plugins/Create_grid_of_ways/src/CreateGridOfWaysPlugin/CreateGridOfWaysAction.java

    r34727 r35583  
    3636
    3737    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")),
    3941        KeyEvent.VK_G, Shortcut.SHIFT), true);
    4042    }
  • applications/editors/josm/plugins/CustomizePublicTransportStop/src/org/openstreetmap/josm/plugins/customizepublictransportstop/CustomizeStopAction.java

    r34501 r35583  
    5858        CustomizeStopAction action = new CustomizeStopAction(tr(CUSTOMIZE_STOP_ACTION_MENU_NAME),
    5959                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)),
    6161                        KeyEvent.VK_U, Shortcut.DIRECT),
    6262                true);
  • applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadDataGuiPlugin.java

    r34382 r35583  
    3232        public UploadAction(){
    3333            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")),
    3535                KeyEvent.VK_G, Shortcut.CTRL), false);
    3636        }
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixUnresolvedStreetsAction.java

    r34511 r35583  
    2828        super(tr("Fix street addresses"), "fixstreets_24",
    2929                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);
    3232
    3333        setEnabled(false);
  • applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationAction.java

    r34487 r35583  
    2121    public AddrInterpolationAction() {
    2222        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")),
    2424                        KeyEvent.VK_Z, Shortcut.ALT_CTRL), false);
    2525        setEnabled(false);
  • applications/editors/josm/plugins/alignways/src/org/openstreetmap/josm/plugins/alignways/AlignWaysAction.java

    r35474 r35583  
    3131                tr("Makes a pair of selected way segments parallel by rotating one of them "
    3232                        + "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")),
    3434                                KeyEvent.VK_SPACE, Shortcut.SHIFT),
    3535                true, false);
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java

    r33739 r35583  
    4848                    tr("Connect to gpsd server and show current position in LiveGPS layer."),
    4949                    Shortcut.registerShortcut("menu:livegps:capture", tr(
    50                             "Menu: {0}", tr("Capture GPS Track")),
     50                            "GPS: {0}", tr("Capture GPS Track")),
    5151                            KeyEvent.VK_R, Shortcut.CTRL), true);
    5252        }
     
    6262            super(tr("Center Once"), "centermenu",
    6363                    tr("Center the LiveGPS layer to current position."),
    64                     Shortcut.registerShortcut("edit:centergps", tr("Edit: {0}",
     64                    Shortcut.registerShortcut("edit:centergps", tr("GPS: {0}",
    6565                            tr("Center Once")), KeyEvent.VK_HOME,
    6666                            Shortcut.DIRECT), true);
     
    8282                    tr("Continuously center the LiveGPS layer to current position."),
    8383                    Shortcut.registerShortcut("menu:livegps:autocenter", tr(
    84                             "Menu: {0}", tr("Capture GPS Track")),
     84                            "GPS: {0}", tr("Auto-Center")),
    8585                            KeyEvent.VK_HOME, Shortcut.CTRL), true);
    8686        }
  • applications/editors/josm/plugins/merge-overlap/src/mergeoverlap/MergeOverlapAction.java

    r35072 r35583  
    5757        super(tr("Merge overlap"), "merge_overlap",
    5858                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,
    6060                Shortcut.ALT_CTRL), true);
    6161    }
  • applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeft.java

    r34531 r35583  
    5555                tr("Adds no left turn for sets of 4 or 5 ways."),
    5656                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);
    5858        }
    5959
  • applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/PdfImportAction.java

    r34609 r35583  
    1919        super(tr("Import PDF file"), "pdf_import",
    2020            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")),
    2222            KeyEvent.VK_F, Shortcut.ALT_CTRL_SHIFT), true);
    2323    }
  • applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoAction.java

    r35565 r35583  
    4242    PointInfoAction() {
    4343        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),
    4545                getCursor());
    4646    }
  • applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/AutoSaveAction.java

    r34591 r35583  
    3232    public AutoSaveAction() {
    3333        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")),
    3535        KeyEvent.VK_S, Shortcut.ALT_CTRL_SHIFT), true);
    3636    }
  • applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/SurveyorShowAction.java

    r35262 r35583  
    4444    public SurveyorShowAction(LiveGpsPlugin gpsPlugin) {
    4545        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...")),
    4747        KeyEvent.VK_R, Shortcut.CTRL_SHIFT), true);
    4848        this.gpsPlugin = gpsPlugin;
  • applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/TracerAction.java

    r34563 r35583  
    4646
    4747    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());
    4950    }
    5051
  • applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/TracerAction.java

    r34564 r35583  
    6060    TracerAction() {
    6161        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),
    6363                getCursor());
    6464    }
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/CreateOrEditTurnRestrictionAction.java

    r33537 r35583  
    4343            null,
    4444            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."),
    4646                KeyEvent.VK_2, Shortcut.ALT_SHIFT),
    4747            false
Note: See TracChangeset for help on using the changeset viewer.