Changeset 7684 in josm
- Timestamp:
- 2014-10-31T23:37:12+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r7575 r7684 352 352 int nodes = new FilteredCollection<>(data.getNodes(), OsmPrimitive.nonDeletedPredicate).size(); 353 353 int ways = new FilteredCollection<>(data.getWays(), OsmPrimitive.nonDeletedPredicate).size(); 354 int rels = new FilteredCollection<>(data.getRelations(), OsmPrimitive.nonDeletedPredicate).size(); 354 355 355 356 String tool = trn("{0} node", "{0} nodes", nodes, nodes)+", "; 356 tool += trn("{0} way", "{0} ways", ways, ways); 357 358 if (data.getVersion() != null) { 359 tool += ", " + tr("version {0}", data.getVersion()); 360 } 357 tool += trn("{0} way", "{0} ways", ways, ways)+", "; 358 tool += trn("{0} relation", "{0} relations", rels, rels); 359 361 360 File f = getAssociatedFile(); 362 361 if (f != null) {
Note:
See TracChangeset
for help on using the changeset viewer.