Changeset 10511 in josm


Ignore:
Timestamp:
2016-07-03T20:53:42+02:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #13101 - deprecate tower=transition and pole=transition in favor of location:transition

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r10500 r10511  
    69456945                <check key="triple_tower" text="Triple tower" />
    69466946                <check key="design:incomplete" text="Incomplete tower" />
    6947                 <check key="tower" text="Location transition" value_on="transition" disable_off="true" />
     6947                <check key="location:transition" text="Location transition" disable_off="true" />
    69486948            </optional>
    69496949        </item> <!-- Power Tower -->
     
    69636963            <text key="height" text="Height (meters)" />
    69646964            <combo key="material" text="Material" values="metal,plastic,steel,stone,wood,concrete" />
    6965             <check key="pole" text="Location transition" value_on="transition" disable_off="true" />
     6965            <check key="location:transition" text="Location transition" disable_off="true" />
    69666966            <reference ref="ref_operator_branch" />
    69676967        </item> <!-- Pole -->
     
    69806980            <text key="height" text="Height (meters)" />
    69816981            <combo key="material" text="Material" values="metal,plastic,steel,stone,wood,concrete" />
    6982             <check key="pole" text="Location transition" value_on="transition" disable_off="true" />
     6982            <check key="location:transition" text="Location transition" disable_off="true" />
    69836983            <reference ref="ref_operator_branch" />
    69846984            <space />
  • trunk/data/validator/deprecated.mapcss

    r10451 r10511  
    855855  suggestAlternative: "species";
    856856}
     857
     858/* #13101 */
     859node[pole=transition] {
     860  throwWarning: tr("{0} is deprecated", "{0.tag}");
     861  suggestAlternative: "location:transition=yes";
     862  fixAdd: "location:transition=yes";
     863  fixRemove: "pole";
     864}
     865node[tower=transition] {
     866  throwWarning: tr("{0} is deprecated", "{0.tag}");
     867  suggestAlternative: "location:transition=yes";
     868  fixAdd: "location:transition=yes";
     869  fixRemove: "tower";
     870}
Note: See TracChangeset for help on using the changeset viewer.