From e4254f7cc968449903e0cab183e75e85ba390ee7 Mon Sep 17 00:00:00 2001 From: Laura Edwards <32766572+lauraedwards1@users.noreply.github.com> Date: Fri, 26 Jun 2020 08:42:38 +0100 Subject: [PATCH] added error messages (#106) * added error messages * anyone-else-temp-away * visitor-list-coll --- .../anyone_else_list_collector.jsonnet | 20 +++ ...se_temporarily_away_list_collector.jsonnet | 20 +++ .../primary_person_list_collector.jsonnet | 10 ++ .../visitor_list_collector.jsonnet | 20 +++ .../arrive_in_country.jsonnet | 7 +- .../another_address_outside_uk.jsonnet | 5 + .../personal-details/date_of_birth.jsonnet | 5 + .../personal-details/other_uk_address.jsonnet | 5 + .../anyone_else_list_collector.jsonnet | 20 +++ ...se_temporarily_away_list_collector.jsonnet | 20 +++ .../primary_person_list_collector.jsonnet | 10 ++ .../visitor_list_collector.jsonnet | 20 +++ .../arrive_in_country.jsonnet | 7 +- .../personal-details/date_of_birth.jsonnet | 5 + translations/ccs_household_gb_eng.pot | 2 +- .../census_communal_establishment_gb_wls.pot | 2 +- translations/census_household_gb_nir.pot | 116 ++++++++++++++- translations/census_household_gb_wls.pot | 140 +++++++++++++++++- translations/census_individual_gb_nir.pot | 22 ++- translations/census_individual_gb_wls.pot | 52 ++++++- 20 files changed, 500 insertions(+), 8 deletions(-) diff --git a/source/jsonnet/england-wales/household/blocks/who-lives-here/anyone_else_list_collector.jsonnet b/source/jsonnet/england-wales/household/blocks/who-lives-here/anyone_else_list_collector.jsonnet index 5a7b63fa..20ba27d7 100644 --- a/source/jsonnet/england-wales/household/blocks/who-lives-here/anyone_else_list_collector.jsonnet +++ b/source/jsonnet/england-wales/household/blocks/who-lives-here/anyone_else_list_collector.jsonnet @@ -32,6 +32,11 @@ local addQuestion(listIsEmpty) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -44,6 +49,11 @@ local addQuestion(listIsEmpty) = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }; @@ -72,6 +82,11 @@ local editQuestion(questionTitle) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -84,6 +99,11 @@ local editQuestion(questionTitle) = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }; diff --git a/source/jsonnet/england-wales/household/blocks/who-lives-here/anyone_else_temporarily_away_list_collector.jsonnet b/source/jsonnet/england-wales/household/blocks/who-lives-here/anyone_else_temporarily_away_list_collector.jsonnet index 87fbdc8e..465e39bb 100644 --- a/source/jsonnet/england-wales/household/blocks/who-lives-here/anyone_else_temporarily_away_list_collector.jsonnet +++ b/source/jsonnet/england-wales/household/blocks/who-lives-here/anyone_else_temporarily_away_list_collector.jsonnet @@ -42,6 +42,11 @@ local editQuestion(questionTitle) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -54,6 +59,11 @@ local editQuestion(questionTitle) = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }; @@ -165,6 +175,11 @@ local editQuestion(questionTitle) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -177,6 +192,11 @@ local editQuestion(questionTitle) = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }, diff --git a/source/jsonnet/england-wales/household/blocks/who-lives-here/primary_person_list_collector.jsonnet b/source/jsonnet/england-wales/household/blocks/who-lives-here/primary_person_list_collector.jsonnet index 47044e6c..e2e0e61d 100644 --- a/source/jsonnet/england-wales/household/blocks/who-lives-here/primary_person_list_collector.jsonnet +++ b/source/jsonnet/england-wales/household/blocks/who-lives-here/primary_person_list_collector.jsonnet @@ -21,6 +21,11 @@ local placeholders = import '../../../lib/placeholders.libsonnet'; label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -33,6 +38,11 @@ local placeholders = import '../../../lib/placeholders.libsonnet'; label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }, diff --git a/source/jsonnet/england-wales/household/blocks/who-lives-here/visitor_list_collector.jsonnet b/source/jsonnet/england-wales/household/blocks/who-lives-here/visitor_list_collector.jsonnet index 2933dc19..6c8e2ecf 100644 --- a/source/jsonnet/england-wales/household/blocks/who-lives-here/visitor_list_collector.jsonnet +++ b/source/jsonnet/england-wales/household/blocks/who-lives-here/visitor_list_collector.jsonnet @@ -28,12 +28,22 @@ local addQuestion(visitorsListEmpty) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'last-name', label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, guidance: { show_guidance: 'Why we ask about visitors', hide_guidance: 'Why we ask about visitors', @@ -132,12 +142,22 @@ local addQuestion(visitorsListEmpty) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'last-name', label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }, diff --git a/source/jsonnet/england-wales/individual/blocks/identity-and-health/arrive_in_country.jsonnet b/source/jsonnet/england-wales/individual/blocks/identity-and-health/arrive_in_country.jsonnet index 6f07293e..c8a39f56 100644 --- a/source/jsonnet/england-wales/individual/blocks/identity-and-health/arrive_in_country.jsonnet +++ b/source/jsonnet/england-wales/individual/blocks/identity-and-health/arrive_in_country.jsonnet @@ -9,7 +9,7 @@ local question(title) = { answers: [ { id: 'arrive-in-country-answer', - mandatory: false, + mandatory: true, type: 'MonthYearDate', minimum: { value: { @@ -20,6 +20,11 @@ local question(title) = { maximum: { value: 'now', }, + validation: { + messages: { + MANDATORY_DATE: 'Enter date of arrival to continue', + }, + }, }, ], }; diff --git a/source/jsonnet/england-wales/individual/blocks/personal-details/another_address_outside_uk.jsonnet b/source/jsonnet/england-wales/individual/blocks/personal-details/another_address_outside_uk.jsonnet index 69ce2e90..23200a27 100644 --- a/source/jsonnet/england-wales/individual/blocks/personal-details/another_address_outside_uk.jsonnet +++ b/source/jsonnet/england-wales/individual/blocks/personal-details/another_address_outside_uk.jsonnet @@ -14,6 +14,11 @@ local question(title) = { mandatory: true, suggestions_url: 'https://cdn.eq.census-gcp.onsdigital.uk/data/v1.0.0/countries-of-birth.json', type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a country to continue', + }, + }, }, ], }; diff --git a/source/jsonnet/england-wales/individual/blocks/personal-details/date_of_birth.jsonnet b/source/jsonnet/england-wales/individual/blocks/personal-details/date_of_birth.jsonnet index f27de96c..276a4e19 100644 --- a/source/jsonnet/england-wales/individual/blocks/personal-details/date_of_birth.jsonnet +++ b/source/jsonnet/england-wales/individual/blocks/personal-details/date_of_birth.jsonnet @@ -28,6 +28,11 @@ local question(title) = { maximum: { value: 'now', }, + validation: { + messages: { + MANDATORY_DATE: 'Enter a date of birth to continue', + }, + }, }, ], }; diff --git a/source/jsonnet/england-wales/individual/blocks/personal-details/other_uk_address.jsonnet b/source/jsonnet/england-wales/individual/blocks/personal-details/other_uk_address.jsonnet index 2c34495b..e071c06e 100644 --- a/source/jsonnet/england-wales/individual/blocks/personal-details/other_uk_address.jsonnet +++ b/source/jsonnet/england-wales/individual/blocks/personal-details/other_uk_address.jsonnet @@ -11,6 +11,11 @@ local question(title) = { label: 'Address line 1', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter an address to continue', + }, + }, }, { id: 'other-address-answer-street', diff --git a/source/jsonnet/northern-ireland/household/blocks/who-lives-here/anyone_else_list_collector.jsonnet b/source/jsonnet/northern-ireland/household/blocks/who-lives-here/anyone_else_list_collector.jsonnet index e86cd96e..27ca581a 100644 --- a/source/jsonnet/northern-ireland/household/blocks/who-lives-here/anyone_else_list_collector.jsonnet +++ b/source/jsonnet/northern-ireland/household/blocks/who-lives-here/anyone_else_list_collector.jsonnet @@ -32,6 +32,11 @@ local addQuestion(listIsEmpty) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -44,6 +49,11 @@ local addQuestion(listIsEmpty) = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }; @@ -72,6 +82,11 @@ local editQuestion(questionTitle) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -84,6 +99,11 @@ local editQuestion(questionTitle) = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }; diff --git a/source/jsonnet/northern-ireland/household/blocks/who-lives-here/anyone_else_temporarily_away_list_collector.jsonnet b/source/jsonnet/northern-ireland/household/blocks/who-lives-here/anyone_else_temporarily_away_list_collector.jsonnet index b30876b0..74407d21 100644 --- a/source/jsonnet/northern-ireland/household/blocks/who-lives-here/anyone_else_temporarily_away_list_collector.jsonnet +++ b/source/jsonnet/northern-ireland/household/blocks/who-lives-here/anyone_else_temporarily_away_list_collector.jsonnet @@ -64,6 +64,11 @@ local editQuestion(questionTitle) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -76,6 +81,11 @@ local editQuestion(questionTitle) = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }; @@ -182,6 +192,11 @@ local editQuestion(questionTitle) = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -194,6 +209,11 @@ local editQuestion(questionTitle) = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }, diff --git a/source/jsonnet/northern-ireland/household/blocks/who-lives-here/primary_person_list_collector.jsonnet b/source/jsonnet/northern-ireland/household/blocks/who-lives-here/primary_person_list_collector.jsonnet index becf01c4..8c59de0b 100644 --- a/source/jsonnet/northern-ireland/household/blocks/who-lives-here/primary_person_list_collector.jsonnet +++ b/source/jsonnet/northern-ireland/household/blocks/who-lives-here/primary_person_list_collector.jsonnet @@ -28,6 +28,11 @@ local questionTitle = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'middle-names', @@ -40,6 +45,11 @@ local questionTitle = { label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }, diff --git a/source/jsonnet/northern-ireland/household/blocks/who-lives-here/visitor_list_collector.jsonnet b/source/jsonnet/northern-ireland/household/blocks/who-lives-here/visitor_list_collector.jsonnet index 80db547d..22cac037 100644 --- a/source/jsonnet/northern-ireland/household/blocks/who-lives-here/visitor_list_collector.jsonnet +++ b/source/jsonnet/northern-ireland/household/blocks/who-lives-here/visitor_list_collector.jsonnet @@ -97,6 +97,11 @@ local removePersonQuestionTitle = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'last-name', @@ -112,6 +117,11 @@ local removePersonQuestionTitle = { }, ], }, + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }, @@ -129,12 +139,22 @@ local removePersonQuestionTitle = { label: 'First name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a first name to continue', + }, + }, }, { id: 'last-name', label: 'Last name', mandatory: true, type: 'TextField', + validation: { + messages: { + MANDATORY_TEXTFIELD: 'Enter a last name to continue', + }, + }, }, ], }, diff --git a/source/jsonnet/northern-ireland/individual/blocks/identity-and-health/arrive_in_country.jsonnet b/source/jsonnet/northern-ireland/individual/blocks/identity-and-health/arrive_in_country.jsonnet index 0d74ceb1..f5f9f421 100644 --- a/source/jsonnet/northern-ireland/individual/blocks/identity-and-health/arrive_in_country.jsonnet +++ b/source/jsonnet/northern-ireland/individual/blocks/identity-and-health/arrive_in_country.jsonnet @@ -8,7 +8,7 @@ local question(title) = { answers: [ { id: 'arrive-in-country-answer', - mandatory: false, + mandatory: true, type: 'YearDate', minimum: { value: { @@ -19,6 +19,11 @@ local question(title) = { maximum: { value: 'now', }, + validation: { + messages: { + MANDATORY_DATE: 'Enter date of arrival to continue', + }, + }, }, ], }; diff --git a/source/jsonnet/northern-ireland/individual/blocks/personal-details/date_of_birth.jsonnet b/source/jsonnet/northern-ireland/individual/blocks/personal-details/date_of_birth.jsonnet index 5fe358bb..298e5137 100644 --- a/source/jsonnet/northern-ireland/individual/blocks/personal-details/date_of_birth.jsonnet +++ b/source/jsonnet/northern-ireland/individual/blocks/personal-details/date_of_birth.jsonnet @@ -17,6 +17,11 @@ local question(title, mandatory) = { id: 'date-of-birth-answer', mandatory: mandatory, type: 'Date', + validation: { + messages: { + MANDATORY_DATE: 'Enter a date of birth to continue', + }, + }, minimum: { value: std.extVar('census_date'), offset_by: { diff --git a/translations/ccs_household_gb_eng.pot b/translations/ccs_household_gb_eng.pot index 3ad41124..c4ea7a99 100644 --- a/translations/ccs_household_gb_eng.pot +++ b/translations/ccs_household_gb_eng.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-06-19 15:02+0100\n" +"POT-Creation-Date: 2020-06-25 13:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/translations/census_communal_establishment_gb_wls.pot b/translations/census_communal_establishment_gb_wls.pot index 98e40889..75741377 100644 --- a/translations/census_communal_establishment_gb_wls.pot +++ b/translations/census_communal_establishment_gb_wls.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-06-16 08:16+0100\n" +"POT-Creation-Date: 2020-06-25 13:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/translations/census_household_gb_nir.pot b/translations/census_household_gb_nir.pot index e8a8c076..dfb896fb 100644 --- a/translations/census_household_gb_nir.pot +++ b/translations/census_household_gb_nir.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-06-25 09:01+0100\n" +"POT-Creation-Date: 2020-06-25 13:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1965,6 +1965,120 @@ msgid "" "3 months or more" msgstr "" +#. Answer error message +msgctxt "What is your name?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "What is your name?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who else lives at {household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who else lives at {household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who lives at {household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who lives at {household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name} (You)" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name} (You)" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name}" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name}" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who do you need to add to {household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who do you need to add to {household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name} (You)" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name} (You)" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name}" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name}" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"What is the name of the visitor staying overnight on {census_date} at " +"{household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"What is the name of the visitor staying overnight on {census_date} at " +"{household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "What is your date of birth?" +msgid "Enter a date of birth to continue" +msgstr "" + +#. Answer error message +msgctxt "What is {person_name_possessive} date of birth?" +msgid "Enter a date of birth to continue" +msgstr "" + +#. Answer error message +msgctxt "What year did you come to live in Northern Ireland?" +msgid "Enter date of arrival to continue" +msgstr "" + +#. Answer error message +msgctxt "What year did {person_name} come to live in Northern Ireland?" +msgid "Enter date of arrival to continue" +msgstr "" + #. Answer msgctxt "What is your name?" msgid "First name" diff --git a/translations/census_household_gb_wls.pot b/translations/census_household_gb_wls.pot index 678cc701..11498da7 100644 --- a/translations/census_household_gb_wls.pot +++ b/translations/census_household_gb_wls.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-06-25 09:01+0100\n" +"POT-Creation-Date: 2020-06-25 13:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2481,6 +2481,144 @@ msgid "" " renew them" msgstr "" +#. Answer error message +msgctxt "What is your name?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "What is your name?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who else lives at {household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who else lives at {household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who lives at {household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who lives at {household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name} (You)" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name} (You)" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name}" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Change details for {person_name}" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who do you need to add to {household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "Who do you need to add to {household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"What is the name of the visitor staying overnight on Sunday {census_date}" +" at {household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"What is the name of the visitor staying overnight on Sunday {census_date}" +" at {household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"What is the name of the {ordinality} visitor staying overnight on Sunday " +"{census_date} at {household_address}?" +msgid "Enter a first name to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"What is the name of the {ordinality} visitor staying overnight on Sunday " +"{census_date} at {household_address}?" +msgid "Enter a last name to continue" +msgstr "" + +#. Answer error message +msgctxt "What is your date of birth?" +msgid "Enter a date of birth to continue" +msgstr "" + +#. Answer error message +msgctxt "What is {person_name_possessive} date of birth?" +msgid "Enter a date of birth to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"In which country outside the UK is the address you stay at for more than " +"30 days a year?" +msgid "Enter a country to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"In which country outside the UK is the address {person_name} " +"stays at for more than 30 days a year?" +msgid "Enter a country to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"Enter details of the other UK address where you stay for more than 30 " +"days a year." +msgid "Enter an address to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"Enter details of the other UK address where {person_name} stays " +"for more than 30 days a year." +msgid "Enter an address to continue" +msgstr "" + +#. Answer error message +msgctxt "When did you most recently arrive to live in the United Kingdom?" +msgid "Enter date of arrival to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"When did {person_name} most recently arrive to live in the " +"United Kingdom?" +msgid "Enter date of arrival to continue" +msgstr "" + #. Answer msgctxt "What is your name?" msgid "First name" diff --git a/translations/census_individual_gb_nir.pot b/translations/census_individual_gb_nir.pot index 39501943..11e4d03d 100644 --- a/translations/census_individual_gb_nir.pot +++ b/translations/census_individual_gb_nir.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-06-16 08:16+0100\n" +"POT-Creation-Date: 2020-06-25 13:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1415,6 +1415,26 @@ msgctxt "What is their name?" msgid "Enter a last name to continue" msgstr "" +#. Answer error message +msgctxt "What is your date of birth?" +msgid "Enter a date of birth to continue" +msgstr "" + +#. Answer error message +msgctxt "What is {person_name_possessive} date of birth?" +msgid "Enter a date of birth to continue" +msgstr "" + +#. Answer error message +msgctxt "What year did you come to live in Northern Ireland?" +msgid "Enter date of arrival to continue" +msgstr "" + +#. Answer error message +msgctxt "What year did {person_name} come to live in Northern Ireland?" +msgid "Enter date of arrival to continue" +msgstr "" + #. Answer msgctxt "What is your name?" msgid "First name" diff --git a/translations/census_individual_gb_wls.pot b/translations/census_individual_gb_wls.pot index 677b0016..be94edbc 100644 --- a/translations/census_individual_gb_wls.pot +++ b/translations/census_individual_gb_wls.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-06-16 08:16+0100\n" +"POT-Creation-Date: 2020-06-25 13:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1873,6 +1873,56 @@ msgctxt "What is their name?" msgid "Enter a last name to continue" msgstr "" +#. Answer error message +msgctxt "What is your date of birth?" +msgid "Enter a date of birth to continue" +msgstr "" + +#. Answer error message +msgctxt "What is {person_name_possessive} date of birth?" +msgid "Enter a date of birth to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"In which country outside the UK is the address you stay at for more than " +"30 days a year?" +msgid "Enter a country to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"In which country outside the UK is the address {person_name} " +"stays at for more than 30 days a year?" +msgid "Enter a country to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"Enter details of the other UK address where you stay for more than 30 " +"days a year." +msgid "Enter an address to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"Enter details of the other UK address where {person_name} stays " +"for more than 30 days a year." +msgid "Enter an address to continue" +msgstr "" + +#. Answer error message +msgctxt "When did you most recently arrive to live in the United Kingdom?" +msgid "Enter date of arrival to continue" +msgstr "" + +#. Answer error message +msgctxt "" +"When did {person_name} most recently arrive to live in the " +"United Kingdom?" +msgid "Enter date of arrival to continue" +msgstr "" + #. Answer msgctxt "What is your name?" msgid "First name"