Changeset 2842 in josm for trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
- Timestamp:
- 2010-01-13T19:33:42+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
r2626 r2842 36 36 */ 37 37 public final class OrthogonalizeAction extends JosmAction { 38 String USAGE = "<h3>"+39 "When one or more ways are selected, the shape is adjusted , suchthat 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.<h3>"+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 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.)" ;42 "Select them and press the shortcut for Orthogonalize / Undo. The default is Shift-Q.)"); 43 43 44 44 public OrthogonalizeAction() { … … 194 194 JOptionPane.showMessageDialog( 195 195 Main.parent, 196 "<html><h2>" +tr("Usage")+tr(USAGE),196 "<html><h2>" + tr("Usage") + "</h2>" + USAGE + "</html>", 197 197 tr("Orthogonalize Shape"), 198 198 JOptionPane.INFORMATION_MESSAGE); … … 201 201 JOptionPane.showMessageDialog( 202 202 Main.parent, 203 "<html> <h3>"+tr(ex.getMessage())+"<br><hr><h3>"+tr("Usage")+tr(USAGE),203 "<html>" + tr(ex.getMessage()) + "<br><hr><h2>" + tr("Usage") + "</h2>" + USAGE + "</html>", 204 204 tr("Selected Elements cannot be orthogonalized"), 205 205 JOptionPane.INFORMATION_MESSAGE);
Note:
See TracChangeset
for help on using the changeset viewer.