Changeset 6143 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2013-08-11T23:47:22+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
r6084 r6143 135 135 tr("You have encountered an error in JOSM. Before you file a bug report " + 136 136 "make sure you have updated to the latest version of JOSM here:")), GBC.eol()); 137 p.add(new UrlLabel( "http://josm.openstreetmap.de",2), GBC.eop().insets(8,0,0,0));137 p.add(new UrlLabel(Main.JOSM_WEBSITE,2), GBC.eop().insets(8,0,0,0)); 138 138 p.add(new JMultilineLabel( 139 139 tr("You should also update your plugins. If neither of those help please " + … … 147 147 tr("Alternatively, if that does not work you can manually fill in the information " + 148 148 "below at this URL:")), GBC.eol()); 149 p.add(new UrlLabel( "http://josm.openstreetmap.de/newticket",2), GBC.eop().insets(8,0,0,0));149 p.add(new UrlLabel(Main.JOSM_WEBSITE+"/newticket",2), GBC.eop().insets(8,0,0,0)); 150 150 if (Utils.copyToClipboard(text)) { 151 151 p.add(new JLabel(tr("(The text has already been copied to your clipboard.)")), GBC.eop()); … … 196 196 Utils.close(gzip); 197 197 198 return new URL( "http://josm.openstreetmap.de/josmticket?" +198 return new URL(Main.JOSM_WEBSITE+"/josmticket?" + 199 199 "gdata="+Base64.encode(ByteBuffer.wrap(out.toByteArray()), true)); 200 200 } catch (IOException e) { … … 213 213 URL url = getBugReportUrl(debugText); 214 214 if (url != null) { 215 return new UrlLabel(url.toString(), "http://josm.openstreetmap.de/josmticket?...", 2);215 return new UrlLabel(url.toString(), Main.JOSM_WEBSITE+"/josmticket?...", 2); 216 216 } 217 217 return null; -
trunk/src/org/openstreetmap/josm/tools/WikiReader.java
r5937 r6143 23 23 24 24 public WikiReader() { 25 this.baseurl = Main.pref.get("help.baseurl", "http://josm.openstreetmap.de");25 this.baseurl = Main.pref.get("help.baseurl", Main.JOSM_WEBSITE); 26 26 } 27 27
Note:
See TracChangeset
for help on using the changeset viewer.