Ignore:
Timestamp:
2008-08-17T14:54:38+02:00 (16 years ago)
Author:
stoecker
Message:

some cleanups

Location:
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/PreferenceEditor.java

    r9269 r9913  
    7676                String description = tr("A OSM data validator that checks for common errors made by users and editor programs.");
    7777                if( ver != null )
    78                         description += "<br><br>" + tr("Version: {0}<br>Last change at {1}", ver.revision, ver.time);
     78                        description += "<br>" + tr("Version {0} - Last change at {1}", ver.revision, ver.time);
    7979                JPanel tab = gui.createPreferenceTab("validator", tr("Data validator"), description);
    8080                tab.add(testPane, GBC.eol().fill(GBC.BOTH));
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/Severity.java

    r9884 r9913  
    66import java.awt.Color;
    77
    8 import org.openstreetmap.josm.data.Preferences;
     8import org.openstreetmap.josm.Main;
    99
    1010/** The error severity */
    1111public enum Severity {
    1212        /** Error messages */
    13         ERROR(tr("Errors"), "error.gif",       Preferences.getPreferencesColor(marktr("validation error"), Color.RED)),
     13        ERROR(tr("Errors"), "error.gif",       Main.pref.getColor(marktr("validation error"), Color.RED)),
    1414        /** Warning messages */
    15         WARNING(tr("Warnings"), "warning.gif", Preferences.getPreferencesColor(marktr("validation warning"), Color.YELLOW)),
     15        WARNING(tr("Warnings"), "warning.gif", Main.pref.getColor(marktr("validation warning"), Color.YELLOW)),
    1616        /** Other messages */
    17         OTHER(tr("Other"), "other.gif",        Preferences.getPreferencesColor(marktr("validation other"), Color.CYAN));
     17        OTHER(tr("Other"), "other.gif",        Main.pref.getColor(marktr("validation other"), Color.CYAN));
    1818       
    1919        /** Description of the severity code */
Note: See TracChangeset for help on using the changeset viewer.