Changeset 1179 in josm


Ignore:
Timestamp:
Dec 25, 2008 12:25:20 PM (4 years ago)
Author:
stoecker
Message:

unified texts

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AboutAction.java

    r1169 r1179  
    119119 
    120120        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)); 
    124124        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)); 
    126132        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)); 
    128134        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)); 
    130136        info.add(new UrlLabel("http://www.opengeodata.org/?cat=17"), GBC.eol().fill(GBC.HORIZONTAL)); 
    131137 
  • trunk/src/org/openstreetmap/josm/gui/GettingStarted.java

    r1169 r1179  
    5151            } catch (IOException ioe) { 
    5252                motdcontent = "<html><body>\n<h1>" + 
    53                     tr("JOSM, the Java OpenStreetMap editor") + 
     53                    "JOSM - " + tr("Java OpenStreetMap Editor") + 
    5454                    "</h1>\n<h2 align=\"center\">(" + 
    5555                    tr ("Message of the day not available") + 
     
    121121            content = content.replace("<html>", "<html><style type=\"text/css\">\nbody { font-family: sans-serif; font-weight: bold; }\nh1 {text-align: center;}</style>"); 
    122122            /* replace the wiki title */ 
    123             content = content.replace("JOSM, the Java OpenStreetMap editor", tr("JOSM, the Java OpenStreetMap editor")); 
     123            content = content.replace("Java OpenStreetMap Editor", tr("Java OpenStreetMap Editor")); 
    124124        } 
    125125 
  • trunk/src/org/openstreetmap/josm/gui/MainApplet.java

    r1169 r1179  
    126126 
    127127    public static void main(String[] args) { 
    128         final JFrame frame = new JFrame("Java OpenStreetMap Applet"); 
     128        final JFrame frame = new JFrame("Java OpenStreetMap Editor"); 
    129129        MainApplet applet = new MainApplet(); 
    130130        applet.setStub(new AppletStub() { 
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r1171 r1179  
    216216        preConstructorInit(args); 
    217217        splash.setStatus(tr("Creating main GUI")); 
    218         JFrame mainFrame = new JFrame(tr("Java OpenStreetMap - Editor")); 
     218        JFrame mainFrame = new JFrame(tr("Java OpenStreetMap Editor")); 
    219219        Main.parent = mainFrame; 
    220220        final Main main = new MainApplication(mainFrame); 
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r1169 r1179  
    168168            editLayer.listenerModified.add(new ModifiedChangedListener(){ 
    169169                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")); 
    171172                } 
    172173            }); 
  • trunk/src/org/openstreetmap/josm/gui/SplashScreen.java

    r1169 r1179  
    6565 
    6666        // 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")); 
    6868        caption.setFont(new Font("Helvetica", Font.BOLD, 20)); 
    6969        gbc.gridheight = 1; 
     
    165165        } 
    166166    } 
    167  
    168167} 
Note: See TracChangeset for help on using the changeset viewer.