From ec046944c0fc991ccbc4673c2a592dddece13708 Mon Sep 17 00:00:00 2001 From: Robert Bond Date: Mon, 20 Jul 2026 06:51:48 +0000 Subject: [PATCH] Merged PR 2488: fixed welsh breadcrumb link fixed welsh breadcrumb link Related work items: #24328 --- components/breadcrumbs.js | 2 +- components/homepage/dns.js | 10 +++++----- locales/cy/home.json | 5 ++++- locales/en/home.json | 5 ++++- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/components/breadcrumbs.js b/components/breadcrumbs.js index 250e40f3..67e6fa8d 100644 --- a/components/breadcrumbs.js +++ b/components/breadcrumbs.js @@ -186,7 +186,7 @@ const Breadcrumbs = (props) => { <> {renderLinkCrumb( isWelsh - ? `${router.locale}/dnsapplications` + ? `/${router.locale}/dnsapplications` : "/dnsapplications", t("dnsCommon:service-name") )} diff --git a/components/homepage/dns.js b/components/homepage/dns.js index 2c5b63a1..ec507853 100644 --- a/components/homepage/dns.js +++ b/components/homepage/dns.js @@ -41,12 +41,12 @@ export default function Dns() {
-

Contact us

+

+ {t("home:contact-us-heading")} +

- If you have any queries on an appeal, application or - anything else regarding Planning Caserwork you can - contact us. + {t("home:contact-us-paragraph")}

@@ -58,7 +58,7 @@ export default function Dns() { } className="govuk-button govuk-button--secondary-cta" > - Contact us + {t("home:contact-us-button")}
diff --git a/locales/cy/home.json b/locales/cy/home.json index 6b440df0..3a6dbb8b 100644 --- a/locales/cy/home.json +++ b/locales/cy/home.json @@ -57,5 +57,8 @@ "ai-policy-notice-title": "Pwysig: canllawiau ar ddefnyddio cynnwys a gynhyrchir gan AI", "ai-policy-notice-paragraph-one": "Deellir y gall partïon ddewis defnyddio Deallusrwydd Artiffisial Cynhyrchiol (AI) wrth gyflwyno apeliadau neu gynrychioliadau i PCAC. Er bod gan y rhai sy'n ymgysylltu â PCAC hawl i ddefnyddio AI i gynorthwyo eu cyflwyniadau, dylid nodi y gall cynnwys a gynhyrchir gan AI gynnwys honiadau ffug neu ddi-sail.", "ai-policy-notice-paragraph-two": "Gan y bydd cyflwyniadau ysgrifenedig yn destun craffu yn y broses apelio, o bosibl o dan groesholiad mewn gwrandawiadau ac ymholiadau, ni ddylech wneud cyflwyniadau ysgrifenedig nad ydych yn eu deall neu'n gwybod eu bod yn gywir. Gall cyflwyno tystiolaeth anghywir arwain at gost ddiangen wrth wirio neu wrthbrofi tystiolaeth o'r fath a gallai arwain at ddyfarnu costau yn eich erbyn. Gweler ein Canllawiau ar gyfer defnyddio AI Cynhyrchiol am ragor o wybodaeth.", - "ai-policy-notice-dismiss-button": "Rwy'n deall" + "ai-policy-notice-dismiss-button": "Rwy'n deall", + "contact-us-heading": "Cysylltu â ni", + "contact-us-paragraph": "Os oes gennych unrhyw ymholiadau ynghylch apêl, cais neu unrhyw beth arall sy'n ymwneud â Gwaith Achos Cynllunio, gallwch gysylltu â ni", + "contact-us-button": "Cysylltu â ni" } \ No newline at end of file diff --git a/locales/en/home.json b/locales/en/home.json index 4082de46..1579e909 100644 --- a/locales/en/home.json +++ b/locales/en/home.json @@ -57,5 +57,8 @@ "ai-policy-notice-title": "Important: guidance on use of AI-generated content", "ai-policy-notice-paragraph-one": "It is understood that parties may choose to make use of Generative Artificial Intelligence (AI) when submitting appeals or representations to PEDW. While those engaging with PEDW are entitled to use AI to aid their submissions, it should be noted that content generated by an AI may include false or unsubstantiated claims.", "ai-policy-notice-paragraph-two": "As written submissions will be subject to scrutiny in the appeals process, potentially under cross-examination at hearings and inquiries, you should not make written submissions that you do not understand or know to be accurate. The submission of inaccurate evidence may incur unnecessary expense verifying or rebutting such evidence and could lead to an award of costs against you. Please see our Guidance for the use of Generative AI for further information.", - "ai-policy-notice-dismiss-button": "I understand" + "ai-policy-notice-dismiss-button": "I understand", + "contact-us-heading": "Contact us", + "contact-us-paragraph": "If you have any queries on an appeal, application or anything else regarding Planning Caserwork you can contact us", + "contact-us-button": "Contact us" } \ No newline at end of file