Changeset 13102 in josm


Ignore:
Timestamp:
2017-11-09T19:54:42+01:00 (9 days ago)
Author:
Klumbumbus
Message:

see #13144, fix #15536 - limit male/female/unisex test to hairdressers

File:
1 edited

Legend:

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

    r13092 r13102  
    427427}
    428428
    429 /* #13144 */
    430 *[unisex=yes][female=yes][male!=yes],
    431 *[unisex=yes][male=yes][female!=yes] {
    432   throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    433   group: tr("suspicious tag combination");
    434 }
    435 *[unisex=yes][female=yes][male=yes] {
     429/* #13144, #15536 */
     430*[unisex=yes][female=yes][male!=yes][shop=hairdresser],
     431*[unisex=yes][male=yes][female!=yes][shop=hairdresser] {
     432  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     433  group: tr("suspicious tag combination");
     434}
     435*[unisex=yes][female=yes][male=yes][shop=hairdresser] {
    436436  throwWarning: tr("{0} together with {1} and {2}. Remove {1} and {2}", "{0.tag}", "{1.tag}", "{2.tag}");
    437437  group: tr("suspicious tag combination");
     
    439439  fixRemove: "male";
    440440}
    441 *[female=yes][male=yes][!unisex][shop=hairdresser] { /* for toilets male=yes female=yes unisex=no combination is valid */
     441*[female=yes][male=yes][!unisex][shop=hairdresser] {
    442442  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    443443  suggestAlternative: "unisex=yes";
Note: See TracChangeset for help on using the changeset viewer.