Skip to content

Commit

Permalink
Add comments for translators.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Oct 17, 2024
1 parent 36c7f5b commit f94805b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin_interface/templates/admin/change_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ <h2 id="changelist-filter-header">{% translate 'Filter' %}</h2>
{% if cl.is_facets_optional %}
<h3>
{% if cl.add_facets %}
{# Translators: don't translate this, the django catalog already contains it #}
<a href="{{ cl.remove_facet_link }}" class="hidelink">{% translate "Hide counts" %}</a>
{% else %}
{# Translators: don't translate this, the django catalog already contains it #}
<a href="{{ cl.add_facet_link }}" class="viewlink">{% translate "Show counts" %}</a>
{% endif %}
</h3>
Expand All @@ -26,6 +28,7 @@ <h3>
{% if cl.has_active_filters or active_date_hierarchy %}
<div class="changelist-filter-clear-container">
<h3 id="changelist-filter-clear">
{# Translators: don't translate this, the django catalog already contains it #}
<a href="{{ cl.clear_all_filters_qs }}">&#10006; {% translate "Clear all filters" %}</a>
</h3>
{% if active_date_hierarchy %}
Expand Down

0 comments on commit f94805b

Please sign in to comment.