Changeset 9844 in josm for trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
- Timestamp:
- 2016-02-20T23:50:52+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
r9430 r9844 128 128 129 129 if (isReprojectionPossible()) { 130 appendix = ". " + tr("JOSM will use EPSG:4326 to query the server, but results may vary "131 + "depending on the WMS server") ;130 appendix = ". <p>" + tr("JOSM will use EPSG:4326 to query the server, but results may vary " 131 + "depending on the WMS server") + "</p>"; 132 132 } 133 133 return ret.substring(0, ret.length()-2) + appendix; … … 139 139 140 140 if (!isProjectionSupported(newValue)) { 141 String message = tr("The layer {0} does not support the new projection {1}.\n"142 + " Supported projections are: {2}\n"143 + "Change the projection again or remove the layer.",144 getName(), newValue.toCode(), nameSupportedProjections());141 String message = 142 "<html><body><p>" + tr("The layer {0} does not support the new projection {1}.", getName(), newValue.toCode()) + 143 "<p style='width: 450px; position: absolute; margin: 0px;'>" + tr("Supported projections are: {0}", nameSupportedProjections()) + "</p>" + 144 "<p>" + tr("Change the projection again or remove the layer."); 145 145 146 146 ExtendedDialog warningDialog = new ExtendedDialog(Main.parent, tr("Warning"), new String[]{tr("OK")}).
Note:
See TracChangeset
for help on using the changeset viewer.