Changeset 10451 in josm for trunk/data


Ignore:
Timestamp:
2016-06-21T20:24:39+02:00 (3 years ago)
Author:
Klumbumbus
Message:

fix #13008 - deprecate name:botanical in favor of species; remove empty node icons in mapview for barrier=fence|portcullis|drawbridge

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r10450 r10451  
    89998999            <text key="name" text="Name" />
    90009000            <text key="height" text="Height (meters)" />
    9001             <text key="name:botanical" text="Botanical Name" />
    9002             <optional>
    9003                 <text key="genus" text="Genus" />
    9004                 <text key="species" text="Species" />
    9005                 <text key="taxon" text="Taxon" />
    9006                 <reference ref="leaf" />
    9007             </optional>
     9001            <text key="genus" text="Genus" />
     9002            <text key="species" text="Species" />
     9003            <text key="taxon" text="Taxon" />
     9004            <reference ref="leaf" />
    90089005        </item> <!-- Tree -->
    90099006        <item name="Tree Row" icon="styles/standard/misc/landmark/tree_row.svg" type="way" preset_name_label="true">
  • trunk/data/validator/deprecated.mapcss

    r10329 r10451  
    849849  throwWarning: tr("The key {0} has an uncommon value.", "{1.key}");
    850850}
     851
     852/* #13008 */
     853*[name:botanical] {
     854  throwWarning: tr("{0} is deprecated", "{0.key}");
     855  suggestAlternative: "species";
     856}
Note: See TracChangeset for help on using the changeset viewer.