Changeset 5294 in josm for trunk/data


Ignore:
Timestamp:
2012-06-21T14:25:52+02:00 (7 years ago)
Author:
simon04
Message:

fix #7803 - patch by AlfonZ - Improve matching of some presets

  • Add match attribute to Cycle Lane, Traffic Calming, Power Line, Organic, Fair Trade
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r5280 r5294  
    772772                  nl.href="http://wiki.openstreetmap.org/wiki/NL:Bicycle" />
    773773            <label text="Edit Cycle Lane" />
    774             <combo key="cycleway" text="Cycleway" values="lane,track,opposite_lane,opposite_track,opposite,share_busway,shared_lane" />
     774            <combo key="cycleway" text="Cycleway" values="lane,track,opposite_lane,opposite_track,opposite,share_busway,shared_lane" match="key" />
    775775            <combo key="cycleway:left" text="Cycleway left" values="lane,track,opposite_lane,opposite_track,opposite,share_busway,shared_lane" />
    776776            <combo key="cycleway:right" text="Cycleway right" values="lane,track,opposite_lane,opposite_track,opposite,share_busway,shared_lane" />
     
    10101010                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:traffic_calming"/>
    10111011            <label text="Edit Traffic Calming" />
    1012             <combo key="traffic_calming" text="Type" values="yes,bump,chicane,choker,cushion,hump,table" />
     1012            <combo key="traffic_calming" text="Type" values="yes,bump,chicane,choker,cushion,hump,table" match="key" />
    10131013        </item>
    10141014        <item name="Passing Place" icon="presets/passingplace.png" type="node">
     
    41584158                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:power=line" />
    41594159            <label text="Edit Power Line" />
    4160             <combo key="power" text="Line type" values_context="Power Line" values="line,minor_line" default="line" />
     4160            <combo key="power" text="Line type" values_context="Power Line" values="line,minor_line" default="line" match="keyvalue" />
    41614161            <text key="operator" text="Operator" />
    41624162            <text key="ref" text="Line reference" />
     
    43514351            <link href="http://wiki.openstreetmap.org/wiki/Key:organic" />
    43524352            <label text="Edit Organic/Bio" />
    4353             <combo text="Organic/Bio" key="organic" values="no,yes,only" />
     4353            <combo text="Organic/Bio" key="organic" values="no,yes,only" match="key" />
    43544354        </item>
    43554355        <item name="Fair Trade" type="node,closedway">
    43564356            <link href="http://wiki.openstreetmap.org/wiki/Key:fair_trade" />
    43574357            <label text="Edit Fair Trade" />
    4358             <combo text="Fair Trade" key="fair_trade" values="no,yes,only" />
     4358            <combo text="Fair Trade" key="fair_trade" values="no,yes,only" match="key" />
    43594359        </item>
    43604360        <separator/>
Note: See TracChangeset for help on using the changeset viewer.