Skip to content

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

Fix title trans context

michalbe0891409997
diff --git a/saleor/dashboard/customer/views.py b/saleor/dashboard/customer/views.py
index ebbdea59e6..e620aff387 100644
--- a/saleor/dashboard/customer/views.py
+++ b/saleor/dashboard/customer/views.py
@@ -19,8 +19,7 @@ def customer_list(request):
.select_related('default_billing_address', 'default_shipping_address')
.annotate(
num_orders=Count('orders', distinct=True),
- last_order=Max('orders', distinct=True))
- )
+ last_order=Max('orders', distinct=True)))
customers = get_paginator_items(customers, 30, request.GET.get('page'))
ctx = {'customers': customers}
return TemplateResponse(request, 'dashboard/customer/list.html', ctx)
diff --git a/templates/dashboard/group/list.html b/templates/dashboard/group/list.html
index 5040b56509..3939f1b8c8 100644
--- a/templates/dashboard/group/list.html
+++ b/templates/dashboard/group/list.html
@@ -15,7 +15,7 @@
{% block header_extra %}
<div class="fixed-action-btn">
<a class="btn-fab btn-floating btn-large waves-effect waves-light teal"
- title="{% trans "Add group" context "Category list add button text" %}"
+ title="{% trans "Add group" context "Group list add button text" %}"
href="{% url 'dashboard:group-create' %}">
<svg data-src="{% static "dashboard/images/add.svg" %}" />
</a>