Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Make titles sensences and fix phrasing in delete confirmation modals
Jakub Draganek63d7e6e85f79
diff --git a/templates/dashboard/base_modal_confirm_delete.html b/templates/dashboard/base_modal_confirm_delete.htmlindex 5575e5ea28..a187193553 100644--- a/templates/dashboard/base_modal_confirm_delete.html+++ b/templates/dashboard/base_modal_confirm_delete.html@@ -7,7 +7,7 @@<div class="col s12"><h5>{% block title %}- {% trans "Delete?" context "Dashboard confirmation modal" %}+ {% trans "Delete" context "Dashboard confirmation modal" %}{% endblock %}</h5></div>diff --git a/templates/dashboard/category/modal_confirm_delete.html b/templates/dashboard/category/modal_confirm_delete.htmlindex f7fcbadf23..43e80d124d 100644--- a/templates/dashboard/category/modal_confirm_delete.html+++ b/templates/dashboard/category/modal_confirm_delete.html@@ -9,13 +9,13 @@{% block title %}{% blocktrans with category=category trimmed context "Delete category modal title" %}-Delete category <strong>{{ category }}</strong>?+Delete category {{ category }}{% endblocktrans %}{% endblock %}{% block content %}{% blocktrans with category=category trimmed context "Delete category modal title" %}-Are you sure you want to delete category {{ category }}?+Are you sure you want to delete category <strong>{{ category }}</strong>?{% endblocktrans %}{% if descendants %}<p>diff --git a/templates/dashboard/discount/sale_modal_confirm_delete.html b/templates/dashboard/discount/sale_modal_confirm_delete.htmlindex b6a2819b97..d07e418fc0 100644--- a/templates/dashboard/discount/sale_modal_confirm_delete.html+++ b/templates/dashboard/discount/sale_modal_confirm_delete.html@@ -6,12 +6,12 @@{% block title %}{% blocktrans trimmed context "Delete sale (discount) text" %}-Delete discount sale <strong>{{ sale }}</strong>?+Delete sale {{ sale }}{% endblocktrans %}{% endblock title %}{% block content %}{% blocktrans trimmed context "Delete sale (discount) text" %}-Are you sure you want to selete {{ sale }}?+Are you sure you want to selete <strong>{{ sale }}</strong>?{% endblocktrans %}{% endblock content %}diff --git a/templates/dashboard/discount/voucher_modal_confirm_delete.html b/templates/dashboard/discount/voucher_modal_confirm_delete.htmlindex 59923aa75e..b874678f85 100644--- a/templates/dashboard/discount/voucher_modal_confirm_delete.html+++ b/templates/dashboard/discount/voucher_modal_confirm_delete.html@@ -8,12 +8,12 @@{% block title %}{% blocktrans trimmed context "Delete voucher text" %}-Delete voucher <strong>{{ voucher }}</strong>?+Delete voucher {{ voucher }}{% endblocktrans %}{% endblock title %}{% block content %}{% blocktrans trimmed context "Delete voucher text" %}-Are you sure you want to delete voucher {{ voucher }}?+Are you sure you want to delete voucher <strong>{{ voucher }}</strong>?{% endblocktrans %}{% endblock content %}diff --git a/templates/dashboard/product/modal_confirm_delete.html b/templates/dashboard/product/modal_confirm_delete.htmlindex ddc84dceb5..6528f9ab96 100644--- a/templates/dashboard/product/modal_confirm_delete.html+++ b/templates/dashboard/product/modal_confirm_delete.html@@ -7,12 +7,12 @@{% block title %}{% blocktrans trimmed context "Modal delete product text" %}-Delete product <strong>{{ product }}</strong>?+Delete product {{ product }}{% endblocktrans %}{% endblock %}{% block content %}{% blocktrans trimmed context "Modal delete product text" %}-Are you sure you want to delete product {{ product }}?+Are you sure you want to delete product <strong>{{ product }}</strong>?{% endblocktrans %}{% endblock content %}diff --git a/templates/dashboard/product/product_attribute/modal_confirm_delete.html b/templates/dashboard/product/product_attribute/modal_confirm_delete.htmlindex c78f2b1c2a..4e8b512cbd 100644--- a/templates/dashboard/product/product_attribute/modal_confirm_delete.html+++ b/templates/dashboard/product/product_attribute/modal_confirm_delete.html@@ -8,12 +8,12 @@{% block title %}{% blocktrans trimmed context "Modal delete attribute text" %}-Delete an attribute <strong>{{ attribute }}</strong>?+Delete attribute {{ attribute }}{% endblocktrans %}{% endblock title %}{% block content %}{% blocktrans trimmed context "Modal delete attribute text" %}-Are you sure you want to delete an attribute {{ attribute }}?+Are you sure you want to delete attribute <strong>{{ attribute }}</strong>?{% endblocktrans %}{% endblock content %}diff --git a/templates/dashboard/product/product_class/modal_confirm_delete.html b/templates/dashboard/product/product_class/modal_confirm_delete.htmlindex e4675dd25b..1d70810ce9 100644--- a/templates/dashboard/product/product_class/modal_confirm_delete.html+++ b/templates/dashboard/product/product_class/modal_confirm_delete.html@@ -8,14 +8,14 @@{% block title %}{% blocktrans trimmed context "Modal delete product class text" %}-<p>Delete product class <strong>{{ product_class }}</strong>?</p>+Delete product class {{ product_class }}{% endblocktrans %}{% endblock title %}{% block content %}<p>{% blocktrans trimmed context "Modal delete product class text" %}- Are you sure you want to delete product class {{ product_class }}?+ Are you sure you want to delete product class <strong>{{ product_class }}</strong>?{% endblocktrans %}</p><p>diff --git a/templates/dashboard/product/product_image/modal_confirm_delete.html b/templates/dashboard/product/product_image/modal_confirm_delete.htmlindex ede0cdfee5..2231708740 100644--- a/templates/dashboard/product/product_image/modal_confirm_delete.html+++ b/templates/dashboard/product/product_image/modal_confirm_delete.html@@ -1,19 +1,19 @@{% extends "dashboard/base_modal_confirm_delete.html" %}{% load i18n %}+{% load product_first_image from product_images %}{% block action_url %}{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}{% endblock %}{% block title %}- {% blocktrans trimmed context "Modal delete image text" %}- Delete product image?- {% endblocktrans %}+{% trans "Delete product image" context "Modal delete image text" %}{% endblock %}{% block content %}- {% blocktrans trimmed context "Modal delete image text" %}- Are you sure you want to delete product image?- {% endblocktrans %}+<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="">+</div>+<p>{% trans "Are you sure you want to delete product image?" context "Modal delete image text" %}</p>{% endblock content %}diff --git a/templates/dashboard/product/product_variant/modal_confirm_delete.html b/templates/dashboard/product/product_variant/modal_confirm_delete.htmlindex f5bae6e36b..9a876f6973 100644--- a/templates/dashboard/product/product_variant/modal_confirm_delete.html+++ b/templates/dashboard/product/product_variant/modal_confirm_delete.html@@ -10,14 +10,14 @@{% block title %}{% blocktrans context "Dashboard confirmation modal" %}-Delete variant <strong>{{ variant }}</strong>?+Delete variant {{ variant }}{% endblocktrans %}{% endblock %}{% block content %}<p>{% blocktrans context "Dashboard confirmation modal" %}-Are you sure you want to delete variant {{ variant }} of product {{ product }}?+Are you sure you want to delete variant <strong>{{ variant }}</strong> of product {{ product }}?{% endblocktrans %}</p>{% if is_only_variant %}diff --git a/templates/dashboard/product/stock/modal_confirm_delete.html b/templates/dashboard/product/stock/modal_confirm_delete.htmlindex 012a4244b2..a97fa799b1 100644--- a/templates/dashboard/product/stock/modal_confirm_delete.html+++ b/templates/dashboard/product/stock/modal_confirm_delete.html@@ -9,12 +9,12 @@{% block title %}{% blocktrans context "Dashboard confirmation modal" %}-Delete stock <strong>{{ stock }}</strong>?+Delete stock {{ stock }}{% endblocktrans %}{% endblock title %}{% block content %}{% blocktrans context "Dashboard confirmation modal" %}-Are you sure you want to delete stock {{ stock }}?+Are you sure you want to delete stock <strong>{{ stock }}</strong>?{% endblocktrans %}{% endblock content %}diff --git a/templates/dashboard/product/stock_location/modal_confirm_delete.html b/templates/dashboard/product/stock_location/modal_confirm_delete.htmlindex 23506da33d..0288e88964 100644--- a/templates/dashboard/product/stock_location/modal_confirm_delete.html+++ b/templates/dashboard/product/stock_location/modal_confirm_delete.html@@ -8,14 +8,14 @@{% block title %}{% blocktrans trimmed context "Modal delete stock location text" %}-Delete stock location <strong>{{ location }}</strong>?+Delete stock location {{ location }}{% endblocktrans %}{% endblock title %}{% block content %}<p>{% blocktrans trimmed context "Modal delete stock location text" %}- Are you sure you want to delete stock location {{ location }}?+ Are you sure you want to delete stock location <strong>{{ location }}</strong>?{% endblocktrans %}</p>{% if stock_count %}diff --git a/templates/dashboard/shipping/modal_confirm_delete.html b/templates/dashboard/shipping/modal_confirm_delete.htmlindex afd1462617..c2c6d21223 100644--- a/templates/dashboard/shipping/modal_confirm_delete.html+++ b/templates/dashboard/shipping/modal_confirm_delete.html@@ -10,12 +10,12 @@{% block title %}{% blocktrans context "Dashboard confirmation modal" %}-Delete shipping method <strong>{{ shipping_method }}</strong>?+Delete shipping method {{ shipping_method }}{% endblocktrans %}{% endblock %}{% block content %}{% blocktrans context "Dashboard confirmation modal" %}-Are you sure you want to delete shipping method {{ shipping_method }}?+Are you sure you want to delete shipping method <strong>{{ shipping_method}}</strong>?{% endblocktrans %}{% endblock %}