Changeset 20142 in osm for applications/editors
- Timestamp:
- 2010-02-25T12:56:02+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/build.xml
r19485 r20142 26 26 ** update before publishing 27 27 --> 28 <property name="commit.message" value=" Changed the constructor signature of the plugin main class" />28 <property name="commit.message" value="validator: fixed josm bug 4594" /> 29 29 <property name="plugin.main.version" value="2830" /> 30 30 -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java
r19616 r20142 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.GridBagLayout; 5 6 import java.awt.geom.Area; 6 7 import java.util.ArrayList; … … 14 15 import java.util.Map.Entry; 15 16 17 import javax.swing.JLabel; 16 18 import javax.swing.JOptionPane; 19 import javax.swing.JPanel; 17 20 18 21 import org.openstreetmap.josm.Main; … … 151 154 Node n = (Node) osm; 152 155 if (!a.contains(n.getCoor())) { 156 JPanel msg = new JPanel(new GridBagLayout()); 157 msg.add(new JLabel( 158 "<html>" + 159 // leave message in one tr() as there is a grammatical 160 // connection. 161 tr("You are about to delete nodes outside of the area you have downloaded." 162 + "<br>" 163 + "This can cause problems because other objects (that you do not see) might use them." 164 + "<br>" + "Do you really want to delete?") + "</html>")); 165 153 166 return ConditionalOptionPaneUtil.showConfirmationDialog( 154 167 "delete_outside_nodes", 155 168 Main.parent, 156 tr("You are about to delete nodes outside of the area you have downloaded." + 157 "<br>" + 158 "This can cause problems because other objects (that you don't see) might use them." + 159 "<br>" + 160 "Do you really want to delete?") + "</html>", 161 tr("Confirmation"), 169 msg, 170 tr("Delete confirmation"), 162 171 JOptionPane.YES_NO_OPTION, 163 172 JOptionPane.QUESTION_MESSAGE,
Note:
See TracChangeset
for help on using the changeset viewer.