Changeset 17020 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2020-09-12T19:10:42+02:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #19782 - Fix spelling of climbing keys containing UIAA to uiaa, add validator warnings

Location:
trunk/resources/data/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/deprecated.mapcss

    r17017 r17020  
    20552055}
    20562056
     2057/* #19782 */
     2058*[climbing:grade:UIAA:min] {
     2059  throwWarning: tr("{0} is deprecated", "{0.key}");
     2060  suggestAlternative: "climbing:grade:uiaa:min";
     2061  group: tr("deprecated tagging");
     2062  fixChangeKey: "climbing:grade:UIAA:min => climbing:grade:uiaa:min";
     2063}
     2064*[climbing:grade:UIAA:max] {
     2065  throwWarning: tr("{0} is deprecated", "{0.key}");
     2066  suggestAlternative: "climbing:grade:uiaa:max";
     2067  group: tr("deprecated tagging");
     2068  fixChangeKey: "climbing:grade:UIAA:max => climbing:grade:uiaa:max";
     2069}
     2070*[climbing:grade:UIAA:mean] {
     2071  throwWarning: tr("{0} is deprecated", "{0.key}");
     2072  suggestAlternative: "climbing:grade:uiaa:mean";
     2073  group: tr("deprecated tagging");
     2074  fixChangeKey: "climbing:grade:UIAA:mean => climbing:grade:uiaa:mean";
     2075}
     2076*[climbing:grade:UIAA] {
     2077  throwWarning: tr("{0} is deprecated", "{0.key}");
     2078  suggestAlternative: "climbing:grade:uiaa";
     2079  group: tr("deprecated tagging");
     2080  fixChangeKey: "climbing:grade:UIAA => climbing:grade:uiaa";
     2081}
     2082
    20572083/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r17017 r17020  
    696696K:building=part
    697697K:natural=sink_hole
     698E:climbing:grade:UIAA:min
     699E:climbing:grade:UIAA:max
     700E:climbing:grade:UIAA:mean
     701E:climbing:grade:UIAA
    698702;
    699703; Tags not yet decided (to remove from this section when added or moved up when deprecated)
Note: See TracChangeset for help on using the changeset viewer.