diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index e47191f6e..49931ee05 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -8411,7 +8411,7 @@ } ], "title_text": { - "translation": "soft_validations.rent.min.title_text", + "translation": "soft_validations.rent.outside_range_title", "arguments": [ { "key": "brent", @@ -8421,7 +8421,7 @@ ] }, "informative_text": { - "translation": "soft_validations.rent.min.hint_text", + "translation": "soft_validations.rent.min_hint_text", "arguments": [ { "key": "soft_min_for_period", @@ -8463,7 +8463,7 @@ } ], "title_text": { - "translation": "soft_validations.rent.max.title_text", + "translation": "soft_validations.rent.outside_range_title", "arguments": [ { "key": "brent", @@ -8473,7 +8473,7 @@ ] }, "informative_text": { - "translation": "soft_validations.rent.max.hint_text", + "translation": "soft_validations.rent.max_hint_text", "arguments": [ { "key": "soft_max_for_period", diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index 7c54b67d4..ebd1bd594 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -8376,7 +8376,7 @@ } ], "title_text": { - "translation": "soft_validations.rent.min.title_text", + "translation": "soft_validations.rent.outside_range_title", "arguments": [ { "key": "brent", @@ -8385,16 +8385,7 @@ } ] }, - "informative_text": { - "translation": "soft_validations.rent.min.hint_text", - "arguments": [ - { - "key": "soft_min_for_period", - "label": false, - "i18n_template": "soft_min_for_period" - } - ] - }, + "informative_text": {}, "questions": { "rent_value_check": { "check_answer_label": "Total rent confirmation", @@ -8408,7 +8399,8 @@ } ] }, - "header": "Are you sure this is correct?", + "header": "This rent is lower than expected for this property type, in this area. Check:", + "hint_text": "

Are you sure this is correct?

", "type": "interruption_screen", "answer_options": { "0": { @@ -8428,7 +8420,7 @@ } ], "title_text": { - "translation": "soft_validations.rent.max.title_text", + "translation": "soft_validations.rent.outside_range_title", "arguments": [ { "key": "brent", @@ -8437,16 +8429,7 @@ } ] }, - "informative_text": { - "translation": "soft_validations.rent.max.hint_text", - "arguments": [ - { - "key": "soft_max_for_period", - "label": false, - "i18n_template": "soft_max_for_period" - } - ] - }, + "informative_text": {}, "questions": { "rent_value_check": { "check_answer_label": "Total rent confirmation", @@ -8460,7 +8443,8 @@ } ] }, - "header": "Are you sure this is correct?", + "header": "This rent is higher than expected for this property type, in this area. Check:", + "hint_text": "

Are you sure this is correct?

", "type": "interruption_screen", "answer_options": { "0": { diff --git a/config/locales/en.yml b/config/locales/en.yml index 22aa05214..63b71301c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -448,12 +448,9 @@ en: in_soft_max_range: message: "Net income is higher than expected based on the lead tenant’s working situation. Are you sure this is correct?" rent: - min: - title_text: "You told us the rent is %{brent}" - hint_text: "The minimum rent expected for this type of property in this local authority is £%{soft_min_for_period}." - max: - title_text: "You told us the rent is %{brent}" - hint_text: "The maximum rent expected for this type of property in this local authority is £%{soft_max_for_period}." + outside_range_title: "You told us the rent is %{brent}" + min_hint_text: "The minimum rent expected for this type of property in this local authority is £%{soft_min_for_period}." + max_hint_text: "The maximum rent expected for this type of property in this local authority is £%{soft_max_for_period}." retirement: min: title: "You told us this person is under %{age} and retired"