diff --git a/app/main/forms.py b/app/main/forms.py index 43783cd23..d4be5ae73 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -1138,17 +1138,17 @@ class RenameOrganisationForm(StripWhitespaceForm): validators=[ DataRequired(message='Cannot be empty'), MustContainAlphanumericCharacters(), - Length(max=255, message='Organisation name must be 255 characters or fewer') + Length(max=255, message='Organization name must be 255 characters or fewer') ]) class OrganisationOrganisationTypeForm(StripWhitespaceForm): - organisation_type = OrganisationTypeField('What type of organisation is this?') + organisation_type = OrganisationTypeField('What type of organization is this?') class OrganisationCrownStatusForm(StripWhitespaceForm): crown_status = GovukRadiosField( - 'Is this organisation a crown body?', + 'Is this organization a crown body?', choices=[ ('crown', 'Yes'), ('non-crown', 'No'), @@ -1160,7 +1160,7 @@ class OrganisationCrownStatusForm(StripWhitespaceForm): class OrganisationAgreementSignedForm(StripWhitespaceForm): agreement_signed = GovukRadiosField( - 'Has this organisation signed the agreement?', + 'Has this organization signed the agreement?', choices=[ ('yes', 'Yes'), ('no', 'No'), @@ -1169,7 +1169,7 @@ class OrganisationAgreementSignedForm(StripWhitespaceForm): thing='whether this organisation has signed the agreement', param_extensions={ 'items': [ - {'hint': {'html': 'Users will be told their organisation has already signed the agreement'}}, + {'hint': {'html': 'Users will be told their organization has already signed the agreement'}}, {'hint': {'html': 'Users will be prompted to sign the agreement before they can go live'}}, {'hint': {'html': 'Users will not be prompted to sign the agreement'}} ] diff --git a/app/main/validators.py b/app/main/validators.py index 3b1d5ab61..894370187 100644 --- a/app/main/validators.py +++ b/app/main/validators.py @@ -130,7 +130,7 @@ class OnlySMSCharacters: # def __init__(self, message=None): # self.message = message or ( -# 'You can’t use ((double brackets)) to personalise this message' +# 'You can’t use ((double brackets)) to personalize this message' # ) # def __call__(self, form, field): diff --git a/app/main/views/add_service.py b/app/main/views/add_service.py index ab1dc95f5..b1f1c2f85 100644 --- a/app/main/views/add_service.py +++ b/app/main/views/add_service.py @@ -35,7 +35,7 @@ def _create_example_template(service_id): example_sms_template = service_api_client.create_service_template( 'Example text message template', 'sms', - 'Hi, I’m trying out U.S. Notify. Today is ((day of week)) and my favourite colour is ((colour)).', + 'Hi, I’m trying out U.S. Notify. Today is ((day of week)) and my favourite color is ((color)).', service_id, ) return example_sms_template diff --git a/app/main/views/organisations.py b/app/main/views/organisations.py index fbe5f6fcd..82d98fc05 100644 --- a/app/main/views/organisations.py +++ b/app/main/views/organisations.py @@ -63,9 +63,9 @@ def add_organisation(): org_id=Organisation.create_from_form(form).id, )) except HTTPError as e: - msg = 'Organisation name already exists' + msg = 'Organization name already exists' if e.status_code == 400 and msg in e.message: - form.name.errors.append("This organisation name is already in use") + form.name.errors.append("This organization name is already in use") else: raise e @@ -243,9 +243,9 @@ def edit_organisation_name(org_id): try: current_organisation.update(name=form.name.data) except HTTPError as http_error: - error_msg = 'Organisation name already exists' + error_msg = 'Organization name already exists' if http_error.status_code == 400 and error_msg in http_error.message: - form.name.errors.append('This organisation name is already in use') + form.name.errors.append('This organization name is already in use') else: raise http_error else: diff --git a/app/main/views/send.py b/app/main/views/send.py index 08876d777..cc37f5427 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -627,7 +627,7 @@ def all_placeholders_in_session(placeholders): def get_send_test_page_title(template_type, entering_recipient, name=None): if entering_recipient: return 'Send ‘{}’'.format(name) - return 'Personalise this message' + return 'Personalize this message' def get_back_link(service_id, template, step_index, placeholders=None): diff --git a/app/main/views/templates.py b/app/main/views/templates.py index 793885e5b..68d8621b2 100644 --- a/app/main/views/templates.py +++ b/app/main/views/templates.py @@ -666,7 +666,7 @@ def redact_template(service_id, template_id): service_api_client.redact_service_template(service_id, template_id) flash( - 'Personalised content will be hidden for messages sent with this template', + 'Personalized content will be hidden for messages sent with this template', 'default_with_tick' ) diff --git a/app/templates/components/uk_components/back-link/README.md b/app/templates/components/uk_components/back-link/README.md index 50b5aa2f8..d9b71bbb1 100644 --- a/app/templates/components/uk_components/back-link/README.md +++ b/app/templates/components/uk_components/back-link/README.md @@ -10,6 +10,6 @@ Find out when to use the back link component in your service in the [GOV.UK Desi ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/back-link/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/button/README.md b/app/templates/components/uk_components/button/README.md index 45425bc11..d8b24dd08 100644 --- a/app/templates/components/uk_components/button/README.md +++ b/app/templates/components/uk_components/button/README.md @@ -10,6 +10,6 @@ Find out when to use the button component in your service in the [GOV.UK Design ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/button/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/checkboxes/README.md b/app/templates/components/uk_components/checkboxes/README.md index 8f094fa21..908acc899 100644 --- a/app/templates/components/uk_components/checkboxes/README.md +++ b/app/templates/components/uk_components/checkboxes/README.md @@ -10,6 +10,6 @@ Find out when to use the checkboxes component in your service in the [GOV.UK Des ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/checkboxes/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/details/README.md b/app/templates/components/uk_components/details/README.md index c44486c73..65a59d9c5 100644 --- a/app/templates/components/uk_components/details/README.md +++ b/app/templates/components/uk_components/details/README.md @@ -10,6 +10,6 @@ Find out when to use the details component in your service in the [GOV.UK Design ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/details/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/error-message/README.md b/app/templates/components/uk_components/error-message/README.md index 909791bda..8e601db74 100644 --- a/app/templates/components/uk_components/error-message/README.md +++ b/app/templates/components/uk_components/error-message/README.md @@ -10,6 +10,6 @@ Find out when to use the error message component in your service in the [GOV.UK ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/error-message/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/fieldset/README.md b/app/templates/components/uk_components/fieldset/README.md index 77381dc4e..3da88d7e0 100644 --- a/app/templates/components/uk_components/fieldset/README.md +++ b/app/templates/components/uk_components/fieldset/README.md @@ -10,6 +10,6 @@ Find out when to use the fieldset component in your service in the [GOV.UK Desig ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/fieldset/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/footer/README.md b/app/templates/components/uk_components/footer/README.md index 64b7a45ee..8d1a23b9b 100644 --- a/app/templates/components/uk_components/footer/README.md +++ b/app/templates/components/uk_components/footer/README.md @@ -10,6 +10,6 @@ Find out when to use the footer component in your service in the [GOV.UK Design ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/footer/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/header/README.md b/app/templates/components/uk_components/header/README.md index 5254d0cb2..5a19ca475 100644 --- a/app/templates/components/uk_components/header/README.md +++ b/app/templates/components/uk_components/header/README.md @@ -10,6 +10,6 @@ Find out when to use the header component in your service in the [GOV.UK Design ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/header/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/hint/README.md b/app/templates/components/uk_components/hint/README.md index e87a00ab4..3f06b3639 100644 --- a/app/templates/components/uk_components/hint/README.md +++ b/app/templates/components/uk_components/hint/README.md @@ -10,6 +10,6 @@ The label component is used in other input components, to see an example of it i ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/file-upload/#options-example-default--hint) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/input/README.md b/app/templates/components/uk_components/input/README.md index 87211de01..5176633ac 100644 --- a/app/templates/components/uk_components/input/README.md +++ b/app/templates/components/uk_components/input/README.md @@ -10,6 +10,6 @@ Find out when to use the input component in your service in the [GOV.UK Design S ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/text-input/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/inset-text/README.md b/app/templates/components/uk_components/inset-text/README.md index b13918cd9..4b6d1a614 100644 --- a/app/templates/components/uk_components/inset-text/README.md +++ b/app/templates/components/uk_components/inset-text/README.md @@ -10,6 +10,6 @@ Find out when to use the inset text component in your service in the [GOV.UK Des ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/inset-text/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/label/README.md b/app/templates/components/uk_components/label/README.md index dd2d7b97e..678dfd9bb 100644 --- a/app/templates/components/uk_components/label/README.md +++ b/app/templates/components/uk_components/label/README.md @@ -10,6 +10,6 @@ The label component is used in other input components, to see an example of it i ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/file-upload/#options-example-default--label) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/radios/README.md b/app/templates/components/uk_components/radios/README.md index 8a0da19cb..27f03c45d 100644 --- a/app/templates/components/uk_components/radios/README.md +++ b/app/templates/components/uk_components/radios/README.md @@ -10,6 +10,6 @@ Find out when to use the radios component in your service in the [GOV.UK Design ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/radios/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/skip-link/README.md b/app/templates/components/uk_components/skip-link/README.md index df5b1b119..788c0fa43 100644 --- a/app/templates/components/uk_components/skip-link/README.md +++ b/app/templates/components/uk_components/skip-link/README.md @@ -10,6 +10,6 @@ Find out when to use the skip link component in your service in the [GOV.UK Desi ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/skip-link/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/components/uk_components/textarea/README.md b/app/templates/components/uk_components/textarea/README.md index 72abdfb8e..b8a8e0b3e 100644 --- a/app/templates/components/uk_components/textarea/README.md +++ b/app/templates/components/uk_components/textarea/README.md @@ -10,6 +10,6 @@ Find out when to use the textarea component in your service in the [GOV.UK Desig ## Component options -Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text. +Use options to customize the appearance, content and behavior of a component when using a macro, for example, changing the text. See [options table](https://design-system.service.gov.uk/components/textarea/#options-example-default) for details. \ No newline at end of file diff --git a/app/templates/partials/templates/guidance-personalisation.html b/app/templates/partials/templates/guidance-personalisation.html index 7fb8c9c90..8505d7219 100644 --- a/app/templates/partials/templates/guidance-personalisation.html +++ b/app/templates/partials/templates/guidance-personalisation.html @@ -1,10 +1,10 @@ {% from "components/uk_components/inset-text/macro.njk" import govukInsetText %}
- Use double brackets to personalise your message: + Use double brackets to personalize your message:
{{ govukInsetText({ "text": "Hello ((first name)), your reference is ((ref number))", diff --git a/app/templates/views/agreement/agreement-public.html b/app/templates/views/agreement/agreement-public.html index 6bcf39e48..c365c9599 100644 --- a/app/templates/views/agreement/agreement-public.html +++ b/app/templates/views/agreement/agreement-public.html @@ -18,7 +18,7 @@ Download the agreement (PDF){% if owner %} for {{ owner }}{% endif %}.- The agreement contains commercially sensitive information. Do not share it outside your organisation. + The agreement contains commercially sensitive information. Do not share it outside your organization.
diff --git a/app/templates/views/agreement/service-agreement-choose.html b/app/templates/views/agreement/service-agreement-choose.html index b4df5822b..9622d9114 100644 --- a/app/templates/views/agreement/service-agreement-choose.html +++ b/app/templates/views/agreement/service-agreement-choose.html @@ -21,17 +21,17 @@ Before you can use U.S. Notify, you need to accept our data sharing and financial agreement.- This must be done by, or on behalf of, someone with the authority to sign contracts for your organisation. + This must be done by, or on behalf of, someone with the authority to sign contracts for your organization.
- Once accepted, the agreement covers all Notify services from your organisation. + Once accepted, the agreement covers all Notify services from your organization.
- There are different agreements for crown and non-crown organisations. + There are different agreements for crown and non-crown organizations.
Contact us to tell us - whether or not you work for a crown organisation. If you’re not sure + whether or not you work for a crown organization. If you’re not sure we’ll help you work it out.
diff --git a/app/templates/views/agreement/service-agreement-signed.html b/app/templates/views/agreement/service-agreement-signed.html index b105fda98..3b3286f72 100644 --- a/app/templates/views/agreement/service-agreement-signed.html +++ b/app/templates/views/agreement/service-agreement-signed.html @@ -3,7 +3,7 @@ {% from "components/uk_components/back-link/macro.njk" import govukBackLink %} {% block service_page_title %} - Your organisation has already accepted the agreement + Your organization has already accepted the agreement {% endblock %} {% block backLink %} @@ -15,14 +15,14 @@{{ current_service.organisation.name }} has already accepted the US Notify data sharing and financial agreement.
- The agreement is confidential and should not be shared outside your organisation. + The agreement is confidential and should not be shared outside your organization.
- The agreement is confidential and should not be shared outside your organisation. + The agreement is confidential and should not be shared outside your organization.
{{ govukButton({ "element": "a", diff --git a/app/templates/views/features/emails.html b/app/templates/views/features/emails.html index 20caf3f90..372bf1dcc 100644 --- a/app/templates/views/features/emails.html +++ b/app/templates/views/features/emails.html @@ -17,13 +17,13 @@Notify makes it easy to:
You can also integrate with our API to send emails automatically.
Add your organisation’s logo and brand colour to email templates.
+Add your organization’s logo and brand color to email templates.
See how to change your email branding.
This page explains how to:
diff --git a/app/templates/views/guidance/edit-and-format-messages.html b/app/templates/views/guidance/edit-and-format-messages.html index 4fb558636..605dec74f 100644 --- a/app/templates/views/guidance/edit-and-format-messages.html +++ b/app/templates/views/guidance/edit-and-format-messages.html @@ -50,9 +50,9 @@To personalise the content of your messages, add a placeholder to the template.
+To personalize the content of your messages, add a placeholder to the template.
Placeholders are filled in with details, like a name or reference number, each time you send a message.
diff --git a/app/templates/views/guidance/index.html b/app/templates/views/guidance/index.html index 22855cf83..af62d06b4 100644 --- a/app/templates/views/guidance/index.html +++ b/app/templates/views/guidance/index.html @@ -16,7 +16,7 @@- Your organisation accepted version {{ current_org.agreement_signed_version }} of the U.S. Notify data sharing + Your organization accepted version {{ current_org.agreement_signed_version }} of the U.S. Notify data sharing and financial agreement on {{ current_org.agreement_signed_at | format_date_normal }}.
diff --git a/app/templates/views/pricing/billing-details-signed-out.html b/app/templates/views/pricing/billing-details-signed-out.html index 9bb6f4711..a260f7bb9 100644 --- a/app/templates/views/pricing/billing-details-signed-out.html +++ b/app/templates/views/pricing/billing-details-signed-out.html @@ -20,7 +20,7 @@
- You can use this information to add the Cabinet Office as a supplier. Your organisation may need to do this before you can raise a purchase order. + You can use this information to add the Cabinet Office as a supplier. Your organization may need to do this before you can raise a purchase order.
{% endblock %} diff --git a/app/templates/views/pricing/how-to-pay.html b/app/templates/views/pricing/how-to-pay.html index 258d23c25..cee5de922 100644 --- a/app/templates/views/pricing/how-to-pay.html +++ b/app/templates/views/pricing/how-to-pay.html @@ -22,7 +22,7 @@- The Cabinet Office will send your organisation an invoice each quarter if you: + The Cabinet Office will send your organization an invoice each quarter if you:
- If your organisation has more than one Notify service, you’ll see a breakdown of each service on your invoice. + If your organization has more than one Notify service, you’ll see a breakdown of each service on your invoice.
@@ -50,15 +50,15 @@
- If your organisation’s total estimated spend is more than £500 per quarter (before VAT), you need to raise a purchase order (PO). + If your organization’s total estimated spend is more than £500 per quarter (before VAT), you need to raise a purchase order (PO).
- Your organisation should raise a single PO for the estimated cost of all its services. You can update the PO any time if your usage increases. + Your organization should raise a single PO for the estimated cost of all its services. You can update the PO any time if your usage increases.
- Your organisation may need to add the Cabinet Office as a supplier before you can raise a PO. + Your organization may need to add the Cabinet Office as a supplier before you can raise a PO.
--> {% endblock %} diff --git a/app/templates/views/send-contact-list.html b/app/templates/views/send-contact-list.html index 23d0216ef..13c4b667c 100644 --- a/app/templates/views/send-contact-list.html +++ b/app/templates/views/send-contact-list.html @@ -22,7 +22,7 @@You cannot use an emergency contact list with this template because it - is personalised with {{ list_of_placeholders(template.placeholders) }}. + is personalized with {{ list_of_placeholders(template.placeholders) }}.
Emergency contact lists can only include email addresses or phone
diff --git a/app/templates/views/service-settings.html b/app/templates/views/service-settings.html
index d6a08f0a8..44f4a707b 100644
--- a/app/templates/views/service-settings.html
+++ b/app/templates/views/service-settings.html
@@ -250,7 +250,7 @@
{% call row() %}
{{ text_field('Live')}}
{% if current_service.trial_mode and not current_service.organisation_id %}
- {{ text_field('No (organisation must be set first)') }}
+ {{ text_field('No (organization must be set first)') }}
{{ text_field('') }}
{% else %}
{{ boolean_field(not current_service.trial_mode) }}
@@ -276,7 +276,7 @@
{% endcall %}
{% call row() %}
- {{ text_field('Organisation')}}
+ {{ text_field('Organization')}}
{% call field() %}
{% if current_service.organisation_id %}
diff --git a/app/templates/views/service-settings/branding/email-branding-govuk-org.html b/app/templates/views/service-settings/branding/email-branding-govuk-org.html
index eb66cdc59..1bb390e31 100644
--- a/app/templates/views/service-settings/branding/email-branding-govuk-org.html
+++ b/app/templates/views/service-settings/branding/email-branding-govuk-org.html
@@ -21,7 +21,7 @@
You can only use U.S. Notify branding if people go to U.S. Notify to access your service.
- You cannot use U.S. Notify branding if your organisation is
+ You cannot use U.S. Notify branding if your organization is
independent
from government.
diff --git a/app/templates/views/service-settings/branding/email-branding-govuk.html b/app/templates/views/service-settings/branding/email-branding-govuk.html
index c61996513..caeedc7cc 100644
--- a/app/templates/views/service-settings/branding/email-branding-govuk.html
+++ b/app/templates/views/service-settings/branding/email-branding-govuk.html
@@ -30,7 +30,7 @@
You can only use U.S. Notify branding if people go to U.S. Notify to access your service.
- You cannot use U.S. Notify branding if your organisation is
+ You cannot use U.S. Notify branding if your organization is
independent
from government.
diff --git a/app/templates/views/service-settings/link-service-to-organisation.html b/app/templates/views/service-settings/link-service-to-organisation.html
index e4dd71fd4..1604c3ee2 100644
--- a/app/templates/views/service-settings/link-service-to-organisation.html
+++ b/app/templates/views/service-settings/link-service-to-organisation.html
@@ -5,7 +5,7 @@
{% from "components/form.html" import form_wrapper %}
{% from "components/uk_components/back-link/macro.njk" import govukBackLink %}
-{% set page_title = "Link service to organisation" %}
+{% set page_title = "Link service to organization" %}
{% block service_page_title %}
{{ page_title }}
@@ -29,7 +29,7 @@
{{ form.organisations }}
{{ sticky_page_footer('Save') }}
{% else %}
- No organisations No organizations
Personalisation is hidden after sending
+Personalization is hidden after sending
{% endif %} {% endif %}You must: