Browse Source

Update validation messages

pull/2763/head
Kat 7 months ago
parent
commit
beed71f0ea
  1. 20
      config/locales/validations/lettings/property_information.en.yml
  2. 12
      config/locales/validations/sales/property_information.en.yml

20
config/locales/validations/lettings/property_information.en.yml

@ -4,7 +4,7 @@ en:
property: property:
postcode_full: postcode_full:
invalid: "Enter a postcode in the correct format, for example AA1 1AA." 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: 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." 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." 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." one_seven_bedroom_shared: "A shared house must have 1 to 7 bedrooms."
uprn: uprn:
invalid: "UPRN must be 12 digits or less." 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: 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: 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: 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: 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: 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: 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" 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 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 create logs for lettings 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" location_not_in_england: "It looks like you have selected a location outside of England. Only create logs for lettings in England."

12
config/locales/validations/sales/property_information.en.yml

@ -21,7 +21,7 @@ en:
joint_purchase: "Buyers’ last accommodation and discounted ownership postcodes must match." joint_purchase: "Buyers’ last accommodation and discounted ownership postcodes must match."
not_joint_purchase: "Buyer’s 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." 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: beds:
bedsits_have_max_one_bedroom: "Number of bedrooms must be 1 if the property is a bedsit." bedsits_have_max_one_bedroom: "Number of bedrooms must be 1 if the property is a bedsit."
proptype: proptype:
@ -29,11 +29,11 @@ en:
uprn_known: uprn_known:
invalid: "You must answer UPRN known?" invalid: "You must answer UPRN known?"
la: 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: 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: 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: 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" 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 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 create logs for lettings in England."

Loading…
Cancel
Save