diff --git a/InvenTree/build/templates/build/build_base.html b/InvenTree/build/templates/build/build_base.html index d0e68cac4c..b6c464ba1b 100644 --- a/InvenTree/build/templates/build/build_base.html +++ b/InvenTree/build/templates/build/build_base.html @@ -13,13 +13,13 @@ InvenTree | {% trans "Build Order" %} - {{ build }} {% if build.sales_order %}
{% object_link 'so-detail' build.sales_order.id build.sales_order as link %} - {% blocktrans %}This Build Order is allocated to Sales Order {{ link }}{% endblocktrans %} + {% blocktrans %}This Build Order is allocated to Sales Order {{link}}{% endblocktrans %}
{% endif %} {% if build.parent %}
{% object_link 'build-detail' build.parent.id build.parent as link %} - {% blocktrans %}This Build Order is a child of Build Order {{ link }}{% endblocktrans %} + {% blocktrans %}This Build Order is a child of Build Order {{link}}{% endblocktrans %}
{% endif %} {% endblock %} @@ -108,7 +108,7 @@ src="{% static 'img/blank_image.png' %}" {{ build.target_date }} {% if build.is_overdue %} - {% trans "Overdue" %} + {% trans "Overdue" %} {% endif %} diff --git a/InvenTree/build/templates/build/create_build_item.html b/InvenTree/build/templates/build/create_build_item.html index 1a7934b88b..9ebf5bb389 100644 --- a/InvenTree/build/templates/build/create_build_item.html +++ b/InvenTree/build/templates/build/create_build_item.html @@ -8,13 +8,13 @@

{% if output %}

- {% blocktrans %}The allocated stock will be installed into the following build output:
{{ output }}{% endblocktrans %} + {% blocktrans %}The allocated stock will be installed into the following build output:
{{output}}{% endblocktrans %}

{% endif %} {% if no_stock %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/InvenTree/company/templates/company/manufacturer_part_delete.html b/InvenTree/company/templates/company/manufacturer_part_delete.html index 98b55934d0..58ecdbf23b 100644 --- a/InvenTree/company/templates/company/manufacturer_part_delete.html +++ b/InvenTree/company/templates/company/manufacturer_part_delete.html @@ -33,7 +33,7 @@ {% if part.supplier_parts.all|length > 0 %}
-

{% blocktrans %}There are {{ part.supplier_parts.all|length }} suppliers defined for this manufacturer part. If you delete it, the following supplier parts will also be deleted:{% endblocktrans %}

+

{% blocktrans with count=part.supplier_parts.all|length %}There are {{count}} suppliers defined for this manufacturer part. If you delete it, the following supplier parts will also be deleted:{% endblocktrans %}

{% if not part.order_supplier %} - {% blocktrans %}Select a supplier for {{ part.name }}{% endblocktrans %} + {% blocktrans with name=part.name %}Select a supplier for {{name}}{% endblocktrans %} {% endif %} diff --git a/InvenTree/order/templates/order/order_wizard/select_pos.html b/InvenTree/order/templates/order/order_wizard/select_pos.html index 1152736c89..27f60212c1 100644 --- a/InvenTree/order/templates/order/order_wizard/select_pos.html +++ b/InvenTree/order/templates/order/order_wizard/select_pos.html @@ -42,7 +42,7 @@