Ignore:
Timestamp:
2013-08-11T23:47:22+02:00 (11 years ago)
Author:
Don-vip
Message:

see #8885 - cleanup in command line arguments and website URL handling

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java

    r6084 r6143  
    135135                                    tr("You have encountered an error in JOSM. Before you file a bug report " +
    136136                                            "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));
    138138                            p.add(new JMultilineLabel(
    139139                                    tr("You should also update your plugins. If neither of those help please " +
     
    147147                                    tr("Alternatively, if that does not work you can manually fill in the information " +
    148148                                            "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));
    150150                            if (Utils.copyToClipboard(text)) {
    151151                                p.add(new JLabel(tr("(The text has already been copied to your clipboard.)")), GBC.eop());
     
    196196            Utils.close(gzip);
    197197
    198             return new URL("http://josm.openstreetmap.de/josmticket?" +
     198            return new URL(Main.JOSM_WEBSITE+"/josmticket?" +
    199199                    "gdata="+Base64.encode(ByteBuffer.wrap(out.toByteArray()), true));
    200200        } catch (IOException e) {
     
    213213        URL url = getBugReportUrl(debugText);
    214214        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);
    216216        }
    217217        return null;
  • trunk/src/org/openstreetmap/josm/tools/WikiReader.java

    r5937 r6143  
    2323
    2424    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);
    2626    }
    2727
Note: See TracChangeset for help on using the changeset viewer.