Make 'All' translatable

pull/5941/head
Luiz Boaretto 2020-03-31 15:49:25 -03:00 zatwierdzone przez Karl Hobley
rodzic f37da8f7d8
commit 7796a0cc44
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -16,9 +16,9 @@
<h3 id="page-types-title" class="filter-title">{% trans "Page types" %}</h3>
<ul class="filter-options">
{% if not selected_content_type %}
<li style="background-color: #E6E6E6">All ({{ all_pages.count }})</li>
<li style="background-color: #E6E6E6">{% trans "All" %} ({{ all_pages.count }})</li>
{% else %}
<li><a href="{% url 'wagtailadmin_pages:search' %}?q={{ query_string|urlencode }}">All ({{ all_pages.count }})</a></li>
<li><a href="{% url 'wagtailadmin_pages:search' %}?q={{ query_string|urlencode }}">{% trans "All" %} ({{ all_pages.count }})</a></li>
{% endif %}
{% for content_type, count in content_types %}