diff --git a/src/postorius/doc/news.rst b/src/postorius/doc/news.rst index fdd90d7..d706583 100644 --- a/src/postorius/doc/news.rst +++ b/src/postorius/doc/news.rst @@ -28,6 +28,7 @@ * Addedd an improved test harness using WebTest. Contributed by Aurélien Bompard. * Show error message in login view. Contributed by Aurélien Bompard (LP: 1094829). * Fix adding the a list owner on list creation. Contributed by Aurélien Bompard (LP: 1175967). +* Fix untranslatable template strings. Contributed by Sumana Harihareswara (LP: 1157947). 1.0 beta 1 -- "Year of the Parrot" diff --git a/src/postorius/templates/postorius/lists/confirm_delete.html b/src/postorius/templates/postorius/lists/confirm_delete.html index 5886d0d..f03d794 100644 --- a/src/postorius/templates/postorius/lists/confirm_delete.html +++ b/src/postorius/templates/postorius/lists/confirm_delete.html @@ -4,7 +4,7 @@ {% load nav_helpers %} {% block main %} - {% list_nav 'list_delete' 'Delete List' %} + {% list_nav 'list_delete' "Delete List" %}
{% trans "Are you sure you want to permanently delete this list?" %}
{% trans "All settings and membership data will be lost!" %}
diff --git a/src/postorius/templates/postorius/lists/held_messages.html b/src/postorius/templates/postorius/lists/held_messages.html index d2b3444..e63b5c9 100644 --- a/src/postorius/templates/postorius/lists/held_messages.html +++ b/src/postorius/templates/postorius/lists/held_messages.html @@ -6,7 +6,7 @@ {% block body_class %}list_summary{% endblock %} {% block main %} - {% list_nav 'list_held_messages' 'Held Messages' %} + {% list_nav 'list_held_messages' "Held Messages" %}