Changeset 18546 in josm


Ignore:
Timestamp:
2022-08-31T20:30:24+02:00 (2 years ago)
Author:
Klumbumbus
Message:

Fix #22295, see #18374 - Don't warn about "collection_times together with amenity=recycling. Probably opening_hours is meant." for cases when also opening_hours is set.

File:
1 edited

Legend:

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

    r18535 r18546  
    866866}
    867867
    868 /* #18374 */
     868/* #18374, #22295 */
    869869*[amenity=recycling][collection_times="24/7"][!opening_hours],
    870870*[amenity=recycling][collection_times       ][!opening_hours][collection_times=~/[a-z]-[A-Z].*[0-9]-[0-9]/] {
     
    876876  assertNoMatch: "node amenity=recycling collection_times=\"Mo 08:00-11:00\"";
    877877  assertNoMatch: "node amenity=recycling collection_times=\"Sa[2,4] 8:00-11:00\"";
    878 }
    879 *[amenity=recycling][collection_times="24/7"][opening_hours],
    880 *[amenity=recycling][collection_times       ][opening_hours][collection_times=~/[a-z]-[A-Z].*[0-9]-[0-9]/] {
    881   throwWarning: tr("{0} together with {1}. Probably {2} is meant.", "{1.key}", "{0.tag}", "{2.key}");
    882   group: tr("suspicious tag combination");
    883878}
    884879
Note: See TracChangeset for help on using the changeset viewer.