Changeset 8184 in josm for trunk/data/validator


Ignore:
Timestamp:
2015-04-09T23:34:58+02:00 (4 years ago)
Author:
Klumbumbus
Message:

see #10329 - add warnings for color

File:
1 edited

Legend:

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

    r8183 r8184  
    422422  suggestAlternative: "drinking_water";
    423423}
     424
     425/* see #10329 */
     426*[color][!colour] {
     427  throwWarning: tr("{0} is deprecated", "{0.key}");
     428  suggestAlternative: "colour";
     429  fixChangeKey: "color => colour";
     430}
     431*[color][colour][tag(color)=tag(colour)] {
     432  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     433  set samecolor;
     434  fixRemove: "color";
     435}
     436*[color][colour]!.samecolor {
     437  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     438}
Note: See TracChangeset for help on using the changeset viewer.