Changeset 18980 in josm for trunk/src/org
- Timestamp:
- 2024-02-13T18:25:12+01:00 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
r18918 r18980 750 750 if (isInRegion == preset.exclude_regions()) { 751 751 errors.add(TestError.builder(this, Severity.WARNING, INVALID_REGION) 752 .message(tr(" Invalid region for this preset"),752 .message(tr("Preset is invalid in this region"), 753 753 marktr("Preset {0} should not be applied in this region"), 754 754 preset.getLocaleName()) … … 826 826 .primitives(p); 827 827 if (value == null) { 828 builder.message(tr(" Invalid region for this preset"),828 builder.message(tr("Key from a preset is invalid in this region"), 829 829 marktr("Preset {0} should not have the key {1}"), 830 830 preset.getLocaleName(), key); 831 831 } else { 832 builder.message(tr(" Invalid region for this preset"),832 builder.message(tr("Value from a preset is invalid in this region"), 833 833 marktr("Preset {0} should not have the tag {1}={2}"), 834 834 preset.getLocaleName(), key, value); … … 1267 1267 } 1268 1268 1269 checkRegions = includeOtherSeverity &&Config.getPref().getBoolean(PREF_CHECK_REGIONS, true);1269 checkRegions = Config.getPref().getBoolean(PREF_CHECK_REGIONS, true); 1270 1270 if (isBeforeUpload) { 1271 1271 checkRegions = checkRegions && Config.getPref().getBoolean(PREF_CHECK_REGIONS_BEFORE_UPLOAD, true);
Note:
See TracChangeset
for help on using the changeset viewer.