Subject: [PATCH] #23925
---
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/gui/HelpAwareOptionPane.java b/src/org/openstreetmap/josm/gui/HelpAwareOptionPane.java
|
a
|
b
|
|
| 262 | 262 | if (msg instanceof String) { |
| 263 | 263 | String msgStr = (String) msg; |
| 264 | 264 | content = new HtmlPanel(msgStr.startsWith("<html>") ? msgStr : "<html>" + msgStr + "</html>"); |
| | 265 | ((HtmlPanel) content).enableClickableHyperlinks(); |
| 265 | 266 | } else { |
| 266 | 267 | content = msg; |
| 267 | 268 | } |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/src/org/openstreetmap/josm/tools/ExceptionUtil.java b/src/org/openstreetmap/josm/tools/ExceptionUtil.java
|
a
|
b
|
|
| 28 | 28 | import org.openstreetmap.josm.data.osm.OsmPrimitiveType; |
| 29 | 29 | import org.openstreetmap.josm.data.osm.Relation; |
| 30 | 30 | import org.openstreetmap.josm.data.osm.Way; |
| | 31 | import org.openstreetmap.josm.gui.help.HelpUtil; |
| 31 | 32 | import org.openstreetmap.josm.io.ChangesetClosedException; |
| 32 | 33 | import org.openstreetmap.josm.io.IllegalDataException; |
| 33 | 34 | import org.openstreetmap.josm.io.MissingOAuthAccessTokenException; |
| … |
… |
|
| 578 | 579 | errorHeader.startsWith("You requested too many nodes"))) { |
| 579 | 580 | message += "<br>" |
| 580 | 581 | + tr("The area you tried to download is too big or your request was too large." |
| 581 | | + "<br>Either request a smaller area or use an export file provided by the OSM community."); |
| | 582 | + "<br>Either request a smaller area or use an export file provided by the OSM community." |
| | 583 | + "<br><ul>" |
| | 584 | + "<li><a href=\"{0}\">Overpass</a></li>" |
| | 585 | + "<li><a href=\"{1}\">Geofabrik</a></li>" |
| | 586 | + "<li><a href=\"{2}\">Planet</a></li>" |
| | 587 | + "</ul>", HelpUtil.getHelpTopicUrl("/Help/Action/Download#DownloadfromOverpassAPI"), |
| | 588 | "https://www.geofabrik.de/data/download.html", |
| | 589 | "https://planet.openstreetmap.org/"); |
| 582 | 590 | } else if (errorHeader != null) { |
| 583 | 591 | message += tr("<br>Error message(untranslated): {0}", errorHeader); |
| 584 | 592 | } |