Ticket #4425: josm-text-fixes.diff
| File josm-text-fixes.diff, 3.9 KB (added by , 16 years ago) |
|---|
-
src/org/openstreetmap/josm/actions/OpenFileAction.java
117 117 if (f.isDirectory()) { 118 118 JOptionPane.showMessageDialog( 119 119 Main.parent, 120 tr("<html>Cannot open directory.<br>Please select a file! "),120 tr("<html>Cannot open directory.<br>Please select a file!</html>"), 121 121 tr("Open file"), 122 122 JOptionPane.INFORMATION_MESSAGE 123 123 ); -
src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
35 35 * See USAGE String below. 36 36 */ 37 37 public final class OrthogonalizeAction extends JosmAction { 38 String USAGE = tr(39 "When one or more ways are selected, the shape is adjusted such, that all angles are 90 or 180 degrees.<h3>"+40 "You can add two nodes to the selection. Then, the direction is fixed by these two reference nodes."+41 "(Afterwards, you can undo the movement for certain nodes:<br>"+42 "Select them and press the shortcut for Orthogonalize / Undo. The default is Shift-Q.)");38 private String USAGE = tr( 39 "<h3>When one or more ways are selected, the shape is adjusted such, that all angles are 90 or 180 degrees.</h3>"+ 40 "You can add two nodes to the selection. Then, the direction is fixed by these two reference nodes. "+ 41 "(Afterwards, you can undo the movement for certain nodes:<br>"+ 42 "Select them and press the shortcut for Orthogonalize / Undo. The default is Shift-Q.)"); 43 43 44 44 public OrthogonalizeAction() { 45 45 super(tr("Orthogonalize Shape"), 46 46 "ortho", 47 tr("Move nodes so all angles are 90 or 270 degree "),47 tr("Move nodes so all angles are 90 or 270 degrees"), 48 48 Shortcut.registerShortcut("tools:orthogonalize", tr("Tool: {0}", tr("Orthogonalize Shape")), 49 49 KeyEvent.VK_Q, 50 50 Shortcut.GROUP_EDIT), true); … … 104 104 JOptionPane.showMessageDialog( 105 105 Main.parent, 106 106 tr("Orthogonalize Shape / Undo\n"+ 107 "Please select nodes that were moved by the previous Orthogonalize Shape action!"),107 "Please select nodes that were moved by the previous Orthogonalize Shape action!"), 108 108 tr("Undo Orthogonalize Shape"), 109 109 JOptionPane.INFORMATION_MESSAGE); 110 110 } … … 118 118 String msg = tr("<html>You are using the EPSG:4326 projection which might lead<br>" + 119 119 "to undesirable results when doing rectangular alignments.<br>" + 120 120 "Change your projection to get rid of this warning.<br>" + 121 "Do you want to continue?</html>");121 "Do you want to continue?</html>"); 122 122 if (!ConditionalOptionPaneUtil.showConfirmationDialog( 123 123 "align_rectangular_4326", 124 124 Main.parent, … … 260 260 } catch (RejectedAngleException ex) { 261 261 throw new InvalidUserInputException( 262 262 "<html>Please make sure all selected ways head in a similar direction<br>"+ 263 "or orthogonalize them one by one.");263 "or orthogonalize them one by one.</html>"); 264 264 } 265 265 266 266 // put the nodes of all ways in a set
