diff --git a/assets/themes/uk_addresses/uk_addresses.json b/assets/themes/uk_addresses/uk_addresses.json index 03486bd28f..9d5931105f 100644 --- a/assets/themes/uk_addresses/uk_addresses.json +++ b/assets/themes/uk_addresses/uk_addresses.json @@ -6,6 +6,9 @@ "it": "Indirizzi UK", "id": "Alamat Inggris" }, + "mustHaveLanguage": [ + "en" + ], "shortDescription": { "en": "Help to build an open dataset of UK addresses", "de": "Helfen Sie beim Aufbau eines offenen Datensatzes britischer Adressen", @@ -406,8 +409,14 @@ { "id": "preview", "render": { - "en": "To send a letter to this addres, you would write:
Name of the inhabitant
{addr:housename}
{addr:unit} {addr:housenumber} {addr:street}
{addr:place}
Suburb
Town
Postal code
" - } + "en": "To send a letter to this address, you would write:
Name of the inhabitant
{addr:unit} {addr:housename}
{addr:housenumber} {addr:street}
Suburb
Town
Postal code
" + }, + "mappings": [ + { + "if": "addr:place~*", + "then": "To send a letter to this address, you would write:
Name of the inhabitant
{addr:unit} {addr:housename}
{addr:housenumber} {addr:place}
{addr:street}
Suburb
Town
Postal code
" + } + ] } ], "mapRendering": [