Skip to content

Commit 353160e

Browse files
committed
Split translation block
1 parent fd8c79b commit 353160e

File tree

4 files changed

+15
-22
lines changed

4 files changed

+15
-22
lines changed

readthedocs/templates/account/email/email_confirmation_message.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@
33
{% load i18n %}
44

55
{% block content %}
6-
{% blocktrans %}
76
<p>
8-
To complete setting up your account, please verify this email address by
9-
going to:
7+
{% trans "To verify your email address and finish setting up your account, please go to:" %}
108
</p>
119

1210
<p>
1311
<a href="{{ activate_url }}">{{ activate_url }}</a>
1412
</p>
1513

1614
<p>
17-
If you did not sign up for an account with Read the Docs, you can
18-
disregard this email.
15+
{% trans "If you did not sign up for an account with Read the Docs, you can disregard this email." %}
1916
</p>
20-
{% endblocktrans %}
2117
{% endblock %}
18+

readthedocs/templates/account/email/email_confirmation_message.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22

33
{% load i18n %}
44

5-
{% block content %}{% blocktrans %}
6-
To verify your email address and finish setting up your account, please
7-
go to:
5+
{% block content %}
6+
{% trans "To verify your email address and finish setting up your account, please go to:" %}
87

98
{{ activate_url }}
109

11-
If you did not sign up for an account with Read the Docs, you can
12-
disregard this email.
13-
{% endblocktrans %}{% endblock %}
10+
{% trans "If you did not sign up for an account with Read the Docs, you can disregard this email." %}
11+
{% endblock %}

readthedocs/templates/account/email/password_reset_key_message.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@
33
{% load i18n %}
44

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

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

1615
<p>
17-
If you did not request to reset you password, you can disregard this email.
16+
{% trans "If you did not request to reset you password, you can disregard this email." %}
1817
</p>
19-
{% endblocktrans %}
2018
{% endblock %}

readthedocs/templates/account/email/password_reset_key_message.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
{% load i18n %}
44

5-
{% block content %}{% blocktrans %}
6-
A request has been made to reset your Read the Docs password. To confirm
7-
this reset request, please go to:
5+
{% 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:" %}
88

99
{{ password_reset_url }}
1010

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

0 commit comments

Comments
 (0)