Changeset 16653 in josm for trunk/resources/data


Ignore:
Timestamp:
2020-06-16T13:00:59+02:00 (4 years ago)
Author:
Klumbumbus
Message:
  • fix #19395 - Don't warn about name=Casa (french brand name)
  • add name as alternative autocomplete key for alt_name in traffic_sign=city_limit preset
Location:
trunk/resources/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r16646 r16653  
    12521252            <text key="name" text="Name" />
    12531253            <optional>
    1254                 <text key="alt_name" text="Second Name" />
     1254                <text key="alt_name" text="Second Name" alternative_autocomplete_keys="name" />
    12551255                <combo key="direction" text="Direction" values="N,E,S,W,0,90,180,270,forward,backward" values_sort="false" />
    12561256            </optional>
  • trunk/resources/data/validator/unnecessary.mapcss

    r16484 r16653  
    9292}
    9393
    94 /* #17100, #17471, #17629, #17633, #19274 */
     94/* #17100, #17471, #17629, #17633, #19274, #19395 */
    9595*[name][name=~/^(?i)(library|biblioteca|biblioteka|bibliothek|bibliotheek)$/][amenity=library],
    9696*[name][name=~/^(?i)(parc|park)$/][leisure=park],
     
    106106*[name][name=~/^(?i)(shop|boutique)$/][shop][shop!=no],
    107107*[name][name=~/^(?i)(building|bangunan)$/][building][building!=no],
    108 *[name][name=~/^(?i)(house|casa|maison|rumah|vivienda)$/][building=house],
     108*[name][name=~/^(?i)(house|maison|rumah|vivienda)$/][building=house], /* not casa (spanisch) becasue it is a brand name in France */
    109109*[name][name=~/^(?i)(kiosk)$/][shop=kiosk],
    110110*[name][name=~/^(?i)(path)$/][highway=path],
     
    156156}
    157157*[name][name=~/^(?i)(school|école|Школа)$/][building][building!=school][building!=no],
    158 *[name][name=~/^(?i)(house|casa|rumah|vivienda)$/][building][building!=house][building!=no] {
     158*[name][name=~/^(?i)(house|rumah|vivienda)$/][building][building!=house][building!=no] {
    159159  throwWarning: tr("{0}", "{0.tag}");
    160160  group: tr("descriptive name");
Note: See TracChangeset for help on using the changeset viewer.