From 5689cf23ad1d38b361cb3019116dcb3ff74b80a1 Mon Sep 17 00:00:00 2001 From: Adam Cooper Date: Wed, 19 Jul 2023 10:02:09 +0100 Subject: [PATCH 1/2] Add missing keys and extraction --- service-front/app/languages/messages.pot | 10 +++++++++- .../templates/actor/lpa-create-viewercode.html.twig | 6 +++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/service-front/app/languages/messages.pot b/service-front/app/languages/messages.pot index 8b87165d4c..b2195c0989 100644 --- a/service-front/app/languages/messages.pot +++ b/service-front/app/languages/messages.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Language: en_GB\n" -"POT-Creation-Date: 2023-07-17T11:22:05+00:00\n" +"POT-Creation-Date: 2023-07-19T08:45:39+00:00\n" "X-Domain: messages\n" #: src/Actor/templates/actor/activation-key-request-received.html.twig:16 @@ -4459,3 +4459,11 @@ msgstr "" #: src/Common/templates/partials/full-lpa-display.html.twig:40 msgid "This LPA can be used as soon as it's registered unless instructions say otherwise" msgstr "" + +#: src/Actor/templates/actor/lpa-create-viewercode.html.twig:39 +msgid "The organisation could be a hospital, care home, or other health care provider. This is for your reference only" +msgstr "" + +#: src/Actor/templates/actor/lpa-create-viewercode.html.twig:41 +msgid "The organisation could be a bank, energy provider, or another business. This is for your reference only" +msgstr "" diff --git a/service-front/app/src/Actor/templates/actor/lpa-create-viewercode.html.twig b/service-front/app/src/Actor/templates/actor/lpa-create-viewercode.html.twig index 251bba4ce2..12807fc951 100644 --- a/service-front/app/src/Actor/templates/actor/lpa-create-viewercode.html.twig +++ b/service-front/app/src/Actor/templates/actor/lpa-create-viewercode.html.twig @@ -36,15 +36,15 @@
{% if lpa.caseSubtype|lower == 'hw' %} - {% set hint = 'The organisation could be a hospital, care home, or other health care provider. This is for your reference only' %} + {% set hint = 'The organisation could be a hospital, care home, or other health care provider. This is for your reference only' | trans %} {% elseif lpa.caseSubtype|lower == 'pfa' %} - {% set hint = 'The organisation could be a bank, energy provider, or another business. This is for your reference only' %} + {% set hint = 'The organisation could be a bank, energy provider, or another business. This is for your reference only' | trans %} {% endif %} {{ govuk_form_element(form.get('org_name'), { 'label': 'Organisation name' | trans, - 'hint': hint | trans, + 'hint': hint, 'attr' : {'class': 'govuk-!-width-three-quarters', 'label_class': 'govuk-label--s govuk-!-margin-bottom-3'} }) }}
From d5c3e9a01eef28c947b1817e7d78841748adef8e Mon Sep 17 00:00:00 2001 From: Adam Cooper Date: Wed, 19 Jul 2023 10:22:25 +0100 Subject: [PATCH 2/2] Updated PO with POT file --- .../app/languages/cy/LC_MESSAGES/messages.po | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/service-front/app/languages/cy/LC_MESSAGES/messages.po b/service-front/app/languages/cy/LC_MESSAGES/messages.po index 95326e90d1..1b4a414051 100644 --- a/service-front/app/languages/cy/LC_MESSAGES/messages.po +++ b/service-front/app/languages/cy/LC_MESSAGES/messages.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2023-07-17T11:22:05+00:00\n" +"POT-Creation-Date: 2023-07-19T08:45:39+00:00\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -6494,6 +6494,18 @@ msgstr "" "gynted ag y bydd wedi’i chofrestru heblaw bod y cyfarwyddiadau yn dweud fel " "arall" +#: src/Actor/templates/actor/lpa-create-viewercode.html.twig:39 +msgid "" +"The organisation could be a hospital, care home, or other health care " +"provider. This is for your reference only" +msgstr "" + +#: src/Actor/templates/actor/lpa-create-viewercode.html.twig:41 +msgid "" +"The organisation could be a bank, energy provider, or another business. This " +"is for your reference only" +msgstr "" + #~ msgid "" #~ "Some semantic elements were implemented in a way that did not convey the " #~ "relationships within the page. This fails WCAG 2.1 success criteria 1.3.1 "