one:"There is a possible match for this address which doesn't look right. Check the address data in your CSV file is correct and complete, or confirm the address in the service."
multiple:"There are multiple matches for this address. Check the address data in your CSV file is correct and complete, or select the correct address in the service."
not_answered:"Enter either the UPRN or the full address."
confidential_scheme_suffix:"If your letting is in a confidential scheme, check the scheme you chose. A coordinator can edit a scheme to confidential on the ‘Schemes' page."
"You must enter address. If your letting is in a confidential scheme, please check the scheme you chose in the ‘Set up this lettings log’ section. If a scheme needs updating to mark it as confidential, a CORE coordinator in your organisation can do this.",
"You must enter address. If your letting is in a confidential scheme, please check the scheme you chose in the ‘Set up this lettings log’ section. If a scheme needs updating to mark it as confidential, a CORE coordinator in your organisation can do this.",
@ -1676,10 +1677,10 @@ RSpec.describe BulkUpload::Lettings::Year2026::RowParser do
it"adds errors to missing key address fields"do
parser.valid?
expect(parser.errors[:field_19]).toeql([I18n.t("validations.lettings.2026.bulk_upload.not_answered",question:"address line 1.")])
expect(parser.errors[:field_21]).toeql([I18n.t("validations.lettings.2026.bulk_upload.not_answered",question:"town or city.")])
expect(parser.errors[:field_23]).toeql([I18n.t("validations.lettings.2026.bulk_upload.not_answered",question:"part 1 of postcode.")])
expect(parser.errors[:field_24]).toeql([I18n.t("validations.lettings.2026.bulk_upload.not_answered",question:"part 2 of postcode.")])
expect(parser.errors[:field_19]).toeql(["#{I18n.t('validations.lettings.2026.bulk_upload.not_answered',question:'address line 1.')}#{confidential_suffix}"])
expect(parser.errors[:field_21]).toeql(["#{I18n.t('validations.lettings.2026.bulk_upload.not_answered',question:'town or city.')}#{confidential_suffix}"])
expect(parser.errors[:field_23]).toeql(["#{I18n.t('validations.lettings.2026.bulk_upload.not_answered',question:'part 1 of postcode.')}#{confidential_suffix}"])
expect(parser.errors[:field_24]).toeql(["#{I18n.t('validations.lettings.2026.bulk_upload.not_answered',question:'part 2 of postcode.')}#{confidential_suffix}"])
end
end
@ -1707,11 +1708,20 @@ RSpec.describe BulkUpload::Lettings::Year2026::RowParser do
it"adds appropriate errors to UPRN and key address fields"do