Changeset 3757 in josm


Ignore:
Timestamp:
2011-01-02T00:27:02+01:00 (14 years ago)
Author:
stoecker
Message:

fix help topics

Location:
trunk/src/org/openstreetmap/josm
Files:
10 edited

Legend:

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

    r3083 r3757  
    3131        super(tr("Distribute Nodes"), "distribute", tr("Distribute the selected nodes to equal distances along a line."),
    3232                Shortcut.registerShortcut("tools:distribute", tr("Tool: {0}", tr("Distribute Nodes")), KeyEvent.VK_B, Shortcut.GROUP_EDIT), true);
    33         putValue("help", ht("/Action/Distribute"));
     33        putValue("help", ht("/Action/DistributeNodes"));
    3434    }
    3535
  • trunk/src/org/openstreetmap/josm/actions/DownloadReferrersAction.java

    r3083 r3757  
    2929        super(tr("Download parent ways/relations..."), "downloadreferrers", tr("Download primitives referring to one of the selected primitives"),
    3030                Shortcut.registerShortcut("file:downloadreferrers", tr("File: {0}", tr("Download parent ways/relations...")), KeyEvent.VK_D, Shortcut.GROUPS_ALT2+Shortcut.GROUP_HOTKEY), true);
    31         putValue("help", ht("/Action/Downloadreferrers"));
     31        putValue("help", ht("/Action/DownloadReferrers"));
    3232    }
    3333
  • trunk/src/org/openstreetmap/josm/actions/FullscreenToggleAction.java

    r3552 r3757  
    22package org.openstreetmap.josm.actions;
    33
     4import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    56
     
    3839                true /* register shortcut */
    3940        );
     41        putValue("help", ht("/Action/FullscreenView"));
    4042        gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
    4143        selected = Main.pref.getBoolean("draw.fullscreen", false);
  • trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java

    r3713 r3757  
    5454        super(tr("Merge Nodes"), "mergenodes", tr("Merge nodes into the oldest one."),
    5555                Shortcut.registerShortcut("tools:mergenodes", tr("Tool: {0}", tr("Merge Nodes")), KeyEvent.VK_M, Shortcut.GROUP_EDIT), true);
    56         putValue("help", ht("/Action/MergeNodesAction"));
     56        putValue("help", ht("/Action/MergeNodes"));
    5757    }
    5858
  • trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java

    r3710 r3757  
    4949        super(tr("Open..."), "open", tr("Open a file."),
    5050                Shortcut.registerShortcut("system:open", tr("File: {0}", tr("Open...")), KeyEvent.VK_O, Shortcut.GROUP_MENU));
    51         putValue("help", ht("/Action/OpenFile"));
     51        putValue("help", ht("/Action/Open"));
    5252
    5353    }
  • trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java

    r3083 r3757  
    4949                        KeyEvent.VK_Q,
    5050                        Shortcut.GROUP_EDIT), true);
    51         putValue("help", ht("/Action/Orthogonalize"));
     51        putValue("help", ht("/Action/OrthogonalizeShape"));
    5252    }
    5353
  • trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java

    r3530 r3757  
    9191                        options,
    9292                        options[0],
    93                         HelpUtil.ht("/Action/SimplifyAction#ConfirmDeleteNodesOutsideBoundingBoxes")
     93                        HelpUtil.ht("/Action/SimplifyWay#ConfirmDeleteNodesOutsideBoundingBoxes")
    9494        );
    9595        return ret == 0;
     
    102102                tr("Warning"),
    103103                JOptionPane.WARNING_MESSAGE,
    104                 HelpUtil.ht("/Action/SimplifyAction#SelectAWayToSimplify")
     104                HelpUtil.ht("/Action/SimplifyWay#SelectAWayToSimplify")
    105105        );
    106106    }
     
    132132                options,
    133133                options[0],
    134                 HelpUtil.ht("/Action/SimplifyAction#ConfirmSimplifyAll")
     134                HelpUtil.ht("/Action/SimplifyWay#ConfirmSimplifyAll")
    135135        );
    136136        return ret == 0;
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/ChangesetQueryDialog.java

    r3530 r3757  
    7373
    7474        // -- help action
    75         pnl.add(new SideButton(new ContextSensitiveHelpAction(HelpUtil.ht("/Dialog/ChangesetQuery"))));
     75        pnl.add(new SideButton(new ContextSensitiveHelpAction(HelpUtil.ht("/Dialog/ChangesetQueryDialog"))));
    7676
    7777        return pnl;
     
    9191
    9292        // context sensitive help
    93         HelpUtil.setHelpContext(getRootPane(), HelpUtil.ht("/Dialog/ChangesetQuery"));
     93        HelpUtil.setHelpContext(getRootPane(), HelpUtil.ht("/Dialog/ChangesetQueryDialog"));
    9494
    9595        addWindowListener(new WindowEventHandler());
  • trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java

    r3422 r3757  
    127127                specs,
    128128                specs[0],
    129                 ht("/Action/UploadAction#ChangesetFull")
     129                ht("/Action/Upload#ChangesetFull")
    130130        );
    131131        switch(ret) {
  • trunk/src/org/openstreetmap/josm/gui/preferences/PluginPreference.java

    r3585 r3757  
    321321                    tr("Update plugins"),
    322322                    !failed.isEmpty() ? JOptionPane.WARNING_MESSAGE : JOptionPane.INFORMATION_MESSAGE,
    323                             // FIXME: check help topic
    324                             HelpUtil.ht("/Preferences/Plugin")
     323                            HelpUtil.ht("/Preferences/Plugins")
    325324            );
    326325        }
Note: See TracChangeset for help on using the changeset viewer.