Changeset 3723 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-12-14T17:10:47+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/validator/ValidatorTreePanel.java
r3674 r3723 25 25 import org.openstreetmap.josm.data.validation.TestError; 26 26 import org.openstreetmap.josm.data.validation.util.MultipleNameVisitor; 27 import org.openstreetmap.josm.gui.preferences.ValidatorPreference; 27 28 import org.openstreetmap.josm.tools.MultiMap; 29 import org.openstreetmap.josm.Main; 28 30 29 31 /** … … 146 148 } 147 149 150 boolean other = Main.pref.getBoolean(ValidatorPreference.PREF_OTHER, false); 148 151 for (TestError e : errors) { 149 152 if (e.getIgnored()) { … … 151 154 } 152 155 Severity s = e.getSeverity(); 156 if(!other && s == Severity.OTHER) { 157 continue; 158 } 153 159 String d = e.getDescription(); 154 160 String m = e.getMessage(); -
trunk/src/org/openstreetmap/josm/gui/preferences/ValidatorPreference.java
r3671 r3723 53 53 public static final String PREF_OTHER_UPLOAD = PREFIX + ".otherUpload"; 54 54 55 /** The preferences key for ignored severity other */ 56 public static final String PREF_OTHER = PREFIX + ".other"; 57 55 58 /** 56 59 * The preferences key for enabling the permanent filtering … … 62 65 private JCheckBox prefUseLayer; 63 66 private JCheckBox prefOtherUpload; 67 private JCheckBox prefOther; 64 68 65 69 /** The list of all tests */ … … 79 83 prefUseLayer.setToolTipText(tr("Use the error layer to display problematic elements.")); 80 84 testPanel.add(prefUseLayer, GBC.eol()); 85 86 prefOther = new JCheckBox(tr("Show informational level."), Main.pref.getBoolean(PREF_OTHER, false)); 87 prefOther.setToolTipText(tr("Show the informational tests.")); 88 testPanel.add(prefOther, GBC.eol()); 81 89 82 90 prefOtherUpload = new JCheckBox(tr("Show informational level on upload."), Main.pref.getBoolean(PREF_OTHER_UPLOAD, false)); … … 126 134 Main.pref.put(PREF_TESTS_BEFORE_UPLOAD, testsBeforeUpload.toString()); 127 135 Main.pref.put(PREF_USE_IGNORE, prefUseIgnore.isSelected()); 136 Main.pref.put(PREF_OTHER, prefOther.isSelected()); 128 137 Main.pref.put(PREF_OTHER_UPLOAD, prefOtherUpload.isSelected()); 129 138 Main.pref.put(PREF_LAYER, prefUseLayer.isSelected()); -
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r3719 r3723 79 79 {"lang-de", IN_CORE}, {"lang-en_GB", IN_CORE}, {"lang-fr", IN_CORE}, 80 80 {"lang-it", IN_CORE}, {"lang-pl", IN_CORE}, {"lang-ro", IN_CORE}, 81 {"lang-ru", IN_CORE}, 82 {"ewmsplugin", tr("replaced by {0} plugin","wmsplugin")}, 83 {"ywms", tr("replaced by {0} plugin","wmsplugin")}, 81 {"lang-ru", IN_CORE}, {"ewmsplugin", IN_CORE}, {"ywms", IN_CORE}, 84 82 {"tways-0.2", IN_CORE}, 85 83 {"geotagged", IN_CORE},
Note:
See TracChangeset
for help on using the changeset viewer.