diff --git a/InvenTree/stock/templates/stock/item_delete.html b/InvenTree/stock/templates/stock/item_delete.html index 09d9397ecc..4614b70e59 100644 --- a/InvenTree/stock/templates/stock/item_delete.html +++ b/InvenTree/stock/templates/stock/item_delete.html @@ -8,7 +8,8 @@
{% trans "Are you sure you want to delete this stock item?" %}
-This will remove {% decimal item.quantity %} units of {{ item.part.full_name }} from stock. +{% define decimal item.quantity as qty %} +{% blocktrans %}This will remove {{ qty }} units of {{ item.part.full_name }} from stock.{% endblocktrans %}
{% endblock %} \ No newline at end of file diff --git a/InvenTree/stock/templates/stock/tracking_delete.html b/InvenTree/stock/templates/stock/tracking_delete.html index b5dde45de2..79d5af5192 100644 --- a/InvenTree/stock/templates/stock/tracking_delete.html +++ b/InvenTree/stock/templates/stock/tracking_delete.html @@ -3,7 +3,7 @@ {% block pre_form_content %}
-Are you sure you want to delete this stock tracking entry? +{% trans "Are you sure you want to delete this stock tracking entry?" %}
{% endblock %} \ No newline at end of file