Changeset 9913 in osm for applications/editors/josm/plugins/validator/src/org
- Timestamp:
- 2008-08-17T14:54:38+02:00 (16 years ago)
- 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 76 76 String description = tr("A OSM data validator that checks for common errors made by users and editor programs."); 77 77 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); 79 79 JPanel tab = gui.createPreferenceTab("validator", tr("Data validator"), description); 80 80 tab.add(testPane, GBC.eol().fill(GBC.BOTH)); -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/Severity.java
r9884 r9913 6 6 import java.awt.Color; 7 7 8 import org.openstreetmap.josm. data.Preferences;8 import org.openstreetmap.josm.Main; 9 9 10 10 /** The error severity */ 11 11 public enum Severity { 12 12 /** 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)), 14 14 /** 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)), 16 16 /** 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)); 18 18 19 19 /** Description of the severity code */
Note:
See TracChangeset
for help on using the changeset viewer.