Changeset 6528 in josm for trunk/src/org


Ignore:
Timestamp:
2013-12-25T11:21:09+01:00 (11 years ago)
Author:
simon04
Message:

Fix i18n string

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java

    r6518 r6528  
    295295            }
    296296            if (nearbyNodeCache != null) {
    297                 // If we've cached an aread greater than the
     297                // If we've cached an area greater than the
    298298                // one now being asked for...
    299299                if (nearbyNodeCacheDist > dist) {
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r6524 r6528  
    483483            if (proxySelector.hasErrors()) {
    484484                ExtendedDialog ed = new ExtendedDialog(
    485                         Main.parent, tr("Proxy errors occured"),
     485                        Main.parent, tr("Proxy errors occurred"),
    486486                        new String[]{tr("Change proxy settings"), tr("Cancel")});
    487487                ed.setButtonIcons(new String[]{"dialogs/settings.png", "cancel.png"}).setCancelButton(2);
    488488                ed.setMinimumSize(new Dimension(460, 260));
    489489                ed.setIcon(JOptionPane.WARNING_MESSAGE);
    490                 ed.setContent(tr("JOSM tried to access the following resources:")+
    491                         "<br>"+Utils.joinAsHtmlUnorderedList(proxySelector.getErrorResources())+
    492                         tr("but <b>failed</b> to do so, because of the following proxy errors:")+
    493                         "<br>"+Utils.joinAsHtmlUnorderedList(proxySelector.getErrorMessages())+
    494                         tr("Would you like to change your proxy settings now ?")
    495                         );
     490                ed.setContent(tr("JOSM tried to access the following resources:<br>" +
     491                        "{0}" +
     492                        "but <b>failed</b> to do so, because of the following proxy errors:<br>" +
     493                        "{1}" +
     494                        "Would you like to change your proxy settings now?",
     495                        Utils.joinAsHtmlUnorderedList(proxySelector.getErrorResources()),
     496                        Utils.joinAsHtmlUnorderedList(proxySelector.getErrorMessages())
     497                ));
    496498
    497499                if (ed.showDialog().getValue() == 1) {
Note: See TracChangeset for help on using the changeset viewer.