From a4e621abda012c8fbb631dba08128cfd7decbb05 Mon Sep 17 00:00:00 2001 From: Aidan Comer Date: Mon, 22 Jan 2024 11:38:29 +0000 Subject: [PATCH] AUT-2229: Fixed Page Titles Not Displaying In Tab Heading --- .../account-intervention/password-reset-required/index.njk | 1 + .../account-intervention/permanently-blocked/index.njk | 1 + .../account-intervention/temporarily-blocked/index.njk | 1 + src/locales/cy/translation.json | 3 +++ src/locales/en/translation.json | 5 ++++- 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/account-intervention/password-reset-required/index.njk b/src/components/account-intervention/password-reset-required/index.njk index c35f036c1..dc43f4d9b 100644 --- a/src/components/account-intervention/password-reset-required/index.njk +++ b/src/components/account-intervention/password-reset-required/index.njk @@ -1,5 +1,6 @@ {% extends "common/layout/base.njk" %} {% from "govuk/components/button/macro.njk" import govukButton %} +{% set pageTitleName = 'pages.needToResetPassword.title' | translate %} {% block content %} diff --git a/src/components/account-intervention/permanently-blocked/index.njk b/src/components/account-intervention/permanently-blocked/index.njk index 5ffecb049..c274e554a 100644 --- a/src/components/account-intervention/permanently-blocked/index.njk +++ b/src/components/account-intervention/permanently-blocked/index.njk @@ -1,4 +1,5 @@ {% extends "common/layout/base.njk" %} +{% set pageTitleName = 'pages.permanentlyLockedScreen.title' | translate %} {% block content %} diff --git a/src/components/account-intervention/temporarily-blocked/index.njk b/src/components/account-intervention/temporarily-blocked/index.njk index 9b84021e4..4b856b413 100644 --- a/src/components/account-intervention/temporarily-blocked/index.njk +++ b/src/components/account-intervention/temporarily-blocked/index.njk @@ -1,5 +1,6 @@ {% extends "common/layout/base.njk" %} {% from "govuk/components/button/macro.njk" import govukButton %} +{% set pageTitleName = 'pages.suspendedPageScreen.title' | translate %} {% block content %} diff --git a/src/locales/cy/translation.json b/src/locales/cy/translation.json index 45b842b6a..2c8c4cf96 100644 --- a/src/locales/cy/translation.json +++ b/src/locales/cy/translation.json @@ -2233,11 +2233,13 @@ } }, "needToResetPassword": { + "title": "Mae angen i chi ailosod eich cyfrinair", "header": "Mae angen i chi ailosod eich cyfrinair", "paragraph1": "Er mwyn cadw eich GOV.UK One Login yn ddiogel, mae angen i chi ailosod eich cyfrinair.", "paragraph2": "Byddwn yn anfon cod i’ch cyfeiriad e-bost, y gallwch ei ddefnyddio i ailosod eich cyfrinair." }, "permanentlyLockedScreen": { + "title": "Mae eich GOV.UK One Login wedi ei gloi yn barhaol", "header": "Mae eich GOV.UK One Login wedi ei gloi yn barhaol", "section1": { "paragraph1": "Ni allwch fewngofnodi ac ni allwch ddefnyddio eich GOV.UK One Login i gael mynediad at wasanaethau’r llywodraeth." @@ -2249,6 +2251,7 @@ } }, "suspendedPageScreen": { + "title": "Mae’n ddrwg gennym, mae problem", "heading": "Mae’n ddrwg gennym, mae problem", "section1": { "paragraph1": "Nid yw eich GOV.UK One Login ar gael ar hyn o bryd." diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 0e8c24fc1..08969fe76 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -2233,12 +2233,14 @@ } }, "needToResetPassword": { + "title": "You need to reset your password", "header": "You need to reset your password", "paragraph1": "To keep your GOV.UK One Login safe, you need to reset your password.", "paragraph2": "We’ll send a code to your email address, which you can use to reset your password." }, "permanentlyLockedScreen": { - "header": "Your GOV.UK One Login has been permanently locked", + "title": "Your GOV.UK One Login has been permanently locked", + "header": "Your GOV.UK One Login has been permanently locked", "section1": { "paragraph1": "You cannot sign in and you cannot use your GOV.UK One Login to access government services." }, @@ -2249,6 +2251,7 @@ } }, "suspendedPageScreen": { + "title": "Sorry, there is a problem", "heading": "Sorry, there is a problem", "section1": { "paragraph1": "Your GOV.UK One Login is not available at the moment."