Changeset 3059 in josm for trunk


Ignore:
Timestamp:
2010-02-28T18:42:02+01:00 (10 years ago)
Author:
stoecker
Message:

i18n fixes, see #4636

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManager.java

    r2847 r3059  
    265265
    266266    protected void build() {
    267         setTitle(tr(("Changeset Management Dialog")));
     267        setTitle(tr("Changeset Management Dialog"));
    268268        setIconImage(ImageProvider.get("dialogs/changeset", "changesetmanager").getImage());
    269269        Container cp = getContentPane();
  • trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java

    r2745 r3059  
    6464    private Map<String, Action> regactions = new HashMap<String, Action>();
    6565
    66     private DefaultMutableTreeNode rootActionsNode = new DefaultMutableTreeNode("Actions");
     66    private DefaultMutableTreeNode rootActionsNode = new DefaultMutableTreeNode(tr("Actions"));
    6767
    6868    public JToolBar control = new JToolBar();
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java

    r2379 r3059  
    11// License: GPL. Copyright 2007 by Immanuel Scholz and others
    22package org.openstreetmap.josm.tools;
     3
     4import static org.openstreetmap.josm.tools.I18n.tr;
    35
    46import java.awt.event.KeyEvent;
     
    4547    public void initSystemShortcuts() {
    4648        // This list if far from complete!
    47         Shortcut.registerSystemShortcut("system:exit", "unused", KeyEvent.VK_F4, KeyEvent.ALT_DOWN_MASK).setAutomatic(); // items with automatic shortcuts will not be added to the menu bar at all
    48         Shortcut.registerSystemShortcut("system:menuexit", "unused", KeyEvent.VK_Q, KeyEvent.CTRL_DOWN_MASK);
    49         Shortcut.registerSystemShortcut("system:copy", "unused", KeyEvent.VK_C, KeyEvent.CTRL_DOWN_MASK);
    50         Shortcut.registerSystemShortcut("system:paste", "unused", KeyEvent.VK_V, KeyEvent.CTRL_DOWN_MASK);
    51         Shortcut.registerSystemShortcut("system:cut", "unused", KeyEvent.VK_X, KeyEvent.CTRL_DOWN_MASK);
    52         Shortcut.registerSystemShortcut("system:duplicate", "unused", KeyEvent.VK_D, KeyEvent.CTRL_DOWN_MASK); // not really system, but to avoid odd results
    53         Shortcut.registerSystemShortcut("system:help", "unused", KeyEvent.VK_F1, 0);
     49        Shortcut.registerSystemShortcut("system:exit", tr("unused"), KeyEvent.VK_F4, KeyEvent.ALT_DOWN_MASK).setAutomatic(); // items with automatic shortcuts will not be added to the menu bar at all
     50        Shortcut.registerSystemShortcut("system:menuexit", tr("unused"), KeyEvent.VK_Q, KeyEvent.CTRL_DOWN_MASK);
     51        Shortcut.registerSystemShortcut("system:copy", tr("unused"), KeyEvent.VK_C, KeyEvent.CTRL_DOWN_MASK);
     52        Shortcut.registerSystemShortcut("system:paste", tr("unused"), KeyEvent.VK_V, KeyEvent.CTRL_DOWN_MASK);
     53        Shortcut.registerSystemShortcut("system:cut", tr("unused"), KeyEvent.VK_X, KeyEvent.CTRL_DOWN_MASK);
     54        Shortcut.registerSystemShortcut("system:duplicate", tr("unused"), KeyEvent.VK_D, KeyEvent.CTRL_DOWN_MASK); // not really system, but to avoid odd results
     55        Shortcut.registerSystemShortcut("system:help", tr("unused"), KeyEvent.VK_F1, 0);
    5456    }
    5557
Note: See TracChangeset for help on using the changeset viewer.