Changeset 3321 in josm for trunk/data


Ignore:
Timestamp:
2010-06-08T21:56:38+02:00 (9 years ago)
Author:
jttt
Message:

Validate tagging presets when they're added in Preferences dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r3299 r3321  
    7474are supplied, then "values" will be treated as "display_values" and translated instead.
    7575-->
    76 <annotations>
     76<annotations xmlns="http://josm.openstreetmap.de/tagging-preset-1.0">
    7777  <group name="Highways" icon="presets/way_secondary.png">
    7878    <group name="Streets" icon="presets/way_secondary.png">
     
    134134        </item>
    135135        <item name="Trunk Link" icon="presets/trunk.png" type="way">
    136             <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=trunk_link" 
     136            <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=trunk_link"
    137137                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:highway=trunk_link"/>
    138138            <label text="Edit Trunk Link" />
     
    154154        <separator/>
    155155        <item name="Primary" icon="presets/way_primary.png" type="way">
    156             <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=primary" 
     156            <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=primary"
    157157                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:highway=primary" />
    158158            <label text="Edit Primary Road" />
     
    267267        </item>
    268268        <item name="Living Street" icon="presets/living_street.png" type="way">
    269             <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=living_street" 
     269            <link href="http://wiki.openstreetmap.org/wiki/Tag:highway=living_street"
    270270                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:highway=living_street" />
    271271            <label text="Edit Living Street" />
     
    743743    <group name="Barriers" icon="presets/barrier.png">
    744744
    745         <!-- *** node barriers *** -->   
     745        <!-- *** node barriers *** -->
    746746        <item name="Bollard" icon="presets/bollard.png" type="node,way">
    747747            <link href="http://wiki.openstreetmap.org/wiki/Tag:barrier=bollard" />
     
    757757        </item> <!-- bollard -->
    758758        <item name="Cycle Barrier" icon="presets/empty.png" type="node">
    759             <link de.href="http://de.wikipedia.org/wiki/Umlaufgitter" />
     759            <link href="http://de.wikipedia.org/wiki/Umlaufgitter" />
    760760            <key key="barrier" value="cycle_barrier" />
    761761        </item> <!-- cycle_barrier -->
     
    813813        </item> <!-- border_control -->
    814814        <separator/>
    815        
    816         <!-- *** linear barriers *** -->   
     815
     816        <!-- *** linear barriers *** -->
    817817        <item name="Hedge" icon="presets/empty.png" type="way,closedway,relation">
    818818            <link href="http://wiki.openstreetmap.org/wiki/Tag:barrier=hedge" />
     
    835835        </item> <!-- retaining_wall -->
    836836        <separator/>
    837        
    838         <!-- *** access *** -->   
     837
     838        <!-- *** access *** -->
    839839        <item name="Entrance" icon="presets/empty.png" type="node">
    840840            <label text="Edit Entrance" />
     
    938938            <check key="motorcar" text="Motorcar" default="off" delete_if_empty="true" />
    939939        </item> <!-- sally_port -->
    940        
     940
    941941    </group> <!-- Barriers -->
    942942  </group>
     
    13691369            <combo key="park_ride" text="Park and Ride" values="yes,no" default="" delete_if_empty="true" />
    13701370            <combo key="fee" text="Fee" values="yes,no" default="" delete_if_empty="true" />
    1371             <space /> 
     1371            <space />
    13721372            <text key="capacity" text="Capacity (overall)" default="" delete_if_empty="true" />
    13731373            <combo key="capacity:disabled" text="Spaces for Disabled" values="yes,no,unknown,1,2,3" default="" delete_if_empty="true" />
     
    27192719            <text key="name" text="Name" default="" delete_if_empty="true" />
    27202720            <combo key="opening_hours" text="Opening Hours" values="24/7,Mo-Fr 08:30-20:00,Tu-Su 08:00-15:00; Sa 08:00-12:00" default="" delete_if_empty="true" />
    2721         </item>   
     2721        </item>
    27222722        <item name="Sports" icon="presets/empty.png" type="node,closedway">
    27232723            <label text="Edit Sports Shop" />
Note: See TracChangeset for help on using the changeset viewer.