Ticket #20378: 20378ValidateUploadHook-2.patch

File 20378ValidateUploadHook-2.patch, 1.8 KB (added by GerdP, 3 years ago)

corrected patch (one quote was missing and paths caused trouble)

  • src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java

     
    110110        errorPanel.expandAll();
    111111        HtmlPanel pnlMessage = new HtmlPanel();
    112112        pnlMessage.setText("<html><body>"
    113                 + tr("The following are results of automatic validation. Try fixing"
    114                 + " these, but be careful (don''t destroy valid data)."
    115                 + " When in doubt ignore them.<br>When you"
    116                 + " cancel this dialog, you can find the entries in the validator"
    117                 + " side panel to inspect them.")
     113                + tr("The Data Validator partially checked the objects to be"
     114                + " uploaded and found some problems. Try fixing them, but do not"
     115                + " harm valid data. When in doubt ignore the findings.<br>"
     116                + " You can see the findings in the Validator Results panel too."
     117                + " Further checks on all data can be started from that panel.")
    118118                + "<table align=\"center\">"
    119119                + "<tr><td align=\"left\"><b>"+tr("Errors")
    120120                + "&nbsp;</b></td><td align=\"left\">"
     
    124124                + tr("Fix these when possible.")+"</td></tr>"
    125125                + "<tr><td align=\"left\"><b>"+tr("Other")
    126126                + "&nbsp;</b></td><td align=\"left\">"
    127                 + tr("Informational warnings, expect many false entries.")+"</td></tr>"
     127                + tr("Informational hints, expect many false entries.")+"</td></tr>"
    128128                + "</table>"
    129129        );
    130130        pnlMessage.setPreferredSize(new Dimension(500, 150));