diff --git a/app/models/form/sales/pages/deposit_value_check.rb b/app/models/form/sales/pages/deposit_value_check.rb index e8c5eb948..b31b2cecb 100644 --- a/app/models/form/sales/pages/deposit_value_check.rb +++ b/app/models/form/sales/pages/deposit_value_check.rb @@ -6,9 +6,24 @@ class Form::Sales::Pages::DepositValueCheck < ::Form::Page "deposit_over_soft_max?" => true, }, ] - @informative_text = {} + @informative_text = { + "translation" => "soft_validations.deposit.hint_text", + "arguments" => [], + } @title_text = { "translation" => "soft_validations.deposit.title_text", + "arguments" => [ + { + "key" => "field_formatted_as_currency", + "arguments_for_key" => "deposit", + "i18n_template" => "deposit", + }, + { + "key" => "field_formatted_as_currency", + "arguments_for_key" => "savings", + "i18n_template" => "savings", + }, + ], } end diff --git a/config/locales/en.yml b/config/locales/en.yml index 4989f3b70..68e16eafd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -586,7 +586,8 @@ en: title_text: "You told us the buyer’s savings were %{savings}." hint_text: "This is higher than we would expect." deposit: - title_text: "Are you sure that the deposit is this much higher than the buyer's savings?" + title_text: "You told us the buyer’s deposit was %{deposit} and their savings were %{savings}." + hint_text: "The deposit amount is higher than we would expect for the amount of savings they have." grant: title_text: "You told us that the grant amount is %{grant}" hint_text: "Loans, grants and subsidies are usually between £9,000 and £16,000."