Skip to content

Commit

Permalink
Fix grammar in email change flow
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 committed Dec 26, 2023
1 parent 8accffd commit 47aa061
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/registration/email_change_activate_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<br><br>
{% if site_admin_email %}
{% with link='<a href="mailto:%(email)s">%(email)s</a>'|safe|format(email=site_admin_email) %}
{{ _('If you have encounter any problems, feel free to shoot us an email at %(email)s.', email=link) }}
{{ _('If you have encountered any problems, feel free to shoot us an email at %(email)s.', email=link) }}
{% endwith %}
{% endif %}
</div></div>
2 changes: 1 addition & 1 deletion templates/registration/email_change_activate_email.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ Please go to this page to confirm this email change. The link will expire in {{
{{ protocol }}://{{ domain }}{{ url('email_change_activate', activation_key=activation_key) }}

{% if site_admin_email %}
{{ _('If you have encounter any problems, feel free to shoot us an email at %(email)s.', email=site_admin_email) }}
{{ _('If you have encountered any problems, feel free to shoot us an email at %(email)s.', email=site_admin_email) }}
{% endif %}
2 changes: 1 addition & 1 deletion templates/registration/email_change_notify_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<br><br>
{{ user.get_username() }},
<br>
{% trans %}Someone (hopefully you!) has requested to change the email address associated with your user account at {{ site_name }} to {{ new_email }}. {% endtrans %}
{% trans %}Someone (hopefully you!) has requested to change the email address associated with your user account at {{ site_name }} to {{ new_email }}.{% endtrans %}
<br><br>
{{ _('If this was you, no further action is required.') }}

Expand Down
2 changes: 1 addition & 1 deletion templates/registration/email_change_notify_email.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ user.get_username() }},
{% trans %}Someone (hopefully you!) has requested to change the email address associated with your user account at {{ site_name }} to {{ new_email }}. {% endtrans %}
{% trans %}Someone (hopefully you!) has requested to change the email address associated with your user account at {{ site_name }} to {{ new_email }}.{% endtrans %}

{{ _('If this was you, no further action is required.') }}
{% if site_admin_email %}
Expand Down

0 comments on commit 47aa061

Please sign in to comment.