Changeset 17024 in josm


Ignore:
Timestamp:
2020-09-14T17:25:11+02:00 (6 days ago)
Author:
Klumbumbus
Message:

fix #19769, see #11389, see #19010 - Fix validator warning messages

File:
1 edited

Legend:

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

    r16993 r17024  
    475475
    476476/* #11389, #19010 */
    477 way["maxspeed:forward"=*"maxspeed:backward"][!maxspeed] {
     477way[maxspeed:forward][maxspeed:backward][!maxspeed]["maxspeed:forward"=*"maxspeed:backward"] {
    478478  throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}");
    479479  suggestAlternative: "maxspeed";
     
    482482  fixRemove: "maxspeed:backward";
    483483}
    484 way["maxspeed:forward"=*maxspeed]["maxspeed:backward"=*maxspeed][maxspeed] {
     484way[maxspeed:forward][maxspeed:backward][maxspeed]["maxspeed:forward"=*maxspeed]["maxspeed:backward"=*maxspeed] {
    485485  throwWarning: tr("Same value of {0}, {1} and {2}", "{0.key}", "{1.key}", "{2.key}");
    486486  set AllSameMaxspeed;
     
    490490  fixRemove: "maxspeed:backward";
    491491}
    492 way["cycleway:left"=*"cycleway:right"][!cycleway] {
     492way[cycleway:left][cycleway:right][!cycleway]["cycleway:left"=*"cycleway:right"] {
    493493  throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}");
    494494  suggestAlternative: "cycleway";
     
    497497  fixRemove: "cycleway:right";
    498498}
    499 way["cycleway:left"=*cycleway]["cycleway:right"=*cycleway][cycleway] {
     499way[cycleway:left][cycleway:right][cycleway]["cycleway:left"=*cycleway]["cycleway:right"=*cycleway] {
    500500  throwWarning: tr("Same value of {0}, {1} and {2}", "{0.key}", "{1.key}", "{2.key}");
    501501  set AllSameCycleway;
     
    505505  fixRemove: "cycleway:right";
    506506}
    507 way["sidewalk:left"=*"sidewalk:right"][!sidewalk] {
     507way[sidewalk:left][sidewalk:right][!sidewalk]["sidewalk:left"=*"sidewalk:right"] {
    508508  throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}");
    509509  suggestAlternative: "sidewalk";
     
    512512  fixRemove: "sidewalk:right";
    513513}
    514 way["sidewalk:left"=*sidewalk]["sidewalk:right"=*sidewalk][sidewalk] {
     514way[sidewalk:left][sidewalk:right][sidewalk]["sidewalk:left"=*sidewalk]["sidewalk:right"=*sidewalk] {
    515515  throwWarning: tr("Same value of {0}, {1} and {2}", "{0.key}", "{1.key}", "{2.key}");
    516516  set AllSameSidewalk;
Note: See TracChangeset for help on using the changeset viewer.