templates: share translable strings between txt and html email parts (#32791)
This commit is contained in:
parent
a5fc1d78e5
commit
8be2e0911c
|
@ -1,11 +1,13 @@
|
|||
{% load i18n %}
|
||||
<html>
|
||||
<body style="max-width: 90ex">
|
||||
{% blocktrans %}
|
||||
<p>{{ full_name }},</p>
|
||||
<p>Your account on {{ site }} has been deleted.
|
||||
All related data will be deleted today.
|
||||
You cannot log in with it anymore.</p>
|
||||
{% endblocktrans %}
|
||||
<p>{% blocktrans %}{{ full_name }},{% endblocktrans %}</p>
|
||||
<p>
|
||||
{% blocktrans %}
|
||||
Your account on {{ site }} has been deleted.
|
||||
All related data will be deleted today.
|
||||
You cannot log in with it anymore.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{% load i18n %}{% autoescape off %}{% blocktrans %}{{ full_name }},
|
||||
{% load i18n %}{% autoescape off %}{% blocktrans %}{{ full_name }},{% endblocktrans %}
|
||||
|
||||
{% blocktrans %}
|
||||
Your account on {{ site }} has been deleted.
|
||||
All related data will be deleted today.
|
||||
You cannot log in with it anymore.
|
||||
{% endblocktrans %}{% endautoescape %}
|
||||
{% endblocktrans %}
|
||||
{% endautoescape %}
|
||||
|
|
Loading…
Reference in New Issue