Updating for US English

Words found:
personalis*
customis*
organis*
colour
behaviour
This commit is contained in:
Tim Lowden
2022-12-20 09:44:33 -05:00
parent bb79b20723
commit f8daea1879
46 changed files with 85 additions and 85 deletions

View File

@@ -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, Im trying out U.S. Notify. Today is ((day of week)) and my favourite colour is ((colour)).',
'Hi, Im trying out U.S. Notify. Today is ((day of week)) and my favourite color is ((color)).',
service_id,
)
return example_sms_template

View File

@@ -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:

View File

@@ -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):

View File

@@ -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'
)