diff --git a/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java b/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
index 1a9ff34..372bdfa 100644
|
a
|
b
|
public class SelectionListDialog extends ToggleDialog {
|
| 462 | 462 | case RELATION: numRelations++; break; |
| 463 | 463 | } |
| 464 | 464 | } |
| 465 | | return tr("Sel.: Rel.:{0} / Ways:{1} / Nodes:{2}", numRelations, numWays, numNodes); |
| | 465 | |
| | 466 | String s = tr("Selection: "); |
| | 467 | boolean needSeparator = false; |
| | 468 | if (numRelations > 0) { |
| | 469 | s += trn("{0} relation", "{0} relations", numRelations, numRelations); |
| | 470 | needSeparator = true; |
| | 471 | } |
| | 472 | if (numWays > 0) { |
| | 473 | if (needSeparator) { |
| | 474 | s += tr(" / "); |
| | 475 | } |
| | 476 | s += trn("{0} way", "{0} ways", numWays, numWays); |
| | 477 | needSeparator = true; |
| | 478 | } |
| | 479 | if (numNodes > 0) { |
| | 480 | if (needSeparator) { |
| | 481 | s += tr(" / "); |
| | 482 | } |
| | 483 | s += trn("{0} node", "{0} nodes", numNodes, numNodes); |
| | 484 | } |
| | 485 | return s; |
| 466 | 486 | } |
| 467 | 487 | |
| 468 | 488 | /** |