Changeset 13569 in osm for applications/editors/josm/plugins
- Timestamp:
- 2009-02-07T16:19:58+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTester.java
r13497 r13569 1 1 package org.openstreetmap.josm.plugins.taggingpresettester; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.awt.BorderLayout; … … 24 26 25 27 import org.openstreetmap.josm.data.osm.OsmPrimitive; 26 import org.openstreetmap.josm.gui.tagging.TaggingCellRenderer;27 28 import org.openstreetmap.josm.gui.tagging.TaggingPreset; 28 29 import org.xml.sax.SAXException; … … 47 48 } catch (IOException e) { 48 49 e.printStackTrace(); 49 JOptionPane.showMessageDialog(null, "Could not read tagging preset source: "+source);50 JOptionPane.showMessageDialog(null, tr("Could not read tagging preset source: {0}",source)); 50 51 } catch (SAXException e) { 51 52 e.printStackTrace(); 52 JOptionPane.showMessageDialog(null, "Error parsing "+source+": "+e.getMessage());53 JOptionPane.showMessageDialog(null, tr("Error parsing {0}: {1}",source,e.getMessage())); 53 54 } 54 55 … … 77 78 78 79 public TaggingPresetTester(String[] args) { 79 super( "Tagging Preset Tester");80 super(tr("Tagging Preset Tester")); 80 81 this.args = args; 81 82 taggingPresets = new JComboBox(); … … 92 93 reselect(); 93 94 94 JButton b = new JButton( "Reload");95 JButton b = new JButton(tr("Reload")); 95 96 b.addActionListener(new ActionListener(){ 96 97 public void actionPerformed(ActionEvent e) {
Note:
See TracChangeset
for help on using the changeset viewer.