Changeset 32330 in osm for applications
- Timestamp:
- 2016-06-19T22:20:02+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/gui/IncompleteMembersDownloadDialog.java
r32282 r32330 29 29 selectedOption = Integer.MIN_VALUE; 30 30 31 message = tr("The relation (id= " + id32 + ") has incomplete members.\nThey need to be downloaded to proceed with validation of this relation.\nDo you want to download incomplete members?");31 message = tr("The relation (id={0}) has incomplete members.\n"+ 32 "They need to be downloaded to proceed with validation of this relation.\nDo you want to download incomplete members?", id); 33 33 checkbox = new JCheckBox(tr("Remember my choice and do not ask me again in this session")); 34 34 options = new String[2]; -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/gui/ProceedDialog.java
r32282 r32330 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 import static org.openstreetmap.josm.tools.I18n.trn; 4 5 5 6 import java.awt.Component; … … 38 39 panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS)); 39 40 40 JLabel label1 = new JLabel(tr("PT_Assistant plugin found that this relation (id= " + id + ") has errors:"));41 JLabel label1 = new JLabel(tr("PT_Assistant plugin found that this relation (id={0}) has errors:", id)); 41 42 panel.add(label1); 42 43 label1.setAlignmentX(Component.LEFT_ALIGNMENT); 43 44 44 45 if (numberOfDirectionErrors != 0) { 45 JLabel label2 = new JLabel(" " + numberOfDirectionErrors + tr(" direction errors"));46 JLabel label2 = new JLabel(" " + tr("{0} direction error", "{0} direction errors", numberOfDirectionErrors, numberOfDirectionErrors)); 46 47 panel.add(label2); 47 48 label2.setAlignmentX(Component.LEFT_ALIGNMENT); … … 49 50 50 51 if (numberOfRoadTypeErrors != 0) { 51 JLabel label3 = new JLabel(" " + numberOfRoadTypeErrors + tr(" road type errors"));52 JLabel label3 = new JLabel(" " + tr("{0} road type error", "{0} road type errors", numberOfRoadTypeErrors, numberOfRoadTypeErrors)); 52 53 panel.add(label3); 53 54 label3.setAlignmentX(Component.LEFT_ALIGNMENT);
Note:
See TracChangeset
for help on using the changeset viewer.