Ticket #4488: josm-typos.diff
| File josm-typos.diff, 13.6 KB (added by , 16 years ago) |
|---|
-
src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
114 114 115 115 JPanel p = new JPanel(new GridBagLayout()); 116 116 p.add(new JMultilineLabel( 117 tr("You have encountered an error in JOSM. Before you file a bug report " +118 "make sure you have updated to the latest version of JOSM here:")), GBC.eol());117 tr("You have encountered an error in JOSM. Before you file a bug report " + 118 "make sure you have updated to the latest version of JOSM here:")), GBC.eol()); 119 119 p.add(new UrlLabel("http://josm.openstreetmap.de/#Download"), GBC.eop().insets(8,0,0,0)); 120 120 p.add(new JMultilineLabel( 121 tr("You should also update your plugins. If neither of those help please " +122 "file a bug report in our bugtracker using this link:")), GBC.eol());121 tr("You should also update your plugins. If neither of those help please " + 122 "file a bug report in our bugtracker using this link:")), GBC.eol()); 123 123 p.add(new UrlLabel(url.toString(), "http://josm.openstreetmap.de/josmticket?..."), GBC.eop().insets(8,0,0,0)); 124 124 p.add(new JMultilineLabel( 125 tr("There the error information provided below should already be " +126 "filled in for you. Please include information on how to reproduce" +127 "the error and try to supply as much detail as possible.")), GBC.eop());125 tr("There the error information provided below should already be " + 126 "filled in for you. Please include information on how to reproduce " + 127 "the error and try to supply as much detail as possible.")), GBC.eop()); 128 128 p.add(new JMultilineLabel( 129 tr("Alternatively, if that does not work you can manually fill in the information " +130 "below at this URL:")), GBC.eol());129 tr("Alternatively, if that does not work you can manually fill in the information " + 130 "below at this URL:")), GBC.eol()); 131 131 p.add(new UrlLabel("http://josm.openstreetmap.de/newticket"), GBC.eop().insets(8,0,0,0)); 132 132 try { 133 133 Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(text), new ClipboardOwner(){ -
src/org/openstreetmap/josm/plugins/PluginHandler.java
553 553 } 554 554 monitor.subTask(tr("Removing deprecated plugins...")); 555 555 filterDeprecatedPlugins(parent, plugins); 556 monitor.subTask(tr("Removing u maintained plugins..."));556 monitor.subTask(tr("Removing unmaintained plugins...")); 557 557 filterUnmaintainedPlugins(parent, plugins); 558 558 Map<String, PluginInformation> infos = loadLocallyAvailablePluginInformation(monitor.createSubTaskMonitor(1,false)); 559 559 List<PluginInformation> ret = new LinkedList<PluginInformation>(); … … 730 730 if (plugin.exists()) { 731 731 if (!plugin.delete()) { 732 732 System.err.println(tr("Warning: failed to delete outdated plugin ''{0}''.", plugin.toString())); 733 System.err.println(tr("Warning: failed to install already downloaded plugin ''{0}''. Skipping installation. JOSM still going to load the old plugin version.", pluginName));733 System.err.println(tr("Warning: failed to install already downloaded plugin ''{0}''. Skipping installation. JOSM is still going to load the old plugin version.", pluginName)); 734 734 continue; 735 735 } 736 736 } 737 737 if (!updatedPlugin.renameTo(plugin)) { 738 738 System.err.println(tr("Warning: failed to install plugin ''{0}'' from temporary download file ''{1}''. Renaming failed.", plugin.toString(), updatedPlugin.toString())); 739 System.err.println(tr("Warning: failed to install already downloaded plugin ''{0}''. Skipping installation. JOSM still going to load the old plugin version.", pluginName));739 System.err.println(tr("Warning: failed to install already downloaded plugin ''{0}''. Skipping installation. JOSM is still going to load the old plugin version.", pluginName)); 740 740 } 741 741 } 742 742 return; -
src/org/openstreetmap/josm/gui/preferences/PrefJPanel.java
162 162 editor.setContentType("text/html"); 163 163 editor.setText( 164 164 tr("<h1><a name=\"top\">Keyboard Shortcuts</a></h1>")+ 165 tr("<p>Please note that shortcut skeys are assigned to the actions when JOSM is started. So you need to <b>restart</b> "166 +"JOSM to see your changes.</p>")+167 tr("<p>Furthermore, the shortcuts are activated when the actions are assigned to a menu entry of button for the first "168 +"time. So some of your changes may become active even without restart --- but also without collistion handling. "169 +"This is another reason to <b>restart</b> JOSM after making any changes here.</p>")+170 tr("<p>You may notice that the key selection list on the next page lists all keys that exist on all kinds of keyboards "171 +"Java knows about, not just those keys that exist on your keyboard. Please use only those values that correspond to "172 +"a real key on your keyboard. So if your keyboard has no ''Copy'' key (PC keyboard do not have them, Sun keyboards do), "173 +"thedo not use it. Also there will be ''keys'' listed that correspond to a shortcut on your keyboard (e.g. '':''/Colon). "174 +"Please also do not use them, use the base key ('';''/Semicolon on US keyboards, ''.''/Period on German keyboards, ...) "175 +"instead. Not doing so may result in conflicts, as there is no way for JOSM to know that Ctrl+Shift+; and Ctrl+: "176 +"actually is the same thing on an US keyboard...</p>")+177 tr("<p>Thank you for your understanding</p>")+178 tr("<h1>Modifier Groups</h1>")+179 tr("<p>The last page lists the modifier keys JOSM will automatically assign to shortcuts. For every of the four kinds "180 +"of shortcuts there are three alternatives. JOSM will try those alternativein the listed order when managing a "181 +"conflict. If all alternatives would result in shortcuts that are already taken, it will assign a random shortcut "182 +"instead.</p>")+183 tr("<p>The pseudo-modifier ''disabled'' will disable the shortcut when encountered.</p>")165 tr("<p>Please note that shortcut keys are assigned to the actions when JOSM is started. So you need to <b>restart</b> " 166 +"JOSM to see your changes.</p>")+ 167 tr("<p>Furthermore, the shortcuts are activated when the actions are assigned to a menu entry of button for the first " 168 +"time. So some of your changes may become active even without restart --- but also without collision handling. " 169 +"This is another reason to <b>restart</b> JOSM after making any changes here.</p>")+ 170 tr("<p>You may notice that the key selection list on the next page lists all keys that exist on all kinds of keyboards " 171 +"Java knows about, not just those keys that exist on your keyboard. Please use only those values that correspond to " 172 +"a real key on your keyboard. So if your keyboard has no ''Copy'' key (PC keyboard do not have them, Sun keyboards do), " 173 +"then do not use it. Also there will be ''keys'' listed that correspond to a shortcut on your keyboard (e.g. '':''/Colon). " 174 +"Please also do not use them, use the base key ('';''/Semicolon on US keyboards, ''.''/Period on German keyboards, ...) " 175 +"instead. Not doing so may result in conflicts, as there is no way for JOSM to know that Ctrl+Shift+; and Ctrl+: " 176 +"actually is the same thing on an US keyboard...</p>")+ 177 tr("<p>Thank you for your understanding</p>")+ 178 tr("<h1>Modifier Groups</h1>")+ 179 tr("<p>The last page lists the modifier keys JOSM will automatically assign to shortcuts. For every of the four kinds " 180 +"of shortcuts there are three alternatives. JOSM will try those alternatives in the listed order when managing a " 181 +"conflict. If all alternatives would result in shortcuts that are already taken, it will assign a random shortcut " 182 +"instead.</p>")+ 183 tr("<p>The pseudo-modifier ''disabled'' will disable the shortcut when encountered.</p>") 184 184 ); 185 185 editor.setCaretPosition(0); // scroll up 186 186 prefTabPane.addTab(tr("Read First"), new JScrollPane(editor)); -
src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java
180 180 181 181 colorTypeNone.setToolTipText(tr("All points and track segments will have the same color. Can be customized in Layer Manager.")); 182 182 colorTypeVelocity.setToolTipText(tr("Colors points and track segments by velocity.")); 183 colorTypeDilution.setToolTipText(tr("Colors points and track segments by dilution of position (HDOP). Your capture device needs to log sthat information."));183 colorTypeDilution.setToolTipText(tr("Colors points and track segments by dilution of position (HDOP). Your capture device needs to log that information.")); 184 184 185 185 // color Tracks by Velocity Tune 186 186 int ccts = Main.pref.getInteger("draw.rawgps.colorTracksTune", 45); -
src/org/openstreetmap/josm/gui/preferences/PluginPreference.java
67 67 if (! downloaded.isEmpty()) { 68 68 sb.append(trn( 69 69 "The following plugin has been downloaded <strong>successfully</strong>:", 70 "The following {0} plugins have been downloaded successfully:",70 "The following {0} plugins have been downloaded <strong>successfully</strong>:", 71 71 downloaded.size(), 72 72 downloaded.size() 73 73 )); -
src/org/openstreetmap/josm/io/OsmChangesetParser.java
79 79 throwException(tr("Illegal value for attribute ''{0}''. Got ''{1}''.", "id", value)); 80 80 } 81 81 if (id <= 0) { 82 throwException(tr("Illegal num meric value for attribute ''{0}''. Got ''{1}''.", "id", id));82 throwException(tr("Illegal numeric value for attribute ''{0}''. Got ''{1}''.", "id", id)); 83 83 } 84 84 current.setId(id); 85 85 -
src/org/openstreetmap/josm/io/FileImporter.java
59 59 e.printStackTrace(); 60 60 JOptionPane.showMessageDialog( 61 61 Main.parent, 62 tr("<html>Could not read file ''{0} \''.<br> Error is:<br>{1}</html>", f.getName(), e.getMessage()),62 tr("<html>Could not read file ''{0}''.<br>Error is:<br>{1}</html>", f.getName(), e.getMessage()), 63 63 tr("Error"), 64 64 JOptionPane.ERROR_MESSAGE 65 65 ); … … 73 73 e.printStackTrace(); 74 74 JOptionPane.showMessageDialog( 75 75 Main.parent, 76 tr("<html>Could not read files.<br> Error is:<br>{0}</html>", e.getMessage()),76 tr("<html>Could not read files.<br>Error is:<br>{0}</html>", e.getMessage()), 77 77 tr("Error"), 78 78 JOptionPane.ERROR_MESSAGE 79 79 );
