Browse Source

Update validation message: staircase

pull/1584/head
Kat 3 years ago
parent
commit
87c523aaef
  1. 7
      app/models/form/sales/pages/staircase_bought_value_check.rb
  2. 4
      config/locales/en.yml

7
app/models/form/sales/pages/staircase_bought_value_check.rb

@ -8,7 +8,7 @@ class Form::Sales::Pages::StaircaseBoughtValueCheck < ::Form::Page
},
]
@title_text = {
"translation" => "soft_validations.staircase_bought_seems_high",
"translation" => "soft_validations.staircase_bought_seems_high.title_text",
"arguments" => [
{
"key" => "stairbought",
@ -16,7 +16,10 @@ class Form::Sales::Pages::StaircaseBoughtValueCheck < ::Form::Page
},
],
}
@informative_text = {}
@informative_text = {
"translation" => "soft_validations.staircase_bought_seems_high.hint_text",
"arguments" => [],
}
end
def questions

4
config/locales/en.yml

@ -555,7 +555,9 @@ en:
shared_ownership_deposit:
title_text: "Mortgage, deposit and cash discount total should equal %{expected_shared_ownership_deposit_value}"
old_persons_shared_ownership: "At least one buyer should be aged over 64 for Older persons’ shared ownership scheme"
staircase_bought_seems_high: "You said %{percentage}% was bought in this staircasing transaction, which seems high. Are you sure?"
staircase_bought_seems_high:
title_text: "You told us that %{percentage}% was bought in this staircasing transaction."
hint_text: "Most staircasing transactions are less than 50%"
monthly_charges_over_soft_max:
title_text: "The amount of monthly charges is high for this type of property and sale type"
student_not_child:

Loading…
Cancel
Save