diff --git a/templates/mailman-django/base.html b/templates/mailman-django/base.html index 9f9f79f..e7d91d7 100644 --- a/templates/mailman-django/base.html +++ b/templates/mailman-django/base.html @@ -1,4 +1,5 @@ +{% load i18n %} @@ -31,8 +32,12 @@

- {% blocktranslate with url_list_index=url list index url_list_new=url list new %}This is a draft of a Mailman3 django client. It's not a finished design. For now you can view a list of existing mailing lists and you can create new lists. - {% endblocktranslate %} + {% url list index as url_list_index %} + {% url list new as url_list_new %} + {% url list index as url_list_index %} + {% blocktrans %} + This is a draft of a Mailman3 django client. It's not a finished design. For now you can view a list of existing mailing lists and you can create new lists. + {% endblocktrans %} {% block links %}{% endblock %}

diff --git a/templates/mailman-django/lists/created.html b/templates/mailman-django/lists/created.html index 2120d99..5c42fa3 100644 --- a/templates/mailman-django/lists/created.html +++ b/templates/mailman-django/lists/created.html @@ -2,7 +2,9 @@ {% load i18n %} {% block links%} -{% blocktrans with url_list_info=url list_info fqdn_listname url_list_delete=url list_delete fqdn_listname %} You can also subscribe or unsubscribe a user to the list "the normal way" or delete the list.{% endblocktrans %} +{% url list_info fqdn_listname as url_list_info %} +{% url list_delete fqdn_listname as url_list_delete %} +{% blocktrans %} You can also subscribe or unsubscribe a user to the list "the normal way" or delete the list.{% endblocktrans %} {% endblock %} {% block content %} diff --git a/templates/mailman-django/lists/index.html b/templates/mailman-django/lists/index.html index 76a2a2c..c67785d 100644 --- a/templates/mailman-django/lists/index.html +++ b/templates/mailman-django/lists/index.html @@ -17,13 +17,13 @@ {{ list.real_name }} {{ list.fqdn_listname }} - {%trans Info / Subscribe %} + {%trans "Info / Subscribe" %} - {%trans Settings %} + {%trans "Settings" %} - {%trans Delete list %} + {%trans "Delete list" %}