Ignore:
Timestamp:
2015-04-17T22:18:26+02:00 (9 years ago)
Author:
Klumbumbus
Message:

see #11245 - remove controversial clothes tag; fix #10329 - improve color validator warning; fix #11330 - improve uncommon short key validator warning; fix #11344 - add validator warning for 'tower|pole=air_to_ground'

File:
1 edited

Legend:

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

    r8192 r8204  
    437437  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    438438}
     439*[/:color/]{
     440  throwWarning: tr("{0} is deprecated", "{0.key}");
     441  suggestAlternative: ":colour";
     442}
     443*[/color:/] {
     444  throwWarning: tr("{0} is deprecated", "{0.key}");
     445  suggestAlternative: "colour:";
     446}
    439447
    440448/* see #11234 */
     
    445453/* see #11330 */
    446454*[/^.$/],
    447 *[/^..$/][!to] {
     455node[/^..$/],
     456way[/^..$/],
     457relation[/^..$/][!to] {
    448458  throwWarning: tr("uncommon short key");
    449459}
     460
     461/* see #11344 */
     462*[tower=air_to_ground] {
     463  throwWarning: tr("{0} is deprecated", "{0.tag}");
     464  suggestAlternative: "tower=transition";
     465  fixAdd: "tower=transition";
     466}
     467*[pole=air_to_ground] {
     468  throwWarning: tr("{0} is deprecated", "{0.tag}");
     469  suggestAlternative: "pole=transition";
     470  fixAdd: "pole=transition";
     471}
Note: See TracChangeset for help on using the changeset viewer.