Changeset 9363 in josm


Ignore:
Timestamp:
2016-01-09T21:34:52+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #12311 - deprecate type for amenity=studio and replace by studio

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r9362 r9363  
    41954195            <reference ref="name_operator" />
    41964196            <reference ref="wheelchair" />
    4197             <combo key="type" text="Type" values="audio,video" />
     4197            <combo key="studio" text="Type" values="audio,radio,television,video" />
    41984198            <reference ref="link_contact_address_payment" />
    41994199        </item> <!-- Recording Studio -->
  • trunk/data/validator/deprecated.mapcss

    r9163 r9363  
    632632  fixChangeKey: "amenity => shop";
    633633}
     634
     635/* #12311 */
     636*[amenity=studio][type=audio],
     637*[amenity=studio][type=radio],
     638*[amenity=studio][type=television],
     639*[amenity=studio][type=video] {
     640  throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
     641  suggestAlternative: "studio";
     642  fixChangeKey: "type => studio";
     643}
Note: See TracChangeset for help on using the changeset viewer.