From beed71f0eaae4284df0e2c3891631b0f79d845ce Mon Sep 17 00:00:00 2001 From: Kat <54268893+kosiakkatrina@users.noreply.github.com> Date: Wed, 20 Nov 2024 08:22:44 +0000 Subject: [PATCH] Update validation messages --- .../lettings/property_information.en.yml | 20 +++++++++---------- .../sales/property_information.en.yml | 12 +++++------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/config/locales/validations/lettings/property_information.en.yml b/config/locales/validations/lettings/property_information.en.yml index a238941a3..091e89664 100644 --- a/config/locales/validations/lettings/property_information.en.yml +++ b/config/locales/validations/lettings/property_information.en.yml @@ -4,7 +4,7 @@ en: property: postcode_full: invalid: "Enter a postcode in the correct format, for example AA1 1AA." - not_in_england: "It looks like you have entered a postcode outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have an entered a postcode outside of England. Only create logs for lettings in England." rsnvac: non_temp_accommodation: "Answer cannot be re-let to tenant who occupied the same property as temporary accommodation as this accommodation is not temporary." referral_invalid: "Answer cannot be re-let to tenant who occupied the same property as temporary accommodation as a different source of referral for this letting." @@ -19,18 +19,18 @@ en: one_seven_bedroom_shared: "A shared house must have 1 to 7 bedrooms." uprn: invalid: "UPRN must be 12 digits or less." - not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England." uprn_confirmation: - not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England." uprn_selection: - not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England." la: - not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England." scheme_id: - not_in_england: "“It looks like you have selected a location outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "This scheme’s only location is outside of England. Only create logs for lettings in England." location_id: - not_in_england: "“It looks like you have selected a location outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have selected a location outside of England. Only create logs for lettings in England." startdate: - postcode_not_in_england: "It looks like you have entered a postcode outside of England - only submit Lettings forms for Lettings that occur in England" - address_not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" - location_not_in_england: "“It looks like you have selected a location outside of England - only submit Lettings forms for Lettings that occur in England" + postcode_not_in_england: "It looks like you have an entered a postcode outside of England. Only create logs for lettings in England." + address_not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England." + location_not_in_england: "It looks like you have selected a location outside of England. Only create logs for lettings in England." diff --git a/config/locales/validations/sales/property_information.en.yml b/config/locales/validations/sales/property_information.en.yml index 999e202d9..9014f1d78 100644 --- a/config/locales/validations/sales/property_information.en.yml +++ b/config/locales/validations/sales/property_information.en.yml @@ -21,7 +21,7 @@ en: joint_purchase: "Buyers’ last accommodation and discounted ownership postcodes must match." not_joint_purchase: "Buyer’s last accommodation and discounted ownership postcodes must match." invalid: "UPRN must be 12 digits or less." - not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have an entered a postcode outside of England. Only create logs for lettings in England." beds: bedsits_have_max_one_bedroom: "Number of bedrooms must be 1 if the property is a bedsit." proptype: @@ -29,11 +29,11 @@ en: uprn_known: invalid: "You must answer UPRN known?" la: - not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England." uprn_confirmation: - not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England." uprn_selection: - not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England." saledate: - postcode_not_in_england: "It looks like you have entered a postcode outside of England - only submit Lettings forms for Lettings that occur in England" - address_not_in_england: "It looks like you have entered an address outside of England - only submit Lettings forms for Lettings that occur in England" + postcode_not_in_england: "It looks like you have an entered a postcode outside of England. Only create logs for lettings in England." + address_not_in_england: "It looks like you have entered an address outside of England. Only create logs for lettings in England."