Skip to content

Commit

Permalink
UML 3191 let customers know they cant request a key for an EPA (#2449)
Browse files Browse the repository at this point in the history
* new content added

* Welsh translations added

* reboot

* reboot
  • Loading branch information
Lbagg1 authored Nov 29, 2023
1 parent 6e56a2e commit 80c8815
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 14 deletions.
Binary file modified service-front/app/languages/cy/LC_MESSAGES/messages.mo
Binary file not shown.
31 changes: 23 additions & 8 deletions service-front/app/languages/cy/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ msgstr "Math o LPA"
#: src/Actor/templates/actor/request-activation-key/address-on-paper.html.twig:30
#: src/Actor/templates/actor/request-activation-key/donor-details.html.twig:38
#: src/Actor/templates/actor/request-activation-key/reference-number.html.twig:55
#: src/Actor/templates/actor/add-lpa-triage.html.twig:113
#: src/Actor/templates/actor/add-lpa-triage.html.twig:122
#: src/Actor/templates/actor/check-lpa.html.twig:95
#: src/Actor/templates/actor/check-your-answers.html.twig:90
#: src/Actor/templates/actor/home-page.html.twig:46
Expand Down Expand Up @@ -2221,7 +2221,7 @@ msgstr ""
#: src/Actor/templates/actor/confirm-remove-lpa.html.twig:41
#: src/Actor/templates/actor/request-activation-key/before-requesting-activation-key-info.html.twig:56
#: src/Actor/templates/actor/request-activation-key/info.html.twig:62
#: src/Actor/templates/actor/add-lpa-triage.html.twig:116
#: src/Actor/templates/actor/add-lpa-triage.html.twig:125
#: src/Actor/templates/actor/check-lpa.html.twig:98
msgid "Cancel"
msgstr "Canslo"
Expand Down Expand Up @@ -3654,16 +3654,16 @@ msgstr ""
"llythyr neu’r e-bost a anfonwyd atoch. Os ydych wedi’i golli, neu os yw wedi "
"dod i ben, gallwch ofyn am un newydd isod."

#: src/Actor/templates/actor/add-lpa-triage.html.twig:95
#: src/Actor/templates/actor/add-lpa-triage.html.twig:104
msgid "Yes, I have an activation key"
msgstr "Oes, mae gen i allwedd cadarnhau cyfrif i ychwanegu LPA at y cyfrif"

#: src/Actor/templates/actor/add-lpa-triage.html.twig:99
#: src/Actor/templates/actor/add-lpa-triage.html.twig:108
msgid "No, I do not have an activation key"
msgstr ""
"Nac oes, nid oes gennyf allwedd cadarnhau cyfrif i ychwanegu LPA at y cyfrif"

#: src/Actor/templates/actor/add-lpa-triage.html.twig:103
#: src/Actor/templates/actor/add-lpa-triage.html.twig:112
msgid "I have an activation key but it has expired"
msgstr "Mae gen i allwedd cadarnhau, ond mae wedi dod i ben"

Expand Down Expand Up @@ -5165,15 +5165,15 @@ msgstr "Mae gan yr atwrneiaeth arhosol hon gyfarwyddiadau a/neu ddewisiadau"

#: src/Common/templates/partials/full-lpa-display.html.twig:52
msgid "This LPA has instructions and preferences"
msgstr "Mae gan yr LPA hon gyfarwyddiadau neu ddymuniadau"
msgstr "Mae gan yr atwrneiaeth arhosol hon gyfarwyddiadau a dewisiadau"

#: src/Common/templates/partials/full-lpa-display.html.twig:54
msgid "This LPA has preferences"
msgstr "Mae gan yr LPA hon ddymuniadau"
msgstr "Mae gan yr atwrneiaeth arhosol hon ddewisiadau"

#: src/Common/templates/partials/full-lpa-display.html.twig:56
msgid "This LPA has instructions"
msgstr "Mae gan yr LPA hon gyfarwyddiadau"
msgstr "Mae gan yr atwrneiaeth arhosol hon gyfarwyddiadau"

#: src/Common/templates/partials/full-lpa-display.html.twig:75
msgid ""
Expand Down Expand Up @@ -6532,6 +6532,21 @@ msgstr "Mae gan yr LPA hon gyfarwyddiadau neu ddymuniadau.<br>"
msgid "This LPA has instructions and/or preferences.<br>"
msgstr "Mae gan yr LPA hon gyfarwyddiadau a/neu ddymuniadau.<br>"

#: src/Actor/templates/actor/add-lpa-triage.html.twig:92
msgid "For enduring powers of attorney (EPAs)"
msgstr "Ar gyfer atwrneiaethau parhaus (EPA)"

#: src/Actor/templates/actor/add-lpa-triage.html.twig:96
msgid "The Use a lasting power of attorney service cannot be used for EPAs."
msgstr ""
"Ni ellir defnyddio’r gwasanaeth defnyddio atwrneiaeth arhosol ar gyfer "
"atwrneiaethau parhaus (EPA)."

#: src/Actor/templates/actor/add-lpa-triage.html.twig:97
msgid "You’ll need to show the paper EPA to people or organisations instead."
msgstr ""
"Bydd arnoch angen dangos yr EPA papur i’r bobl neu sefydliadau perthnasol."

#~ msgid ""
#~ "If the scanned image is not readable, organisations may ask to see the "
#~ "paper LPA so that they can find out what the instructions or preferences "
Expand Down
24 changes: 18 additions & 6 deletions service-front/app/languages/messages.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Language: en_GB\n"
"POT-Creation-Date: 2023-11-21T13:42:06+00:00\n"
"POT-Creation-Date: 2023-11-29T08:57:18+00:00\n"
"X-Domain: messages\n"

#: src/Actor/templates/actor/activation-key-request-received.html.twig:12
Expand Down Expand Up @@ -283,7 +283,7 @@ msgstr ""
#: src/Actor/templates/actor/request-activation-key/address-on-paper.html.twig:30
#: src/Actor/templates/actor/request-activation-key/donor-details.html.twig:38
#: src/Actor/templates/actor/request-activation-key/reference-number.html.twig:55
#: src/Actor/templates/actor/add-lpa-triage.html.twig:113
#: src/Actor/templates/actor/add-lpa-triage.html.twig:122
#: src/Actor/templates/actor/check-lpa.html.twig:95
#: src/Actor/templates/actor/check-your-answers.html.twig:90
#: src/Actor/templates/actor/home-page.html.twig:46
Expand Down Expand Up @@ -1436,7 +1436,7 @@ msgstr ""
#: src/Actor/templates/actor/confirm-remove-lpa.html.twig:41
#: src/Actor/templates/actor/request-activation-key/before-requesting-activation-key-info.html.twig:56
#: src/Actor/templates/actor/request-activation-key/info.html.twig:62
#: src/Actor/templates/actor/add-lpa-triage.html.twig:116
#: src/Actor/templates/actor/add-lpa-triage.html.twig:125
#: src/Actor/templates/actor/check-lpa.html.twig:98
msgid "Cancel"
msgstr ""
Expand Down Expand Up @@ -2576,15 +2576,15 @@ msgstr ""
msgid "If you’ve already requested an activation key, you'll find it on the letter or email we sent you. If you’ve lost it, or it’s expired, you can request a new one below."
msgstr ""

#: src/Actor/templates/actor/add-lpa-triage.html.twig:95
#: src/Actor/templates/actor/add-lpa-triage.html.twig:104
msgid "Yes, I have an activation key"
msgstr ""

#: src/Actor/templates/actor/add-lpa-triage.html.twig:99
#: src/Actor/templates/actor/add-lpa-triage.html.twig:108
msgid "No, I do not have an activation key"
msgstr ""

#: src/Actor/templates/actor/add-lpa-triage.html.twig:103
#: src/Actor/templates/actor/add-lpa-triage.html.twig:112
msgid "I have an activation key but it has expired"
msgstr ""

Expand Down Expand Up @@ -4530,3 +4530,15 @@ msgstr ""
#: src/Actor/templates/actor/partials/lpa-instructions-preferences-important-message.html.twig:57
msgid "This LPA has instructions and/or preferences.<br>"
msgstr ""

#: src/Actor/templates/actor/add-lpa-triage.html.twig:92
msgid "For enduring powers of attorney (EPAs)"
msgstr ""

#: src/Actor/templates/actor/add-lpa-triage.html.twig:96
msgid "The Use a lasting power of attorney service cannot be used for EPAs."
msgstr ""

#: src/Actor/templates/actor/add-lpa-triage.html.twig:97
msgid "You’ll need to show the paper EPA to people or organisations instead."
msgstr ""
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@
{% endtrans %}
</p>
</div>
<div class="govuk-details__text">
<h3 class="govuk-heading-s">
{% trans %}
For enduring powers of attorney (EPAs)
{% endtrans %}
</h3>
<p>{% trans %}The Use a lasting power of attorney service cannot be used for EPAs. {% endtrans %}</p>
<p>{% trans %}You’ll need to show the paper EPA to people or organisations instead. {% endtrans %}</p>
</div>
</details>

{{ govuk_form_element(form.get('activation_key_triage'), {'value_options':
Expand Down

0 comments on commit 80c8815

Please sign in to comment.