Changeset 6897 in josm for trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
- Timestamp:
- 2014-03-05T18:37:26+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
r6797 r6897 162 162 tr("You have encountered an error in JOSM. Before you file a bug report " + 163 163 "make sure you have updated to the latest version of JOSM here:")), GBC.eol()); 164 p.add(new UrlLabel(Main. JOSM_WEBSITE,2), GBC.eop().insets(8,0,0,0));164 p.add(new UrlLabel(Main.getJOSMWebsite(),2), GBC.eop().insets(8,0,0,0)); 165 165 p.add(new JMultilineLabel( 166 166 tr("You should also update your plugins. If neither of those help please " + … … 174 174 tr("Alternatively, if that does not work you can manually fill in the information " + 175 175 "below at this URL:")), GBC.eol()); 176 p.add(new UrlLabel(Main. JOSM_WEBSITE+"/newticket",2), GBC.eop().insets(8,0,0,0));176 p.add(new UrlLabel(Main.getJOSMWebsite()+"/newticket",2), GBC.eop().insets(8,0,0,0)); 177 177 if (Utils.copyToClipboard(text)) { 178 178 p.add(new JLabel(tr("(The text has already been copied to your clipboard.)")), GBC.eop()); … … 217 217 Utils.close(gzip); 218 218 219 return new URL(Main. JOSM_WEBSITE+"/josmticket?" +219 return new URL(Main.getJOSMWebsite()+"/josmticket?" + 220 220 "gdata="+Base64.encode(ByteBuffer.wrap(out.toByteArray()), true)); 221 221 } catch (IOException e) { … … 234 234 URL url = getBugReportUrl(debugText); 235 235 if (url != null) { 236 return new UrlLabel(url.toString(), Main. JOSM_WEBSITE+"/josmticket?...", 2);236 return new UrlLabel(url.toString(), Main.getJOSMWebsite()+"/josmticket?...", 2); 237 237 } 238 238 return null;
Note:
See TracChangeset
for help on using the changeset viewer.