Changeset 26509 in osm for applications/editors/josm/plugins/turnlanes
- Timestamp:
- 2011-08-11T00:45:56+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/GuiContainer.java
r26192 r26509 3 3 import static java.lang.Math.sqrt; 4 4 import static org.openstreetmap.josm.plugins.turnlanes.gui.GuiUtil.locs; 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 6 7 import java.awt.BasicStroke; … … 146 147 } 147 148 148 throw new IllegalArgumentException( "No such lane.");149 throw new IllegalArgumentException(tr("No such lane.")); 149 150 } 150 151 -
applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/JunctionPane.java
r26192 r26509 1 1 package org.openstreetmap.josm.plugins.turnlanes.gui; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.awt.AlphaComposite; … … 333 335 && UnexpectedDataException.Kind.MISSING_TAG.format("lanes").equals(e.getMessage())) { 334 336 335 error.setText( "<html>The number of lanes is not specified for one or more roads;"336 + " please add missing lanes tags.</html>") ;337 error.setText(tr("<html>The number of lanes is not specified for one or more roads;" 338 + " please add missing lanes tags.</html>")); 337 339 } else { 338 340 displayError((RuntimeException) e); … … 341 343 342 344 private void displayError(RuntimeException e) { 343 error.setText( "<html>An error occured while constructing the model."344 + " Please run the validator to make sure the data is consistent. <br><br>Error: " + e.getMessage()345 + "< /html>");345 error.setText(tr("<html>An error occurred while constructing the model." 346 + " Please run the validator to make sure the data is consistent." 347 + "<br><br>Error: {0}</html>", e.getMessage())); 346 348 } 347 349
Note:
See TracChangeset
for help on using the changeset viewer.