Changeset 1032 in josm for trunk


Ignore:
Timestamp:
2008-10-07T20:31:07+02:00 (16 years ago)
Author:
mfloryan
Message:

Fixed some messages that were not translatable.

Location:
trunk/src/org/openstreetmap/josm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/Epsg4326.java

    r627 r1032  
    11// License: GPL. Copyright 2007 by Immanuel Scholz and others
    22package org.openstreetmap.josm.data.projection;
    3 
     3import static org.openstreetmap.josm.tools.I18n.tr;
    44import org.openstreetmap.josm.data.coor.LatLon;
    55import org.openstreetmap.josm.data.coor.EastNorth;
     
    2121
    2222        @Override public String toString() {
    23                 return "EPSG:4326";
     23                return tr("EPSG:4326");
    2424        }
    2525
  • trunk/src/org/openstreetmap/josm/data/projection/Mercator.java

    r627 r1032  
    11// License: GPL. Copyright 2007 by Immanuel Scholz and others
    22package org.openstreetmap.josm.data.projection;
     3
     4import static org.openstreetmap.josm.tools.I18n.tr;
    35
    46import org.openstreetmap.josm.data.coor.EastNorth;
     
    2931
    3032        @Override public String toString() {
    31                 return "Mercator";
     33                return tr("Mercator");
    3234        }
    3335
  • trunk/src/org/openstreetmap/josm/gui/preferences/AdvancedPreference.java

    r999 r1032  
    9292                        public void actionPerformed(ActionEvent e) {
    9393                                JPanel p = new JPanel(new GridBagLayout());
    94                                 p.add(new JLabel("Key"), GBC.std().insets(0,0,5,0));
     94                                p.add(new JLabel(tr("Key")), GBC.std().insets(0,0,5,0));
    9595                                JTextField key = new JTextField(10);
    9696                                JTextField value = new JTextField(10);
    9797                                p.add(key, GBC.eop().insets(5,0,0,0).fill(GBC.HORIZONTAL));
    98                                 p.add(new JLabel("Value"), GBC.std().insets(0,0,5,0));
     98                                p.add(new JLabel(tr("Value")), GBC.std().insets(0,0,5,0));
    9999                                p.add(value, GBC.eol().insets(5,0,0,0).fill(GBC.HORIZONTAL));
    100100                                int answer = JOptionPane.showConfirmDialog(gui, p, tr("Enter a new key/value pair"), JOptionPane.OK_CANCEL_OPTION);
  • trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java

    r914 r1032  
    104104                                        StringBuilder sb = new StringBuilder();
    105105                                        if (revUrl == null) {
    106                                                 sb.append("Development version. Unknown revision.");
     106                                                sb.append(tr("Development version. Unknown revision."));
    107107                                                File f = new File("org/openstreetmap/josm/Main.class");
    108108                                                if (!f.exists())
     
    132132                                                        public void lostOwnership(Clipboard clipboard, Transferable contents) {}
    133133                                                });
    134                                                 p.add(new JLabel(tr("The text has already been copied to your clipboard.")), GBC.eop());
     134                                                p.add(new JLabel(tr("(The text has already been copied to your clipboard.)")), GBC.eop());
    135135                                        }
    136136                                        catch (RuntimeException x) {}
Note: See TracChangeset for help on using the changeset viewer.