diff --git a/app/helpers/interruption_screen_helper.rb b/app/helpers/interruption_screen_helper.rb index 2dadeea89..7731d9425 100644 --- a/app/helpers/interruption_screen_helper.rb +++ b/app/helpers/interruption_screen_helper.rb @@ -6,11 +6,7 @@ module InterruptionScreenHelper informative_text["arguments"].each do |argument| value = if argument["label"] pre_casing_value = lettings_log.form.get_question(argument["key"], lettings_log).answer_label(lettings_log) - if argument["key"] == "la" - pre_casing_value - else - pre_casing_value.downcase - end + pre_casing_value.downcase else lettings_log.public_send(argument["key"]) end diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 801ab5717..b878fe70d 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -8430,11 +8430,6 @@ "informative_text": { "translation": "soft_validations.rent.min.hint_text", "arguments": [ - { - "key": "la", - "label": true, - "i18n_template": "la" - }, { "key": "soft_min_for_period", "label": false, @@ -8487,11 +8482,6 @@ "informative_text": { "translation": "soft_validations.rent.max.hint_text", "arguments": [ - { - "key": "la", - "label": true, - "i18n_template": "la" - }, { "key": "soft_max_for_period", "label": false, diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index 490d28e12..0fa9ca47d 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -8386,11 +8386,6 @@ "informative_text": { "translation": "soft_validations.rent.min.hint_text", "arguments": [ - { - "key": "la", - "label": true, - "i18n_template": "la" - }, { "key": "soft_min_for_period", "label": false, @@ -8443,11 +8438,6 @@ "informative_text": { "translation": "soft_validations.rent.max.hint_text", "arguments": [ - { - "key": "la", - "label": true, - "i18n_template": "la" - }, { "key": "soft_max_for_period", "label": false, diff --git a/config/locales/en.yml b/config/locales/en.yml index a8497d2ed..003f573dc 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -322,10 +322,10 @@ en: rent: min: title_text: "You told us the rent is %{brent}" - hint_text: "The minimum rent expected for this type of property in %{la} is £%{soft_min_for_period}." + 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 %{la} is £%{soft_max_for_period}." + 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"