Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move accessibility dates to locales #3225

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions app/views/static_pages/accessibility_statement.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,14 @@
<h2 class="govuk-heading-l">How we tested this website</h2>

<p class="govuk-body">
This website was last tested on 28 July 2022. The test was carried out by the Department for Education.
This website was last tested on <%= I18n.t("#{journey::I18N_NAMESPACE}.accessibility_statement.test_date") %>. The test was carried out by the Department for Education.
</p>

<p class="govuk-body">
This statement was prepared on 31 July 2019. It was last updated on 28 July 2022.
This statement was prepared on <%= I18n.t("#{journey::I18N_NAMESPACE}.accessibility_statement.prepared_date") %>.
<% if I18n.exists?("#{journey::I18N_NAMESPACE}.accessibility_statement.updated_date") %>
It was last updated on <%= I18n.t("#{journey::I18N_NAMESPACE}.accessibility_statement.updated_date") %>
<% end %>
</p>

</div>
Expand Down
27 changes: 27 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ en:
mobile_number_verified: "You must verify your mobile number before you can submit your claim"
already_submitted: "You have already submitted this claim"
student_loans:
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
forms:
claim_school:
questions:
Expand Down Expand Up @@ -436,6 +440,10 @@ en:
matching_details:
title: "Is this claim still valid despite having matching details with other claims?"
additional_payments: &additional_payments
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
forms:
correct_school:
questions:
Expand Down Expand Up @@ -698,6 +706,10 @@ en:
support_email_address: "[email protected]"
information_provided_further_details_link_text: school targeted retention incentive (opens in new tab)
get_a_teacher_relocation_payment: &get_a_teacher_relocation_payment
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
journey_name: "Get a teacher relocation payment"
feedback_email: "[email protected]"
claim_description: "for a get a teacher relocation payment"
Expand Down Expand Up @@ -847,6 +859,10 @@ en:
teaching_hours:
title: "Does the teacher meet the minimum 50% teaching time requirement in their role?"
further_education_payments:
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
landing_page: Find out if you are eligible for a targeted retention incentive payment for further education teachers
claim_description: for further education payments
journey_name: Claim a targeted retention incentive payment for further education teachers
Expand Down Expand Up @@ -1196,6 +1212,9 @@ en:
correct.
btn_text: Accept and send
further_education_payments_provider:
accessibility_statement:
test_date: "20 September 2024"
prepared_date: "24 September 2024"
journey_name: Claim a targeted retention incentive payment for further education teachers - provider
feedback_email: "[email protected]"
support_email_address: "[email protected]"
Expand Down Expand Up @@ -1275,6 +1294,10 @@ en:
early_years_payment:
claim_description: for an early years financial incentive payment
early_years_payment_provider_start:
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
claim_description: for an early years financial incentive payment
journey_name: Claim an early years financial incentive payment - start
landing_page:
Expand All @@ -1286,6 +1309,10 @@ en:
email_address:
question: Enter your email address
early_years_payment_provider_authenticated: &early_years_payment_provider_authenticated
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
claim_description: for an early years financial incentive payment
journey_name: Claim an early years financial incentive payment - provider
feedback_email: "[email protected]"
Expand Down
Loading