Changeset 3059 in josm
- Timestamp:
- 2010-02-28T18:42:02+01:00 (14 years ago)
- 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 265 265 266 266 protected void build() { 267 setTitle(tr( ("Changeset Management Dialog")));267 setTitle(tr("Changeset Management Dialog")); 268 268 setIconImage(ImageProvider.get("dialogs/changeset", "changesetmanager").getImage()); 269 269 Container cp = getContentPane(); -
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r2745 r3059 64 64 private Map<String, Action> regactions = new HashMap<String, Action>(); 65 65 66 private DefaultMutableTreeNode rootActionsNode = new DefaultMutableTreeNode( "Actions");66 private DefaultMutableTreeNode rootActionsNode = new DefaultMutableTreeNode(tr("Actions")); 67 67 68 68 public JToolBar control = new JToolBar(); -
trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
r2379 r3059 1 1 // License: GPL. Copyright 2007 by Immanuel Scholz and others 2 2 package org.openstreetmap.josm.tools; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 3 5 4 6 import java.awt.event.KeyEvent; … … 45 47 public void initSystemShortcuts() { 46 48 // 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 all48 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 results53 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); 54 56 } 55 57
Note:
See TracChangeset
for help on using the changeset viewer.