Changeset 16072 in josm
- Timestamp:
- 2020-03-08T10:37:59+01:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
r16068 r16072 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; 5 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 import static org.openstreetmap.josm.tools.I18n.trn; 6 7 7 8 import java.awt.GridBagConstraints; … … 303 304 304 305 if (errorSources.length() > 0) 305 throw new IOException(tr("Could not access data file(s):\n{0}", errorSources)); 306 throw new IOException(trn( 307 "Could not access data file:\n{0}", 308 "Could not access data files:\n{0}", errorSources.length(), errorSources)); 306 309 } 307 310 -
trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
r15707 r16072 434 434 */ 435 435 ZoomToListSelection() { 436 putValue(NAME, tr("Zoom to selected element(s)"));437 putValue(SHORT_DESCRIPTION, tr("Zoom to selected element(s)"));438 436 new ImageProvider("dialogs/autoscale", "selection").getResource().attachImageIcon(this, true); 439 437 updateEnabledState(); … … 452 450 453 451 protected void updateEnabledState() { 452 String name = trn("Zoom to selected element", "Zoom to selected elements", model.getSelected().size()); 453 putValue(NAME, name); 454 putValue(SHORT_DESCRIPTION, name); 454 455 setEnabled(!model.isSelectionEmpty()); 455 456 }
Note:
See TracChangeset
for help on using the changeset viewer.