Skip to content

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

More descriptive context in dashboard summary messages

Anna Siwik2d30ce02872e
diff --git a/saleor/dashboard/category/views.py b/saleor/dashboard/category/views.py
index d61c26a68e..825b6cd850 100644
--- a/saleor/dashboard/category/views.py
+++ b/saleor/dashboard/category/views.py
@@ -24,7 +24,7 @@ def category_list(request):
request.GET.get('page'))
counter = category_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard categories list',
'Found %(counter)d matching category',
'Found %(counter)d matching categories',
number=counter) % {'counter': counter}
@@ -98,7 +98,7 @@ def category_detail(request, pk):
request.GET.get('page'))
counter = category_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard subcategories list',
'Found %(counter)d matching subcategory',
'Found %(counter)d matching subcategories',
number=counter) % {'counter': counter}
diff --git a/saleor/dashboard/customer/views.py b/saleor/dashboard/customer/views.py
index 92dd850ad5..99c42ea166 100644
--- a/saleor/dashboard/customer/views.py
+++ b/saleor/dashboard/customer/views.py
@@ -26,7 +26,7 @@ def customer_list(request):
request.GET.get('page'))
counter = customer_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard customers list',
'Found %(counter)d matching customer',
'Found %(counter)d matching customers',
number=counter) % {'counter': counter}
diff --git a/saleor/dashboard/discount/views.py b/saleor/dashboard/discount/views.py
index 9e42d85cda..33a3f25ed8 100644
--- a/saleor/dashboard/discount/views.py
+++ b/saleor/dashboard/discount/views.py
@@ -22,7 +22,7 @@ def sale_list(request):
request.GET.get('page'))
counter = sale_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard sales list',
'Found %(counter)d matching sale',
'Found %(counter)d matching sales',
number=counter) % {'counter': counter}
@@ -75,7 +75,7 @@ def voucher_list(request):
request.GET.get('page'))
counter = voucher_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard vouchers list',
'Found %(counter)d matching voucher',
'Found %(counter)d matching vouchers',
number=counter) % {'counter': counter}
diff --git a/saleor/dashboard/group/views.py b/saleor/dashboard/group/views.py
index aa08b61eb3..acf274914d 100644
--- a/saleor/dashboard/group/views.py
+++ b/saleor/dashboard/group/views.py
@@ -24,7 +24,7 @@ def group_list(request):
groups, settings.DASHBOARD_PAGINATE_BY, request.GET.get('page'))
counter = group_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard groups list',
'Found %(counter)d matching group',
'Found %(counter)d matching groups',
number=counter) % {'counter': counter}
diff --git a/saleor/dashboard/order/views.py b/saleor/dashboard/order/views.py
index 27070b1c2e..0d080a914d 100644
--- a/saleor/dashboard/order/views.py
+++ b/saleor/dashboard/order/views.py
@@ -39,7 +39,7 @@ def order_list(request):
request.GET.get('page'))
counter = order_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard orders list',
'Found %(counter)d matching order',
'Found %(counter)d matching orders',
number=counter) % {'counter': counter}
diff --git a/saleor/dashboard/product/views.py b/saleor/dashboard/product/views.py
index d0e09416d8..6b5f857fcd 100644
--- a/saleor/dashboard/product/views.py
+++ b/saleor/dashboard/product/views.py
@@ -36,7 +36,7 @@ def product_class_list(request):
request.GET.get('page'))
counter = class_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard product types list',
'Found %(counter)d matching product type',
'Found %(counter)d matching product types',
number=counter) % {'counter': counter}
@@ -126,7 +126,7 @@ def product_list(request):
request.GET.get('page'))
counter = product_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard products list',
'Found %(counter)d matching product',
'Found %(counter)d matching products',
number=counter) % {'counter': counter}
@@ -512,7 +512,7 @@ def attribute_list(request):
attributes, settings.DASHBOARD_PAGINATE_BY, request.GET.get('page'))
counter = attribute_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard product attributes list',
'Found %(counter)d matching attribute',
'Found %(counter)d matching attributes',
number=counter) % {'counter': counter}
diff --git a/saleor/dashboard/shipping/views.py b/saleor/dashboard/shipping/views.py
index 8193de7399..d188c69494 100644
--- a/saleor/dashboard/shipping/views.py
+++ b/saleor/dashboard/shipping/views.py
@@ -24,7 +24,7 @@ def shipping_method_list(request):
request.GET.get('page'))
counter = shipping_method_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard shipping methods list',
'Found %(counter)d matching shipping method',
'Found %(counter)d matching shipping methods',
number=counter) % {'counter': counter}
diff --git a/saleor/dashboard/staff/views.py b/saleor/dashboard/staff/views.py
index e64383db94..8ed0b18cef 100644
--- a/saleor/dashboard/staff/views.py
+++ b/saleor/dashboard/staff/views.py
@@ -25,7 +25,7 @@ def staff_list(request):
request.GET.get('page'))
counter = staff_filter.qs.count()
summary_msg = npgettext(
- 'Filter set results summary',
+ 'Number of matching records in the dashboard staff members list',
'Found %(counter)d matching staff member',
'Found %(counter)d matching staff members',
number=counter) % {'counter': counter}