Changeset 1032 in josm
- Timestamp:
- 2008-10-07T20:31:07+02:00 (17 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Epsg4326.java
r627 r1032 1 1 // License: GPL. Copyright 2007 by Immanuel Scholz and others 2 2 package org.openstreetmap.josm.data.projection; 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 import org.openstreetmap.josm.data.coor.LatLon; 5 5 import org.openstreetmap.josm.data.coor.EastNorth; … … 21 21 22 22 @Override public String toString() { 23 return "EPSG:4326"; 23 return tr("EPSG:4326"); 24 24 } 25 25 -
trunk/src/org/openstreetmap/josm/data/projection/Mercator.java
r627 r1032 1 1 // License: GPL. Copyright 2007 by Immanuel Scholz and others 2 2 package org.openstreetmap.josm.data.projection; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 3 5 4 6 import org.openstreetmap.josm.data.coor.EastNorth; … … 29 31 30 32 @Override public String toString() { 31 return "Mercator"; 33 return tr("Mercator"); 32 34 } 33 35 -
trunk/src/org/openstreetmap/josm/gui/preferences/AdvancedPreference.java
r999 r1032 92 92 public void actionPerformed(ActionEvent e) { 93 93 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)); 95 95 JTextField key = new JTextField(10); 96 96 JTextField value = new JTextField(10); 97 97 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)); 99 99 p.add(value, GBC.eol().insets(5,0,0,0).fill(GBC.HORIZONTAL)); 100 100 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 104 104 StringBuilder sb = new StringBuilder(); 105 105 if (revUrl == null) { 106 sb.append("Development version. Unknown revision."); 106 sb.append(tr("Development version. Unknown revision.")); 107 107 File f = new File("org/openstreetmap/josm/Main.class"); 108 108 if (!f.exists()) … … 132 132 public void lostOwnership(Clipboard clipboard, Transferable contents) {} 133 133 }); 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()); 135 135 } 136 136 catch (RuntimeException x) {}
Note:
See TracChangeset
for help on using the changeset viewer.