Changeset 14897 in josm for trunk/data/validator


Ignore:
Timestamp:
2019-03-18T09:10:55+01:00 (6 years ago)
Author:
GerdP
Message:

fix #17468: Validator produces wrong warning for misspelled tag key

TODO: further improve words.cfg

Location:
trunk/data/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/ignoretags.cfg

    r14881 r14897  
    22; This is used for checks "key/tag not in presets"
    33; K:  the given tag will not produce a "tag not in presets" error, but it is
    4 ;     used as dictionary entry for spell checking the given key.
    5 ; E:  ignore tags with this key
    6 ; S:  ignore tag if key starts with this string
    7 ; F:  ignore tag if key ends with this string
     4;     used as dictionary entry for spell checking the given key and also
     5;     for the key/value combination.
     6; E:  ignore tags with this key and add the key to the spell check dictionary.
     7; S:  ignore tag if key starts with this string.
     8; F:  ignore tag if key ends with this string.
    89;
    910;
  • trunk/data/validator/words.cfg

    r14490 r14897  
    88# There must not be any white space before or after words, unless they are to be included in
    99# the bad spelling.
    10 # There is no need to add bad spelling with different upper/lower case.
     10# There is no need to add bad spelling with different upper/lower case for keys
     11#   which appear in the presets or the ignoreTags.cfg (prefixes E: and K:)
    1112# There is no need to add bad spelling with leading or trailing blanks.
    1213
     
    4041-maenity
    4142-emenity
     43+barrier
     44-barier
    4245+bicycle
    4346-bycycle
     
    5053+commercial
    5154-comercial
    52 +created_by
    53 -cretaed_by
    54 -crated_by
    55 -creared_by
    56 -creayed_by
    57 -{created_by
    58 -creeated_by
    59 -created_bu
    6055+denomination
    6156-denonimation
     
    161156-oeway
    162157-eway
    163 +osmarender:nameDirection
    164 -name_direction
    165 -osmarender:name_direction
    166158+railway
    167159-raillway
     
    178170-waterwy
    179171-wateway
    180 +unknown
    181 -unknwon
    182172#
    183173# Not sorted.
     
    208198-bulding
    209199-buildinq
    210 +city
    211 -citya
    212200+complete
    213201-complite
     
    221209-desription
    222210-decription
    223 +feature
    224 -featuer
    225211+freight
    226212-frieght
    227213+full_name:fa
    228214-full_name:Fa
    229 +highway_border
    230 -highway_boarder
    231 -highway_boreder
    232215+int_name
    233216-iint_name
     
    290273+old_name
    291274-oldname
    292 +osmarender:renderName
    293 -osmarender:rendername
    294 -soamrender:renderName
    295 +osmarender:renderRef
    296 -osmrender:renderRef
    297275+postal_code
    298276-posatl_code
     
    324302-tracltype
    325303-trackype
    326 +tramline
    327 -tram_line
    328304+tunnel
    329305-tunne
Note: See TracChangeset for help on using the changeset viewer.