Skip to content

Commit 3fd8bab

Browse files
jerivasagjohnson
authored andcommitted
Fix {% trans %} tags in password reset email. Fixes #3036. (#3049)
* Fix {% trans %} tags in password reset email. Fixes #3036. * Typo.
1 parent 7aa55ef commit 3fd8bab

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.coverage
99
.idea
1010
.vagrant
11+
.vscode
1112
.tox
1213
.env
1314
.rope_project/

readthedocs/templates/account/email/password_reset_key_message.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44

55
{% block content %}
66
<p>
7-
{% trans "A request has been made to reset your Read the Docs password. To confirm
8-
this reset request, please go to:" %}
7+
{% trans "A request has been made to reset your Read the Docs password. To confirm this reset request, please go to:" %}
98
</p>
109

1110
<p>
1211
<a href="{{ password_reset_url }}">{{ password_reset_url }}</a>
1312
</p>
1413

1514
<p>
16-
{% trans "If you did not request to reset you password, you can disregard this email." %}
15+
{% trans "If you did not request to reset your password, you can disregard this email." %}
1716
</p>
1817
{% endblock %}

readthedocs/templates/account/email/password_reset_key_message.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
{% load i18n %}
44

55
{% block content %}
6-
{% trans "A request has been made to reset your Read the Docs password. To confirm
7-
this reset request, please go to:" %}
6+
{% trans "A request has been made to reset your Read the Docs password. To confirm this reset request, please go to:" %}
87

98
{{ password_reset_url }}
109

11-
{% trans "If you did not request to reset you password, you can disregard this email." %}
10+
{% trans "If you did not request to reset your password, you can disregard this email." %}
1211
{% endblock %}

0 commit comments

Comments
 (0)