From 5660c1b5848875c078ef2b56e975029a416316bf Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Tue, 3 Dec 2019 11:24:35 +0000 Subject: [PATCH 1/4] Update contraction --- app/templates/error/401.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/error/401.html b/app/templates/error/401.html index c5f513027..74747f50e 100644 --- a/app/templates/error/401.html +++ b/app/templates/error/401.html @@ -1,9 +1,9 @@ {% extends "withoutnav_template.html" %} -{% block per_page_title %}You are not authorised to see this page{% endblock %} +{% block per_page_title %}You’re not authorised to see this page{% endblock %} {% block maincolumn_content %}
-

You are not authorised to see this page

+

You’re not authorised to see this page

Sign in to GOV.UK Notify and try again.

{% endblock %} From 0a664f00bdcfa3301087f120b82042856a25448b Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Tue, 3 Dec 2019 11:26:04 +0000 Subject: [PATCH 2/4] Add contraction --- app/templates/error/403.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/error/403.html b/app/templates/error/403.html index 552188430..13b4602b8 100644 --- a/app/templates/error/403.html +++ b/app/templates/error/403.html @@ -1,10 +1,10 @@ {% extends "withoutnav_template.html" %} -{% block per_page_title %}You are not allowed to see this page{% endblock %} +{% block per_page_title %}You’re not allowed to see this page{% endblock %} {% block maincolumn_content %}

- You are not allowed to see this page + You’re not allowed to see this page

To check your permissions, speak to a member of your team who can manage settings, team and usage. From bdde0daeec6c7f14c88bda1f6335a84456b6a3b4 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 4 Dec 2019 12:01:26 +0000 Subject: [PATCH 3/4] Fix test content --- tests/app/main/views/accounts/test_choose_accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/main/views/accounts/test_choose_accounts.py b/tests/app/main/views/accounts/test_choose_accounts.py index b799b063d..80c47e618 100644 --- a/tests/app/main/views/accounts/test_choose_accounts.py +++ b/tests/app/main/views/accounts/test_choose_accounts.py @@ -247,7 +247,7 @@ def test_choose_account_should_not_show_back_to_service_link_if_service_archived )), (service_two, 403, ( # Page has no ‘back to’ link - 'You are not allowed to see this page ' + 'You’re not allowed to see this page ' 'To check your permissions, speak to a member of your team who can manage settings, team and usage.' )), )) From 7717d5131ec902f1c2aa2f24e7ef144405b0f2ec Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Wed, 4 Dec 2019 12:03:07 +0000 Subject: [PATCH 4/4] Fix test content --- tests/app/main/views/test_accept_invite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/main/views/test_accept_invite.py b/tests/app/main/views/test_accept_invite.py index e46e7a83f..48f807709 100644 --- a/tests/app/main/views/test_accept_invite.py +++ b/tests/app/main/views/test_accept_invite.py @@ -415,7 +415,7 @@ def test_signed_in_existing_user_cannot_use_anothers_invite( _follow_redirects=True, _expected_status=403, ) - assert page.h1.string.strip() == 'You are not allowed to see this page' + assert page.h1.string.strip() == 'You’re not allowed to see this page' flash_banners = page.find_all('div', class_='banner-dangerous') assert len(flash_banners) == 1 banner_contents = flash_banners[0].text.strip()