Skip to content

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

Revert changing context

Anna Siwik3bc0351e53ab
diff --git a/templates/dashboard/base_modal.html b/templates/dashboard/base_modal.html
index f0f6b61bb6..441e2f9931 100644
--- a/templates/dashboard/base_modal.html
+++ b/templates/dashboard/base_modal.html
@@ -20,7 +20,7 @@
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close btn-flat waves-effect">
- {% block cancel_action %} {% trans "Cancel" context "Dashboard modal cancel action" %} {% endblock %}
+ {% block cancel_action %} {% trans "Cancel" context "Dashboard cancel action" %} {% endblock %}
</a>
<button type="submit" class="modal-action btn-flat waves-effect">
{% block primary_action %}{% endblock %}
diff --git a/templates/dashboard/category/modal/confirm_delete.html b/templates/dashboard/category/modal/confirm_delete.html
index 23dff21a44..a984b422ee 100644
--- a/templates/dashboard/category/modal/confirm_delete.html
+++ b/templates/dashboard/category/modal/confirm_delete.html
@@ -21,7 +21,7 @@ Remove category {{ category }}
{% endblocktrans %}
{% if descendants %}
<p>
- {% trans "The following child categories will be removed:" context "Remove category modal text about descendant categories" %}
+ {% trans "The following child categories will be removed:" context "Delete category form text about descendant categories" %}
<ul>
{% recursetree descendants %}
{{ node.name }},
@@ -34,7 +34,7 @@ Remove category {{ category }}
{% endif %}
{% if products_count %}
<p>
- {% blocktrans count counter=products_count trimmed context "Remove category modal text about products" %}
+ {% blocktrans count counter=products_count trimmed context "Remove category form text about products" %}
There is one product in this category that will be removed.
{% plural %}
There are {{ counter }} products in this category that will be removed.
@@ -44,5 +44,5 @@ Remove category {{ category }}
{% endblock %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove category primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/customer/modal/confirm_promote.html b/templates/dashboard/customer/modal/confirm_promote.html
index e51ed0f78d..99636bea2a 100644
--- a/templates/dashboard/customer/modal/confirm_promote.html
+++ b/templates/dashboard/customer/modal/confirm_promote.html
@@ -9,15 +9,15 @@
{% endblock %}
{% block title %}
-{% trans "Promote to staff member" context "Modal promote to staff member title" %}
+{% trans "Promote to staff member" context "Dashboard confirmation modal" %}
{% endblock %}
{% block content %}
{% blocktrans trimmed with customer=customer context "Modal promote to staff member text" %}
-Are you sure you want to promote {{ customer }} to staff member?
+ Are you sure you want to promote {{ customer }} to staff member?
{% endblocktrans %}
{% endblock %}
{% block primary_action %}
-{% trans "Promote" context "Modal promote to staff member primary action" %}
+{% trans "Promote" context "Dashboard promote action" %}
{% endblock %}
diff --git a/templates/dashboard/discount/sale/modal/confirm_delete.html b/templates/dashboard/discount/sale/modal/confirm_delete.html
index 0934ab071e..b725bcfde7 100644
--- a/templates/dashboard/discount/sale/modal/confirm_delete.html
+++ b/templates/dashboard/discount/sale/modal/confirm_delete.html
@@ -9,15 +9,15 @@
{% endblock %}
{% block title %}
-{% trans "Remove sale" context "Modal remove sale (discount) title" %}
+{% trans "Remove sale" context "Remove sale (discount) text" %}
{% endblock %}
{% block content %}
-{% blocktrans trimmed context "Modal remove sale (discount) title" %}
- Are you sure you want to remove <strong>{{ sale }}</strong>?
+{% blocktrans trimmed context "Remove sale (discount) text" %}
+ Are you sure you want to remove <strong>{{ sale }}</strong>?
{% endblocktrans %}
{% endblock %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove sale (discount) primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/discount/voucher/modal/confirm_delete.html b/templates/dashboard/discount/voucher/modal/confirm_delete.html
index 1cb331e3ad..7d9fff01b1 100644
--- a/templates/dashboard/discount/voucher/modal/confirm_delete.html
+++ b/templates/dashboard/discount/voucher/modal/confirm_delete.html
@@ -9,17 +9,17 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove voucher title" %}
+{% blocktrans trimmed context "Remove voucher text" %}
Remove voucher {{ voucher }}
{% endblocktrans %}
{% endblock %}
{% block content %}
-{% blocktrans trimmed context "Modal remove voucher text" %}
- Are you sure you want to remove voucher <strong>{{ voucher }}</strong>?
+{% blocktrans trimmed context "Remove voucher text" %}
+Are you sure you want to remove voucher <strong>{{ voucher }}</strong>?
{% endblocktrans %}
{% endblock %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove voucher primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/group/modal/confirm_delete.html b/templates/dashboard/group/modal/confirm_delete.html
index d826403a8a..7fe9bf5020 100644
--- a/templates/dashboard/group/modal/confirm_delete.html
+++ b/templates/dashboard/group/modal/confirm_delete.html
@@ -9,7 +9,7 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove group title" %}
+{% blocktrans trimmed context "Modal remove group text" %}
Remove group <strong>{{ group }}</strong>?
{% endblocktrans %}
{% endblock %}
@@ -22,5 +22,5 @@
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove group primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/order/modal/add_variant_to_group.html b/templates/dashboard/order/modal/add_variant_to_group.html
index 21ae4baf19..ac0ff599d8 100644
--- a/templates/dashboard/order/modal/add_variant_to_group.html
+++ b/templates/dashboard/order/modal/add_variant_to_group.html
@@ -9,7 +9,7 @@
{% block title %}
{% blocktrans trimmed with shipment=group context "Modal group add variant title" %}
-Add product to {{ shipment }}
+ Add product to {{ shipment }}
{% endblocktrans %}
{% endblock %}
diff --git a/templates/dashboard/order/modal/cancel_line.html b/templates/dashboard/order/modal/cancel_line.html
index d2cfc0e489..614a5b28b3 100644
--- a/templates/dashboard/order/modal/cancel_line.html
+++ b/templates/dashboard/order/modal/cancel_line.html
@@ -15,7 +15,7 @@
{% block content %}
{% trans "Are you sure you want remove this order line?" context "Modal remove order line text" %}
{{ form|materializecss }}
-<table>
+ <table>
<thead>
<tr>
<th class="wide">
@@ -58,5 +58,5 @@
{% endblock %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove order line primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/order/modal/cancel_order.html b/templates/dashboard/order/modal/cancel_order.html
index 1da61916bb..b066c48954 100644
--- a/templates/dashboard/order/modal/cancel_order.html
+++ b/templates/dashboard/order/modal/cancel_order.html
@@ -8,6 +8,10 @@
{% endblock %}
{% block title %}
+{% trans "Cancel order" trimmed with order=order context "Modal cancel order title" %}
+{% endblock %}
+
+{% block content %}
{% blocktrans trimmed with order=order context "Modal cancel order text" %}
Are you sure you want cancel order {{ order }}?
{% endblocktrans %}
diff --git a/templates/dashboard/order/modal/cancel_shipment_group.html b/templates/dashboard/order/modal/cancel_shipment_group.html
index e1864bf5b6..fbab40b943 100644
--- a/templates/dashboard/order/modal/cancel_shipment_group.html
+++ b/templates/dashboard/order/modal/cancel_shipment_group.html
@@ -17,7 +17,7 @@
{% endblock %}
{% block cancel_action %}
-{% trans "Abort" context "Modal cancel shipment group cancel action" %}
+{% trans "Abort" context "Dashboard abort action" %}
{% endblock %}
{% block primary_action %}
diff --git a/templates/dashboard/order/modal/capture.html b/templates/dashboard/order/modal/capture.html
index c62350b510..86a1510231 100644
--- a/templates/dashboard/order/modal/capture.html
+++ b/templates/dashboard/order/modal/capture.html
@@ -15,12 +15,12 @@
{% block content %}
{{ form|materializecss }}
-{% trans "Before this action:" context "Modal capture payment text" %}
+{% trans "Before this action:" context "Modal capture payment title" %}
<ul class="list">
- <li class="list-item">{% trans "Order total:" context "Modal capture payment list header" %}
+ <li class="list-item">{% trans "Order total:" context "Modal capture payment list title" %}
{% gross payment.order.get_total html=True %}
</li>
- <li class="list-item">{% trans "Captured amount:" context "Modal capture payment list header" %}
+ <li class="list-item">{% trans "Captured amount:" context "Modal capture payment list title" %}
{{ captured|currencyfmt:currency }}
</li>
</ul>
diff --git a/templates/dashboard/order/modal/change_quantity.html b/templates/dashboard/order/modal/change_quantity.html
index 2055a6a56d..9988d1a49e 100644
--- a/templates/dashboard/order/modal/change_quantity.html
+++ b/templates/dashboard/order/modal/change_quantity.html
@@ -16,5 +16,5 @@
{% endblock %}
{% block primary_action %}
-{% trans "Update" context "Modal change quantity primary action" %}
+{% trans "Update" context "Dashboard update action" %}
{% endblock %}
diff --git a/templates/dashboard/order/modal/order_remove_voucher.html b/templates/dashboard/order/modal/order_remove_voucher.html
index 9e8df99190..30b3c5bc76 100644
--- a/templates/dashboard/order/modal/order_remove_voucher.html
+++ b/templates/dashboard/order/modal/order_remove_voucher.html
@@ -19,7 +19,7 @@
{% endblock %}
{% block cancel_action %}
-{% trans "Abort" context "Modal remove voucher from order cancel action" %}
+{% trans "Abort" context "Dashboard abort action" %}
{% endblock %}
{% block primary_action %}
diff --git a/templates/dashboard/order/modal/refund.html b/templates/dashboard/order/modal/refund.html
index 7e3e302a2d..9c0677c724 100644
--- a/templates/dashboard/order/modal/refund.html
+++ b/templates/dashboard/order/modal/refund.html
@@ -16,12 +16,12 @@
{% block content %}
{{ form|materializecss }}
-{% trans "Before this action:" context "Modal refund payment text" %}
+{% trans "Before this action:" context "Modal refund payment title" %}
<ul class="list">
- <li class="list-item">{% trans "Order total:" context "Modal refund payment list header" %}
+ <li class="list-item">{% trans "Order total:" context "Modal refund payment list title" %}
{% gross payment.order.get_total html=True %}
</li>
- <li class="list-item">{% trans "Captured amount:" context "Modal refund payment list header" %}
+ <li class="list-item">{% trans "Captured amount:" context "Modal refund payment list title" %}
{{ captured|currencyfmt:currency }}
</li>
</ul>
diff --git a/templates/dashboard/product/modal/confirm_delete.html b/templates/dashboard/product/modal/confirm_delete.html
index 20c9a69e0b..56a34fcf1a 100644
--- a/templates/dashboard/product/modal/confirm_delete.html
+++ b/templates/dashboard/product/modal/confirm_delete.html
@@ -10,17 +10,17 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove product title" %}
- Remove product {{ product }}
+{% blocktrans trimmed context "Modal remove product text" %}
+ Remove product {{ product }}
{% endblocktrans %}
{% endblock %}
{% block content %}
{% blocktrans trimmed context "Modal remove product text" %}
- Are you sure you want to remove product <strong>{{ product }}</strong>?
+ Are you sure you want to remove product <strong>{{ product }}</strong>?
{% endblocktrans %}
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove product primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/product/product_attribute/modal/attribute_confirm_delete.html b/templates/dashboard/product/product_attribute/modal/attribute_confirm_delete.html
index 5cde5ab93f..324ae76355 100644
--- a/templates/dashboard/product/product_attribute/modal/attribute_confirm_delete.html
+++ b/templates/dashboard/product/product_attribute/modal/attribute_confirm_delete.html
@@ -9,17 +9,17 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove attribute title" %}
- Remove attribute {{ attribute }}
+{% blocktrans trimmed context "Modal remove attribute text" %}
+ Remove attribute {{ attribute }}
{% endblocktrans %}
{% endblock title %}
{% block content %}
{% blocktrans trimmed context "Modal remove attribute text" %}
- Are you sure you want to remove attribute <strong>{{ attribute }}</strong>?
+ Are you sure you want to remove attribute <strong>{{ attribute }}</strong>?
{% endblocktrans %}
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove product primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/product/product_attribute/values/modal/confirm_delete.html b/templates/dashboard/product/product_attribute/values/modal/confirm_delete.html
index 66f2f71393..f25430f2bd 100644
--- a/templates/dashboard/product/product_attribute/values/modal/confirm_delete.html
+++ b/templates/dashboard/product/product_attribute/values/modal/confirm_delete.html
@@ -9,17 +9,17 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove attribute value title" %}
+{% blocktrans trimmed context "Modal delete attribute text" %}
Delete attribute choice value {{ value }}
{% endblocktrans %}
{% endblock title %}
{% block content %}
-{% blocktrans trimmed context "Modal remove attribute value text" %}
- Are you sure you want to remove attribute choice value <strong>{{ value }}</strong>?
+{% blocktrans trimmed context "Modal delete attribute text" %}
+ Are you sure you want to remove attribute choice value <strong>{{ value }}</strong>?
{% endblocktrans %}
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove product primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/product/product_class/modal/confirm_delete.html b/templates/dashboard/product/product_class/modal/confirm_delete.html
index 1da3e50699..2674a67718 100644
--- a/templates/dashboard/product/product_class/modal/confirm_delete.html
+++ b/templates/dashboard/product/product_class/modal/confirm_delete.html
@@ -11,26 +11,26 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove product class title" %}
- Remove product class {{ product_class }}
+{% blocktrans trimmed context "Modal remove product class text" %}
+ Remove product class {{ product_class }}
{% endblocktrans %}
{% endblock title %}
{% block content %}
<p>
- {% blocktrans trimmed context "Modal remove product class text" %}
+ {% blocktrans trimmed context "Modal remove product class text" %}
Are you sure you want to remove product class <strong>{{ product_class }}</strong>?
- {% endblocktrans %}
+ {% endblocktrans %}
</p>
<p>
{% if products %}
- {% blocktrans trimmed context "Modal remove product class text" with product_count=products.count %}
+ {% blocktrans trimmed context "Modal remove product class text" with product_count=products.count %}
There are {{ product_count }} products in product class.
- {% endblocktrans %}
+ {% endblocktrans %}
{% else %}
- {% blocktrans trimmed context "Modal remove product class text" %}
+ {% blocktrans trimmed context "Modal remove product class text" %}
There are no products in this product class.
- {% endblocktrans %}
+ {% endblocktrans %}
{% endif %}
</p>
{% endblock %}
diff --git a/templates/dashboard/product/product_image/modal/confirm_delete.html b/templates/dashboard/product/product_image/modal/confirm_delete.html
index 84df0b6c0d..befec1edba 100644
--- a/templates/dashboard/product/product_image/modal/confirm_delete.html
+++ b/templates/dashboard/product/product_image/modal/confirm_delete.html
@@ -10,16 +10,16 @@
{% endblock %}
{% block title %}
-{% trans "Remove product image" context "Modal remove product image text" %}
+{% trans "Remove product image" context "Modal remove image text" %}
{% endblock %}
{% block content %}
<div class="center-align">
- <img class="responsive-img" src="{{ image.image.crop.255x255 }}" srcset="{{ image.image.crop.255x255 }} 1x, {{ image.image.crop.510x510 }} 2x" alt="">
+ <img class="responsive-img" src="{{ image.image.crop.255x255 }}" srcset="{{ image.image.crop.255x255 }} 1x, {{ image.image.crop.510x510 }} 2x" alt="">
</div>
-<p>{% trans "Are you sure you want to remove product image?" context "Modal remove product image text" %}</p>
+<p>{% trans "Are you sure you want to remove product image?" context "Modal remove image text" %}</p>
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove product image primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/product/product_variant/modal/confirm_delete.html b/templates/dashboard/product/product_variant/modal/confirm_delete.html
index 23582c28e9..347e958ba6 100644
--- a/templates/dashboard/product/product_variant/modal/confirm_delete.html
+++ b/templates/dashboard/product/product_variant/modal/confirm_delete.html
@@ -11,24 +11,24 @@
{% endblock %}
{% block title %}
-{% blocktrans context "Modal remove variant title" %}
- Remove variant {{ variant }}
+{% blocktrans context "Dashboard confirmation modal" %}
+ Remove variant {{ variant }}
{% endblocktrans %}
{% endblock %}
{% block content %}
<p>
-{% blocktrans context "Modal remove variant text" %}
- Are you sure you want to remove variant <strong>{{ variant }}</strong> of product {{ product }}?
+{% blocktrans context "Dashboard confirmation modal" %}
+ Are you sure you want to remove variant <strong>{{ variant }}</strong> of product {{ product }}?
{% endblocktrans %}
</p>
{% if is_only_variant %}
- <p>
- {% trans "This is the only variant of this product. If you remove it, the product will become unavailable." context "Modal remove variant text" %}
- </p>
+ <p>
+ {% trans "This is the only variant of this product. If you remove it, the product will become unavailable." context "Dashboard confirmation modal" %}
+ </p>
{% endif %}
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove product variant primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/product/product_variant/modal/select_images.html b/templates/dashboard/product/product_variant/modal/select_images.html
index 3711bfeb40..10a57bad05 100644
--- a/templates/dashboard/product/product_variant/modal/select_images.html
+++ b/templates/dashboard/product/product_variant/modal/select_images.html
@@ -11,7 +11,7 @@
{% endblock %}
{% block title %}
-{% trans "Select variant images" context "Modal select variant images title" %}
+{% trans "Select variant images" context "Dashboard variant images modal" %}
{% endblock %}
{% block content %}
@@ -19,5 +19,5 @@
{% endblock content %}
{% block primary_action %}
-{% trans "Save" context "Modal select variant images primary action" %}
+{% trans "Save" context "Dashboard modal action" %}
{% endblock %}
diff --git a/templates/dashboard/product/stock/modal/confirm_delete.html b/templates/dashboard/product/stock/modal/confirm_delete.html
index 7c89a9bd9b..9d2a73adcd 100644
--- a/templates/dashboard/product/stock/modal/confirm_delete.html
+++ b/templates/dashboard/product/stock/modal/confirm_delete.html
@@ -10,17 +10,17 @@
{% endblock %}
{% block title %}
-{% blocktrans context "Modal remove stock title" %}
-Remove stock {{ stock }}
+{% blocktrans context "Dashboard confirmation modal" %}
+ Remove stock {{ stock }}
{% endblocktrans %}
{% endblock title %}
{% block content %}
-{% blocktrans context "Modal remove stock text" %}
- Are you sure you want to remove stock <strong>{{ stock }}</strong>?
+{% blocktrans context "Dashboard confirmation modal" %}
+ Are you sure you want to remove stock <strong>{{ stock }}</strong>?
{% endblocktrans %}
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove stock primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/product/stock_location/modal/confirm_delete.html b/templates/dashboard/product/stock_location/modal/confirm_delete.html
index 4bd36dd2c2..af775bedca 100644
--- a/templates/dashboard/product/stock_location/modal/confirm_delete.html
+++ b/templates/dashboard/product/stock_location/modal/confirm_delete.html
@@ -9,7 +9,7 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove stock location title" %}
+{% blocktrans trimmed context "Modal remove stock location text" %}
Remove stock location {{ location }}
{% endblocktrans %}
{% endblock title %}
@@ -32,6 +32,6 @@ Remove stock location {{ location }}
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove stock location primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/shipping/modal/confirm_delete.html b/templates/dashboard/shipping/modal/confirm_delete.html
index d845ade701..f574291add 100644
--- a/templates/dashboard/shipping/modal/confirm_delete.html
+++ b/templates/dashboard/shipping/modal/confirm_delete.html
@@ -11,17 +11,17 @@
{% endblock %}
{% block title %}
-{% blocktrans context "Modal remove shipping method title" %}
+{% blocktrans context "Dashboard confirmation modal" %}
Remove shipping method {{ shipping_method }}
{% endblocktrans %}
{% endblock %}
{% block content %}
-{% blocktrans context "Modal remove shipping method text" %}
+{% blocktrans context "Dashboard confirmation modal" %}
Are you sure you want to remove shipping method <strong>{{ shipping_method}}</strong>?
{% endblocktrans %}
{% endblock %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove shipping method primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/shipping/modal/country_confirm_delete.html b/templates/dashboard/shipping/modal/country_confirm_delete.html
index 81f894ca53..963bac4e7e 100644
--- a/templates/dashboard/shipping/modal/country_confirm_delete.html
+++ b/templates/dashboard/shipping/modal/country_confirm_delete.html
@@ -10,16 +10,16 @@
{% block title %}
{% blocktrans trimmed context "Modal remove shipping method country title" %}
-Remove shipping {{ country }}
+ Remove shipping {{ country }}
{% endblocktrans %}
{% endblock title %}
{% block content %}
{% blocktrans trimmed context "Modal remove shipping method country text" %}
-Are you sure you want to remove shipping <strong>{{ country }}</strong>?
+ Are you sure you want to remove shipping <strong>{{ country }}</strong>?
{% endblocktrans %}
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove shipping method country primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/sites/modal/confirm_delete.html b/templates/dashboard/sites/modal/confirm_delete.html
index a8de75d619..94499a5be1 100644
--- a/templates/dashboard/sites/modal/confirm_delete.html
+++ b/templates/dashboard/sites/modal/confirm_delete.html
@@ -9,17 +9,17 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove authorization key title" %}
-Remove authorization key {{ key }}
+{% blocktrans trimmed context "Modal delete authorization key text" %}
+ Delete authorization key {{ key }}
{% endblocktrans %}
{% endblock title %}
{% block content %}
-{% blocktrans trimmed context "Modal remove authorization key text" %}
-Are you sure you want to remove authorization key <strong>{{ key }}</strong>?
+{% blocktrans trimmed context "Modal delete authorization key text" %}
+ Are you sure you want to remove authorization key <strong>{{ key }}</strong>?
{% endblocktrans %}
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove authorization key primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}
diff --git a/templates/dashboard/staff/modal/confirm_delete.html b/templates/dashboard/staff/modal/confirm_delete.html
index c20313de0b..282a3569b8 100644
--- a/templates/dashboard/staff/modal/confirm_delete.html
+++ b/templates/dashboard/staff/modal/confirm_delete.html
@@ -9,13 +9,13 @@
{% endblock %}
{% block title %}
-{% blocktrans trimmed context "Modal remove staff member title" %}
+{% blocktrans trimmed context "Modal remove group text" %}
Remove staff member <strong>{{ staff }}</strong>
{% endblocktrans %}
{% endblock %}
{% block content %}
-{% blocktrans trimmed context "Modal remove staff member text" %}
+{% blocktrans trimmed context "Modal remove group text" %}
<p>Are you sure you want to remove staff member?</p>
<p>Deleting staff member also removes him from customer list and removes all his related data (orders, payment etc.).</p>
<p>We strongly recommend not deleting user accounts that were used for purchases (for example customer which was promoted with staff member status).</p>
@@ -24,5 +24,5 @@
{% endblock content %}
{% block primary_action %}
-{% trans "Remove" context "Modal remove staff member primary action" %}
+{% trans "Remove" context "Dashboard delete action" %}
{% endblock %}