Ignore:
Timestamp:
2009-02-07T16:19:58+01:00 (15 years ago)
Author:
stoecker
Message:

fix build error

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  
    11package org.openstreetmap.josm.plugins.taggingpresettester;
     2
     3import static org.openstreetmap.josm.tools.I18n.tr;
    24
    35import java.awt.BorderLayout;
     
    2426
    2527import org.openstreetmap.josm.data.osm.OsmPrimitive;
    26 import org.openstreetmap.josm.gui.tagging.TaggingCellRenderer;
    2728import org.openstreetmap.josm.gui.tagging.TaggingPreset;
    2829import org.xml.sax.SAXException;
     
    4748            } catch (IOException e) {
    4849                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));
    5051            } catch (SAXException e) {
    5152                e.printStackTrace();
    52                 JOptionPane.showMessageDialog(null, "Error parsing "+source+": "+e.getMessage());
     53                JOptionPane.showMessageDialog(null, tr("Error parsing {0}: {1}",source,e.getMessage()));
    5354            }
    5455
     
    7778
    7879    public TaggingPresetTester(String[] args) {
    79         super("Tagging Preset Tester");
     80        super(tr("Tagging Preset Tester"));
    8081        this.args = args;
    8182        taggingPresets = new JComboBox();
     
    9293        reselect();
    9394
    94         JButton b = new JButton("Reload");
     95        JButton b = new JButton(tr("Reload"));
    9596        b.addActionListener(new ActionListener(){
    9697            public void actionPerformed(ActionEvent e) {
Note: See TracChangeset for help on using the changeset viewer.