From b7fe8cd95c46e3167268346d7463e6b6bac521a5 Mon Sep 17 00:00:00 2001 From: Richard Lynch Date: Mon, 16 Sep 2024 12:08:02 +0100 Subject: [PATCH] Fix missing translation Fixes the missing translation for the studen loan plan task, and adds the student loan plan to the answers presenter. --- .../further_education_payments/admin_tasks_presenter.rb | 4 +++- config/locales/en.yml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/models/policies/further_education_payments/admin_tasks_presenter.rb b/app/models/policies/further_education_payments/admin_tasks_presenter.rb index a8c78e631b..9294ddfd9b 100644 --- a/app/models/policies/further_education_payments/admin_tasks_presenter.rb +++ b/app/models/policies/further_education_payments/admin_tasks_presenter.rb @@ -35,7 +35,9 @@ def identity_confirmation end def student_loan_plan - [] + [ + ["Student loan plan", claim.student_loan_plan&.humanize] + ] end private diff --git a/config/locales/en.yml b/config/locales/en.yml index e9fd5c1bb9..9b2fc1840a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -912,6 +912,8 @@ en: claimant_answers: true: "Yes" false: "No" + student_loan_plan: + title: "Does the claimant’s student loan plan match the information we hold about their loan?" forms: ineligible: courses: