Changeset 1179 in josm for trunk/src/org
- Timestamp:
- 2008-12-25T12:25:20+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AboutAction.java
r1169 r1179 119 119 120 120 JPanel info = new JPanel(new GridBagLayout()); 121 info.add(new JLabel(tr("Java OpenStreetMap Editor Version {0}",version)), GBC.eol().fill(GBC.HORIZONTAL));122 info.add(new JLabel(tr("last change at {0}",time)), GBC.eol().fill(GBC.HORIZONTAL));123 info.add( new JLabel(tr("Java Version {0}",System.getProperty("java.version"))), GBC.eol().fill(GBC.HORIZONTAL));121 JLabel caption = new JLabel("JOSM - " + tr("Java OpenStreetMap Editor")); 122 caption.setFont(new Font("Helvetica", Font.BOLD, 20)); 123 info.add(caption, GBC.eol().fill(GBC.HORIZONTAL).insets(10,0,0,0)); 124 124 info.add(GBC.glue(0,10), GBC.eol()); 125 info.add(new JLabel(tr("Homepage")), GBC.std().insets(0,0,10,0)); 125 info.add(new JLabel(tr("Version {0}",version)), GBC.eol().fill(GBC.HORIZONTAL).insets(10,0,0,0)); 126 info.add(GBC.glue(0,5), GBC.eol()); 127 info.add(new JLabel(tr("Last change at {0}",time)), GBC.eol().fill(GBC.HORIZONTAL).insets(10,0,0,0)); 128 info.add(GBC.glue(0,5), GBC.eol()); 129 info.add(new JLabel(tr("Java Version {0}",System.getProperty("java.version"))), GBC.eol().fill(GBC.HORIZONTAL).insets(10,0,0,0)); 130 info.add(GBC.glue(0,10), GBC.eol()); 131 info.add(new JLabel(tr("Homepage")), GBC.std().insets(10,0,10,0)); 126 132 info.add(new UrlLabel("http://josm.openstreetmap.de"), GBC.eol().fill(GBC.HORIZONTAL)); 127 info.add(new JLabel(tr("Bug Reports")), GBC.std().insets( 0,0,10,0));133 info.add(new JLabel(tr("Bug Reports")), GBC.std().insets(10,0,10,0)); 128 134 info.add(new UrlLabel("http://josm.openstreetmap.de/newticket"), GBC.eol().fill(GBC.HORIZONTAL)); 129 info.add(new JLabel(tr("News about JOSM")), GBC.std().insets( 0,0,10,0));135 info.add(new JLabel(tr("News about JOSM")), GBC.std().insets(10,0,10,0)); 130 136 info.add(new UrlLabel("http://www.opengeodata.org/?cat=17"), GBC.eol().fill(GBC.HORIZONTAL)); 131 137 -
trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
r1169 r1179 51 51 } catch (IOException ioe) { 52 52 motdcontent = "<html><body>\n<h1>" + 53 tr("JOSM, the Java OpenStreetMap editor") +53 "JOSM - " + tr("Java OpenStreetMap Editor") + 54 54 "</h1>\n<h2 align=\"center\">(" + 55 55 tr ("Message of the day not available") + … … 121 121 content = content.replace("<html>", "<html><style type=\"text/css\">\nbody { font-family: sans-serif; font-weight: bold; }\nh1 {text-align: center;}</style>"); 122 122 /* replace the wiki title */ 123 content = content.replace("J OSM, the Java OpenStreetMap editor", tr("JOSM, the Java OpenStreetMap editor"));123 content = content.replace("Java OpenStreetMap Editor", tr("Java OpenStreetMap Editor")); 124 124 } 125 125 -
trunk/src/org/openstreetmap/josm/gui/MainApplet.java
r1169 r1179 126 126 127 127 public static void main(String[] args) { 128 final JFrame frame = new JFrame("Java OpenStreetMap Applet");128 final JFrame frame = new JFrame("Java OpenStreetMap Editor"); 129 129 MainApplet applet = new MainApplet(); 130 130 applet.setStub(new AppletStub() { -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r1171 r1179 216 216 preConstructorInit(args); 217 217 splash.setStatus(tr("Creating main GUI")); 218 JFrame mainFrame = new JFrame(tr("Java OpenStreetMap -Editor"));218 JFrame mainFrame = new JFrame(tr("Java OpenStreetMap Editor")); 219 219 Main.parent = mainFrame; 220 220 final Main main = new MainApplication(mainFrame); -
trunk/src/org/openstreetmap/josm/gui/MapView.java
r1169 r1179 168 168 editLayer.listenerModified.add(new ModifiedChangedListener(){ 169 169 public void modifiedChanged(boolean value, OsmDataLayer source) { 170 JOptionPane.getFrameForComponent(Main.parent).setTitle((value?"*":"")+tr("Java OpenStreetMap - Editor")); 170 JOptionPane.getFrameForComponent(Main.parent).setTitle((value?"*":"") 171 +tr("Java OpenStreetMap Editor")); 171 172 } 172 173 }); -
trunk/src/org/openstreetmap/josm/gui/SplashScreen.java
r1169 r1179 65 65 66 66 // Add the name of this application 67 JLabel caption = new JLabel( tr("JOSM -Java OpenStreetMap Editor"));67 JLabel caption = new JLabel("JOSM - " + tr("Java OpenStreetMap Editor")); 68 68 caption.setFont(new Font("Helvetica", Font.BOLD, 20)); 69 69 gbc.gridheight = 1; … … 165 165 } 166 166 } 167 168 167 }
Note:
See TracChangeset
for help on using the changeset viewer.