Browse Source

CLDC-4328: Use a specific error message per year/log type

CLDC-4328-wrong-column-count-error-message
samyou-softwire 5 days ago
parent
commit
7092c5cd5b
  1. 2
      config/locales/validations/lettings/2025/bulk_upload.en.yml
  2. 2
      config/locales/validations/lettings/2026/bulk_upload.en.yml
  3. 2
      config/locales/validations/sales/2025/bulk_upload.en.yml
  4. 2
      config/locales/validations/sales/2026/bulk_upload.en.yml

2
config/locales/validations/lettings/2025/bulk_upload.en.yml

@ -12,7 +12,7 @@ en:
wrong_template:
wrong_template: "Incorrect start dates, please ensure you have used the correct template."
no_headers: "Your file does not contain the required header rows. Add or check the header rows and upload your file again. [Read more about using the template headers](%{guidance_link})."
wrong_field_numbers_count: "Incorrect number of fields, please ensure you have used the template for the correct type (lettings or sales) and year."
wrong_field_numbers_count: "Incorrect number of fields, please ensure you have used the template for lettings 2025."
over_max_column_count: "Too many columns, please ensure you have used the correct template."
owning_organisation:
not_found: "The owning organisation code is incorrect."

2
config/locales/validations/lettings/2026/bulk_upload.en.yml

@ -12,7 +12,7 @@ en:
wrong_template:
wrong_template: "Incorrect start dates, please ensure you have used the correct template."
no_headers: "Your file does not contain the required header rows. Add or check the header rows and upload your file again. [Read more about using the template headers](%{guidance_link})."
wrong_field_numbers_count: "Incorrect number of fields, please ensure you have used the template for the correct type (lettings or sales) and year."
wrong_field_numbers_count: "Incorrect number of fields, please ensure you have used the template for lettings 2026."
over_max_column_count: "Too many columns, please ensure you have used the correct template."
owning_organisation:
not_found: "The owning organisation code is incorrect."

2
config/locales/validations/sales/2025/bulk_upload.en.yml

@ -11,7 +11,7 @@ en:
wrong_template:
over_max_column_count: "Too many columns, please ensure you have used the correct template."
no_headers: "Your file does not contain the required header rows. Add or check the header rows and upload your file again. [Read more about using the template headers](%{guidance_link})."
wrong_field_numbers_count: "Incorrect number of fields, please ensure you have used the template for the correct type (lettings or sales) and year."
wrong_field_numbers_count: "Incorrect number of fields, please ensure you have used the template for sales 2025."
wrong_template: "Incorrect sale dates, please ensure you have used the correct template."
numeric:
within_range: "%{field} must be between %{min} and %{max}."

2
config/locales/validations/sales/2026/bulk_upload.en.yml

@ -11,7 +11,7 @@ en:
wrong_template:
over_max_column_count: "Too many columns, please ensure you have used the correct template."
no_headers: "Your file does not contain the required header rows. Add or check the header rows and upload your file again. [Read more about using the template headers](%{guidance_link})."
wrong_field_numbers_count: "Incorrect number of fields, please ensure you have used the template for the correct type (lettings or sales) and year."
wrong_field_numbers_count: "Incorrect number of fields, please ensure you have used the template for sales 2026."
wrong_template: "Incorrect sale dates, please ensure you have used the correct template."
numeric:
within_range: "%{field} must be between %{min} and %{max}."

Loading…
Cancel
Save