From 56d3ddfedc8f5ff409bc5ffec3251e9006f3e174 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 8 Mar 2023 03:21:14 +0100 Subject: [PATCH] chore: extract question hint for uk_addresses --- assets/themes/uk_addresses/uk_addresses.json | 22 +++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/assets/themes/uk_addresses/uk_addresses.json b/assets/themes/uk_addresses/uk_addresses.json index fabf576ae1..3d672f2b71 100644 --- a/assets/themes/uk_addresses/uk_addresses.json +++ b/assets/themes/uk_addresses/uk_addresses.json @@ -256,7 +256,7 @@ "id": "uk_addresses_unit", "render": "
Sub-unit (e.g. 1, Flat 2, Unit C)
{addr:unit}
", "question": { - "en": "What is the sub-unit for this address?
Some named building or large complexes are split into sub-units
" + "en": "What is the sub-unit for this address? " }, "freeform": { "key": "addr:unit", @@ -290,6 +290,9 @@ "addr:housename~*", "addr:substreet~*" ] + }, + "questionHint": { + "en": "Some named building or large complexes are split into sub-units" } }, { @@ -373,7 +376,7 @@ { "id": "uk_addresses_placename", "question": { - "en": "What is the place or locality for this address?
This is additional information that appears before (or instead of) a street name in the address
" + "en": "What is the place or locality for this address?" }, "render": { "en": "
Place (e.g. Castle Mews, West Business Park)
{addr:substreet}
" @@ -413,12 +416,15 @@ "hideInAnswer": true } ], - "condition": "addr:parentstreet=" + "condition": "addr:parentstreet=", + "questionHint": { + "en": "This is additional information that appears before (or instead of) a street name in the address" + } }, { "id": "uk_addresses_placename_with_parent", "question": { - "en": "What is the place or locality for this address?
This is additional information that appears before (or instead of) a street name in the address
" + "en": "What is the place or locality for this address?" }, "render": { "en": "
Place (e.g. Castle Mews, West Business Park)
{addr:substreet}
" @@ -472,6 +478,9 @@ ] } ] + }, + "questionHint": { + "en": "This is additional information that appears before (or instead of) a street name in the address" } }, { @@ -527,7 +536,7 @@ "id": "uk_addresses_parentstreet", "render": "
Parent street name
{addr:parentstreet}
", "question": { - "en": "What is the parent street name for this address?
This street name will appear after the place name or first street name in the address
" + "en": "What is the parent street name for this address?" }, "freeform": { "key": "addr:parentstreet", @@ -592,6 +601,9 @@ "addr:parentstreet~*", "addr:substreet~*" ] + }, + "questionHint": { + "en": "This street name will appear after the place name or first street name in the address" } }, {