diff --git a/app/services/bulk_upload/lettings/row_parser.rb b/app/services/bulk_upload/lettings/row_parser.rb index e1f60d22f..0f054b1a1 100644 --- a/app/services/bulk_upload/lettings/row_parser.rb +++ b/app/services/bulk_upload/lettings/row_parser.rb @@ -171,7 +171,7 @@ private def validate_la_with_local_housing_referral if field_78 == 3 && owning_organisation && owning_organisation.la? - errors.add(:field_78, "The source of the referral cannot be Nominated by local housing authority as your organisation is a local authority") + errors.add(:field_78, I18n.t("validations.household.referral.nominated_by_local_ha_but_la")) end end diff --git a/config/locales/en.yml b/config/locales/en.yml index 0f5bd6aef..a9d4415c2 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -356,6 +356,7 @@ en: other_homeless: "Answer cannot be internal transfer as the tenant was considered homeless by their landlord" prevten_invalid: "Answer cannot be internal transfer as the household situation immediately before this letting was %{prevten}" reason_permanently_decanted: "Answer must be internal transfer as the tenant was permanently decanted from another property owned by this landlord" + nominated_by_local_ha_but_la: The source of the referral cannot be Nominated by local housing authority as your organisation is a local authority la_general_needs: internal_transfer: "Answer cannot be internal transfer as it’s the same landlord on the tenancy agreement and the household had either a fixed-term or lifetime local authority general needs tenancy immediately before this letting" prp: