Ticket #21859: josm_21859.patch

File josm_21859.patch, 1.6 KB (added by skyper, 4 years ago)

patch

  • resources/data/defaultpresets.xml

     
    90459045            <text key="addr:housenumber" text="House number" match="key" auto_increment="-2,-1,+1,+2" />
    90469046            <text key="addr:street" text="Street name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
    90479047            <optional>
    9048                 <text key="addr:place" text="Place name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
    90499048                <text key="addr:city" text="City name" use_last_as_default="force" match="key" />
    90509049                <text key="addr:postcode" text="Post code" use_last_as_default="force" match="key" />
    90519050                <combo key="addr:country" text="Country code" values_from="java.util.Locale#getISOCountries" use_last_as_default="force" match="key" />
    90529051            </optional>
    9053             <optional text="Optional values for specific countries">
     9052            <optional text="Optional tag only for address without addr:street">
     9053                <text key="addr:place" text="Place name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
     9054            </optional>
     9055            <optional text="Optional tags for specific countries">
    90549056                <text key="addr:unit" text="Unit/Suite" match="key" />
    90559057                <text key="addr:housename" text="House name" match="key" alternative_autocomplete_keys="name" />
    90569058                <text key="addr:hamlet" text="Hamlet" match="key" />