Allow translating text in templates

This commit is contained in:
rubenwardy
2022-01-07 23:27:00 +00:00
parent c8b0f9e6ce
commit c5a6ae3035
60 changed files with 415 additions and 349 deletions

View File

@@ -16,15 +16,15 @@
<p>
<a class="btn" href="{{ notification.url | abs_url }}">
View Notification
{{ _("View Notification") }}
</a>
</p>
{% endblock %}
{% block footer %}
You are receiving this email because you are a registered user of ContentDB,
and have email notifications enabled. <br>
{{ _("You are receiving this email because you are a registered user of ContentDB, and have email notifications enabled.") }}
<br>
<a href="{{ abs_url_for('users.email_notifications', username=notification.user.username) }}">
{{ _("Manage your preferences") }}