Changeset 17940 in josm for trunk/resources/data


Ignore:
Timestamp:
2021-06-22T21:10:06+02:00 (3 years ago)
Author:
Klumbumbus
Message:

Improve amenity=bicycle_repair_station preset, deprecate service:bicycle:chaintool in favor of service:bicycle:chain_tool

Location:
trunk/resources/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r17936 r17940  
    28272827            <text key="operator" text="Operator" />
    28282828            <reference ref="oh" />
     2829            <check key="service:bicycle:stand" text="Stand" />
    28292830            <check key="service:bicycle:pump" text="Free bicycle pump" />
     2831            <check key="service:bicycle:tools" text="Tools" text_context="bicycle_repair_station"/>
    28302832            <check key="service:bicycle:chain_tool" text="Chain tool" />
    28312833            </optional>
  • trunk/resources/data/validator/deprecated.mapcss

    r17926 r17940  
    22572257}
    22582258
     2259/* #11019 */
     2260*[service:bicycle:chaintool] {
     2261  throwWarning: tr("{0} is deprecated", "{0.key}");
     2262  suggestAlternative: "service:bicycle:chain_tool";
     2263  group: tr("deprecated tagging");
     2264  fixChangeKey: "service:bicycle:chaintool => service:bicycle:chain_tool";
     2265}
     2266
    22592267/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r17930 r17940  
    693693K:amenity=embassy
    694694K:shoulder=none
     695E:service:bicycle:chaintool
    695696;
    696697; Tags not yet decided (to remove from this section when added or moved up when deprecated)
Note: See TracChangeset for help on using the changeset viewer.