Skip to content

Commit

Permalink
Merge pull request #1303 from govuk-one-login/AUT-2229/fix-page-titles
Browse files Browse the repository at this point in the history
AUT-2229: Fixed Page Titles Not Displaying In Tab Heading
  • Loading branch information
alhcomer authored Jan 30, 2024
2 parents 7e1ca66 + a4e621a commit 8303832
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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 %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends "common/layout/base.njk" %}
{% set pageTitleName = 'pages.permanentlyLockedScreen.title' | translate %}

{% block content %}

Expand Down
Original file line number Diff line number Diff line change
@@ -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 %}

Expand Down
3 changes: 3 additions & 0 deletions src/locales/cy/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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."
Expand Down
5 changes: 4 additions & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
},
Expand All @@ -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."
Expand Down

0 comments on commit 8303832

Please sign in to comment.