Changeset 15367 in josm for trunk


Ignore:
Timestamp:
2019-09-19T22:46:59+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #18141 - add name context to translate "Parking" differently for cars/bikes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15341 r15367  
    21112111    <separator/>
    21122112    <group name="Car" icon="presets/shop/vehicle.svg">
    2113         <item name="Parking" icon="presets/vehicle/parking/parking.svg" type="node,closedway,multipolygon" preset_name_label="true">
     2113        <item name="Parking" name_context="car" icon="presets/vehicle/parking/parking.svg" type="node,closedway,multipolygon" preset_name_label="true">
    21142114            <link wiki="Tag:amenity=parking" />
    21152115            <space />
     
    23142314    </group> <!-- Car -->
    23152315    <group name="Motorcycle" icon="presets/vehicle/motorbike.svg">
    2316         <item name="Parking" icon="presets/vehicle/parking/motorbike.svg" type="node,closedway,multipolygon" preset_name_label="true">
     2316        <item name="Parking" name_context="motorcycle" icon="presets/vehicle/parking/motorbike.svg" type="node,closedway,multipolygon" preset_name_label="true">
    23172317            <link wiki="Tag:amenity=motorcycle_parking" />
    23182318            <space />
     
    23462346    </group> <!-- Motorcycle -->
    23472347    <group name="Bicycle" icon="presets/shop/bicycle.svg">
    2348         <item name="Parking" icon="presets/vehicle/parking/bicycle.svg" type="node,way,closedway,multipolygon" preset_name_label="true">
     2348        <item name="Parking" name_context="bicycle" icon="presets/vehicle/parking/bicycle.svg" type="node,way,closedway,multipolygon" preset_name_label="true">
    23492349            <link wiki="Tag:amenity=bicycle_parking" />
    23502350            <space />
Note: See TracChangeset for help on using the changeset viewer.