Changeset 9848 in josm for trunk/src


Ignore:
Timestamp:
2016-02-21T15:00:28+01:00 (9 years ago)
Author:
Don-vip
Message:

see #12426 - checkstyle

Location:
trunk/src/org/openstreetmap/josm/gui/layer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/Layer.java

    r9844 r9848  
    505505    public void projectionChanged(Projection oldValue, Projection newValue) {
    506506        if (!isProjectionSupported(newValue)) {
    507             String message = "<html><body><p>" + tr("The layer {0} does not support the new projection {1}.", getName(), newValue.toCode()) + "</p>" +
     507            String message = "<html><body><p>" +
     508                    tr("The layer {0} does not support the new projection {1}.", getName(), newValue.toCode()) + "</p>" +
    508509                    "<p style='width: 450px;'>" + tr("Supported projections are: {0}", nameSupportedProjections()) + "</p>" +
    509510                    tr("Change the projection again or remove the layer.");
  • trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java

    r9844 r9848  
    141141            String message =
    142142                    "<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>" +
     143                    "<p style='width: 450px; position: absolute; margin: 0px;'>" +
     144                            tr("Supported projections are: {0}", nameSupportedProjections()) + "</p>" +
    144145                    "<p>" + tr("Change the projection again or remove the layer.");
    145146
Note: See TracChangeset for help on using the changeset viewer.