Changeset 658 in josm for trunk/src/org
- Timestamp:
- 2008-06-26T19:32:33+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/GettingStarted.java
r654 r658 53 53 motdcontent = wr.read(baseurl + "/wiki/MessageOfTheDay"); 54 54 } catch (IOException ioe) { 55 motdcontent = tr("<html>\n<h1>JOSM, the Java OpenStreetMap editor</h1>\n<h2>(Message of the day not available)</h2>"); 55 motdcontent = "<html><body>\n<h1>" + 56 tr("JOSM, the Java OpenStreetMap editor") + 57 "</h1>\n<h2>(" + 58 tr ("Message of the day not available") + 59 ")</h2>"; 56 60 } 57 61 … … 127 131 } 128 132 } 129 if (nothingIncluded) {130 content += "<div align=\"center\">Watch this space for announcements</div>";131 content += "<div align=\"center\" style=\"font-weight: normal\">(remove the \"motd\" entries in Advanced Preferences to see any available announcements next time)</div>";132 }133 133 content += motdcontent.substring(start); 134 134 content = content.replace("<html>", "<html><style>\nbody { font-family: sans-serif; font-weight: bold; }\n</style>"); 135 135 content = content.replace("<h1", "<h1 align=\"center\""); 136 /* replace the wiki title */ 137 content = content.replace("JOSM, the Java OpenStreetMap editor", tr("JOSM, the Java OpenStreetMap editor")); 136 138 } 137 139
Note:
See TracChangeset
for help on using the changeset viewer.