diff --git a/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java b/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
index cf0a19b..428108e 100644
|
a
|
b
|
import org.openstreetmap.josm.gui.layer.OsmDataLayer;
|
| 69 | 69 | import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher; |
| 70 | 70 | import org.openstreetmap.josm.tools.ImageProvider; |
| 71 | 71 | import org.openstreetmap.josm.tools.Shortcut; |
| | 72 | import org.openstreetmap.josm.tools.Utils; |
| 72 | 73 | |
| 73 | 74 | /** |
| 74 | 75 | * A small tool dialog for displaying the current selection. |
| … |
… |
public class SelectionListDialog extends ToggleDialog {
|
| 454 | 455 | case RELATION: numRelations++; break; |
| 455 | 456 | } |
| 456 | 457 | } |
| 457 | | return tr("Sel.: Rel.:{0} / Ways:{1} / Nodes:{2}", numRelations, numWays, numNodes); |
| | 458 | |
| | 459 | List<String> selNumbers = new LinkedList<String>(); |
| | 460 | if (numRelations > 0) { |
| | 461 | selNumbers.add(tr("{0} Rel.", numRelations)); |
| | 462 | } |
| | 463 | if (numWays > 0) { |
| | 464 | selNumbers.add(trn("{0} Way", "{0} Ways", numWays, numWays)); |
| | 465 | } |
| | 466 | if (numNodes > 0) { |
| | 467 | selNumbers.add(trn("{0} Node", "{0} Nodes", numNodes, numNodes)); |
| | 468 | } |
| | 469 | return Utils.join(tr(", "), selNumbers) + tr(" selected"); |
| 458 | 470 | } |
| 459 | 471 | |
| 460 | 472 | /** |