- Timestamp:
- 2009-01-06T18:06:36+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AlignInLineAction.java
r1169 r1212 30 30 31 31 public AlignInLineAction() { 32 super(tr("Align Nodes in Line"), "alignline", tr("Move the selected nodes onto a line."),32 super(tr("Align Nodes in Line"), "alignline", tr("Move the selected nodes in to a line."), 33 33 Shortcut.registerShortcut("tools:alignline", tr("Tool: {0}", tr("Align Nodes in Line")), KeyEvent.VK_L, Shortcut.GROUP_EDIT), true); 34 34 } -
trunk/src/org/openstreetmap/josm/actions/DownloadAction.java
r1169 r1212 31 31 32 32 public DownloadAction() { 33 super(tr("Download from OSM 34 Shortcut.registerShortcut("file:download", tr("File: {0}", tr("Download from OSM 33 super(tr("Download from OSM..."), "download", tr("Download map data from the OSM server."), 34 Shortcut.registerShortcut("file:download", tr("File: {0}", tr("Download from OSM...")), KeyEvent.VK_D, Shortcut.GROUPS_ALT1+Shortcut.GROUP_HOTKEY), true); 35 35 } 36 36 -
trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java
r1205 r1212 45 45 46 46 public GpxExportAction(Layer layer) { 47 super(tr("Export to GPX 48 Shortcut.registerShortcut("file:exportgpx", tr("Export to GPX 47 super(tr("Export to GPX..."), "exportgpx", tr("Export the data to GPX file."), 48 Shortcut.registerShortcut("file:exportgpx", tr("Export to GPX..."), KeyEvent.VK_E, Shortcut.GROUP_MENU)); 49 49 this.layer = layer; 50 50 } -
trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java
r1196 r1212 39 39 */ 40 40 public OpenFileAction() { 41 super(tr("Open 42 Shortcut.registerShortcut("system:open", tr("File: {0}", tr("Open 41 super(tr("Open..."), "open", tr("Open a file."), 42 Shortcut.registerShortcut("system:open", tr("File: {0}", tr("Open...")), KeyEvent.VK_O, Shortcut.GROUP_MENU)); 43 43 } 44 44 -
trunk/src/org/openstreetmap/josm/actions/PreferencesAction.java
r1169 r1212 29 29 */ 30 30 public PreferencesAction() { 31 super(tr("Preferences 31 super(tr("Preferences..."), "preference", tr("Open a preferences page for global settings."), 32 32 Shortcut.registerShortcut("system:preferences", tr("Preferences"), KeyEvent.VK_F12, Shortcut.GROUP_DIRECT), true); 33 33 } -
trunk/src/org/openstreetmap/josm/actions/SaveAsAction.java
r1169 r1212 22 22 */ 23 23 public SaveAsAction(Layer layer) { 24 super(tr("Save as 25 Shortcut.registerShortcut("system:saveas", tr("File: {0}", tr("Save as 24 super(tr("Save as..."), "save_as", tr("Save the current data to a new file."), 25 Shortcut.registerShortcut("system:saveas", tr("File: {0}", tr("Save as...")), KeyEvent.VK_S, Shortcut.GROUP_MENU, Shortcut.SHIFT_DEFAULT), layer); 26 26 } 27 27 -
trunk/src/org/openstreetmap/josm/actions/UploadAction.java
r1169 r1212 60 60 61 61 public UploadAction() { 62 super(tr("Upload to OSM 63 Shortcut.registerShortcut("file:upload", tr("File: {0}", tr("Upload to OSM 62 super(tr("Upload to OSM..."), "upload", tr("Upload all changes to the OSM server."), 63 Shortcut.registerShortcut("file:upload", tr("File: {0}", tr("Upload to OSM...")), KeyEvent.VK_U, Shortcut.GROUPS_ALT1+Shortcut.GROUP_HOTKEY), true); 64 64 65 65 /** -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r1084 r1212 37 37 38 38 public SearchAction() { 39 super(tr("Search 39 super(tr("Search..."), "dialogs/search", tr("Search for objects."), 40 40 Shortcut.registerShortcut("system:find", tr("Search..."), KeyEvent.VK_F, Shortcut.GROUP_HOTKEY), true); 41 41 } -
trunk/src/org/openstreetmap/josm/data/projection/Lambert.java
r1169 r1212 80 80 double lg = geo.lon(); 81 81 82 // check if longitude and latitude are inside the french Lambert zones82 // check if longitude and latitude are inside the French Lambert zones 83 83 currentZone = 0; 84 84 boolean outOfLambertZones = false; … … 111 111 + "latitudes between 46.1° and 57° only.\n" 112 112 + "Use another projection system if you are not using\n" 113 + "a french WMS server.\n"113 + "a French WMS server.\n" 114 114 + "Do not upload any data after this message.", this.toString())); 115 115 dontDisplayErrors = true; … … 124 124 || (currentZone > layoutZone && Math.abs(zoneLimits[layoutZone] - lt) > cMaxOverlappingZones)) { 125 125 JOptionPane.showMessageDialog(Main.parent, 126 tr("IMPORTANT : data position ned far away from\n"126 tr("IMPORTANT : data positioned far away from\n" 127 127 + "the current Lambert zone limits.\n" 128 128 + "Do not upload any data after this message.\n" -
trunk/src/org/openstreetmap/josm/gui/SplashScreen.java
r1179 r1212 147 147 if (!visible) 148 148 return; 149 status.setText(message + " 149 status.setText(message + "..."); 150 150 } 151 151 -
trunk/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java
r1180 r1212 55 55 }); 56 56 drawRawGpsLines.setSelected(Main.pref.getBoolean("draw.rawgps.lines")); 57 drawRawGpsLines.setToolTipText(tr("If your gps device draw too few lines, select this to draw lines along your way."));57 drawRawGpsLines.setToolTipText(tr("If your gps device draws too few lines, select this to draw lines along your way.")); 58 58 panel.add(drawRawGpsLines, GBC.eol().insets(20,0,0,0)); 59 59 -
trunk/src/org/openstreetmap/josm/gui/preferences/PluginPreference.java
r1191 r1212 124 124 plugin.add(update, GBC.std().insets(0,0,10,0)); 125 125 126 JButton configureSites = new JButton(tr("Configure Sites 126 JButton configureSites = new JButton(tr("Configure Sites...")); 127 127 configureSites.addActionListener(new ActionListener(){ 128 128 public void actionPerformed(ActionEvent e) { … … 293 293 try { 294 294 int answer = JOptionPane.showConfirmDialog(Main.parent, 295 tr("Plugin archive already available. Do you want to download current version by deleting existing archive?\n\n{0}",295 tr("Plugin archive already available. Do you want to download the current version by deleting existing archive?\n\n{0}", 296 296 plinfo.file.getCanonicalPath()), tr("Plugin already exists"), JOptionPane.OK_CANCEL_OPTION); 297 297 if (answer == JOptionPane.OK_OPTION) { -
trunk/src/org/openstreetmap/josm/plugins/PluginDownloader.java
r1169 r1212 141 141 } catch (Exception e) { 142 142 e.printStackTrace(); 143 JOptionPane.showMessageDialog(Main.parent, tr("The plugin {0} seem to be broken or could not be downloaded automatically.", pd.name));143 JOptionPane.showMessageDialog(Main.parent, tr("The plugin {0} seems to be broken or could not be downloaded automatically.", pd.name)); 144 144 } 145 145 }
Note:
See TracChangeset
for help on using the changeset viewer.