Browse Source

feat: update copy for single validations

pull/1518/head
natdeanlewissoftwire 3 years ago
parent
commit
671c340409
  1. 2
      app/models/form/sales/pages/buyer1_income_max_value_check.rb
  2. 2
      app/models/form/sales/pages/buyer2_income_max_value_check.rb
  3. 5
      config/locales/en.yml

2
app/models/form/sales/pages/buyer1_income_max_value_check.rb

@ -7,7 +7,7 @@ class Form::Sales::Pages::Buyer1IncomeMaxValueCheck < ::Form::Page
}, },
] ]
@title_text = { @title_text = {
"translation" => "soft_validations.income.over_soft_max_for_la", "translation" => "soft_validations.income.over_soft_max_for_la_buyer_1",
"arguments" => [ "arguments" => [
{ {
"key" => "field_formatted_as_currency", "key" => "field_formatted_as_currency",

2
app/models/form/sales/pages/buyer2_income_max_value_check.rb

@ -7,7 +7,7 @@ class Form::Sales::Pages::Buyer2IncomeMaxValueCheck < ::Form::Page
}, },
] ]
@title_text = { @title_text = {
"translation" => "soft_validations.income.over_soft_max_for_la", "translation" => "soft_validations.income.over_soft_max_for_la_buyer_2",
"arguments" => [ "arguments" => [
{ {
"key" => "field_formatted_as_currency", "key" => "field_formatted_as_currency",

5
config/locales/en.yml

@ -514,8 +514,9 @@ en:
message: "Net income is higher than expected based on the lead tenant’s working situation. Are you sure this is correct?" message: "Net income is higher than expected based on the lead tenant’s working situation. Are you sure this is correct?"
income: income:
under_soft_min_for_economic_status: "You said income was %{income}, which is below this working situation's minimum (%{minimum})" under_soft_min_for_economic_status: "You said income was %{income}, which is below this working situation's minimum (%{minimum})"
over_soft_max_for_la: "You told us the income of this buyer is %{income}, which seems high." over_soft_max_for_la_buyer_1: "You told us the income of buyer 1 is %{income}, which seems high."
over_soft_max_for_la_combined: "You told us the income of this household is %{combined_income}, which seems high." over_soft_max_for_la_buyer_2: "You told us the income of buyer 2 is %{income}, which seems high."
over_soft_max_for_la_combined: "You told us the combined income of this household is %{combined_income}, which seems high."
rent: rent:
outside_range_title: "You told us the rent is %{brent}" 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}." min_hint_text: "The minimum rent expected for this type of property in this local authority is £%{soft_min_for_period}."

Loading…
Cancel
Save