From 91edb4cade1f4062d596d031f1239e31fadbc6bf Mon Sep 17 00:00:00 2001 From: Alex Janousek Date: Wed, 4 Feb 2026 10:39:48 -0500 Subject: [PATCH] updatd copy to remove uk references --- README.md | 2 +- notifications_python_client/authentication.py | 2 +- notifications_python_client/errors.py | 2 +- notifications_utils/jinja_templates/letter_pdf/_head.jinja2 | 2 +- notifications_utils/template.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6748f7da8..681440bdd 100644 --- a/README.md +++ b/README.md @@ -316,7 +316,7 @@ the VSCode dev container. 1. `make run-flask` from within the devcontainer 2. Run `make a11y-scan` from your host computer. -## Further docs from UK +## Further documentation - [Working with static assets](docs/static-assets.md) - [JavaScript documentation](https://github.com/alphagov/notifications-manuals/wiki/JavaScript-Documentation) diff --git a/notifications_python_client/authentication.py b/notifications_python_client/authentication.py index 7e700e7db..86be43be5 100644 --- a/notifications_python_client/authentication.py +++ b/notifications_python_client/authentication.py @@ -21,7 +21,7 @@ INVALID_FUTURE_TOKEN_ERROR_MESSAGE = "Token can not be in the future" def create_jwt_token(secret, client_id): """ - Create JWT token for GOV.UK Notify + Create JWT token for Notify.gov Tokens have standard header: { diff --git a/notifications_python_client/errors.py b/notifications_python_client/errors.py index 789f39eed..885e88b82 100644 --- a/notifications_python_client/errors.py +++ b/notifications_python_client/errors.py @@ -6,7 +6,7 @@ REQUEST_ERROR_STATUS_CODE = 503 REQUEST_ERROR_MESSAGE = "Request failed" TOKEN_ERROR_GUIDANCE = "See our requirements for JSON Web Tokens \ - at https://docs.notifications.service.gov.uk/rest-api.html#authorisation-header" + at https://github.com/GSA/notifications-api/tree/main/docs" TOKEN_ERROR_DEFAULT_ERROR_MESSAGE = "Invalid token: " + TOKEN_ERROR_GUIDANCE diff --git a/notifications_utils/jinja_templates/letter_pdf/_head.jinja2 b/notifications_utils/jinja_templates/letter_pdf/_head.jinja2 index 064237fa6..0c9ca88fd 100644 --- a/notifications_utils/jinja_templates/letter_pdf/_head.jinja2 +++ b/notifications_utils/jinja_templates/letter_pdf/_head.jinja2 @@ -3,5 +3,5 @@ - Preview – GOV.UK Notify + Preview – Notify.gov diff --git a/notifications_utils/template.py b/notifications_utils/template.py index c0270680b..73315c9ba 100644 --- a/notifications_utils/template.py +++ b/notifications_utils/template.py @@ -557,7 +557,7 @@ class BaseEmailTemplate(SubjectMixin, Template): That's still an extremely long email, and should be sufficient for all normal use, while at the same time giving us safe margin while sending the emails through Amazon SES. - EDIT: putting size up to 2MB as GOV.UK email digests are hitting the limit. + EDIT: putting size up to 2MB as email digests were hitting the limit. """ return self.content_size_in_bytes > 2000000