From 5b9c4dc2252b1581a482375bd72f0009f47cdb88 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 18 Apr 2021 01:21:11 +0200 Subject: [PATCH] sipler translation strings --- InvenTree/build/templates/build/build_base.html | 6 +++--- .../build/templates/build/create_build_item.html | 4 ++-- .../templates/company/manufacturer_part_delete.html | 2 +- .../templates/order/order_wizard/select_parts.html | 2 +- .../templates/order/order_wizard/select_pos.html | 4 ++-- InvenTree/order/templates/order/receive_parts.html | 2 +- InvenTree/part/templates/part/category_delete.html | 6 +++--- InvenTree/part/templates/part/copy_part.html | 2 +- InvenTree/part/templates/part/create_part.html | 4 ++-- InvenTree/part/templates/part/part_base.html | 2 +- InvenTree/part/templates/part/part_pricing.html | 2 +- InvenTree/part/templates/part/partial_delete.html | 12 ++++++------ InvenTree/part/templates/part/stock.html | 2 +- InvenTree/part/templates/part/variant_part.html | 2 +- InvenTree/stock/templates/stock/item_base.html | 4 ++-- InvenTree/stock/templates/stock/item_delete.html | 4 ++-- .../stock/templates/stock/stockitem_convert.html | 4 ++-- 17 files changed, 32 insertions(+), 32 deletions(-) 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 @@