Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change 'sort by:' text to blocktrans

dominik-zeglen00236f35d158
diff --git a/templates/category/index.html b/templates/category/index.html
index acb3c84155..e8e7ed9ab6 100644
--- a/templates/category/index.html
+++ b/templates/category/index.html
@@ -49,10 +49,9 @@
<button class="btn btn-link">
<div>
<span>
- {% trans 'Sort by' context 'Category page filters' %}
- <strong>
- {{ now_sorted_by }}
- </strong>
+ {% blocktrans with sorting_field=now_sorted_by context 'Category page current sort order indicator' trimmed %}
+ Sort by: <strong>{{ sorting_field }}</strong>
+ {% endblocktrans %}
</span>
<div class="sort-order-icon">
{% if is_descending %}