2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 03:30:54 +00:00

sipler translation strings

This commit is contained in:
2021-04-18 01:21:11 +02:00
parent c233e82919
commit 5b9c4dc225
17 changed files with 32 additions and 32 deletions

View File

@ -49,7 +49,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
{% for allocation in item.sales_order_allocations.all %}
<div class='alert alert-block alert-info'>
{% object_link 'so-detail' allocation.line.order.id allocation.line.order as link %}
{% define decimal allocation.quantity as qty %}
{% decimal allocation.quantity as qty %}
{% blocktrans %}This stock item is allocated to Sales Order {{ link }} (Quantity: {{ qty }}){% endblocktrans %}
</div>
{% endfor %}
@ -57,7 +57,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
{% for allocation in item.allocations.all %}
<div class='alert alert-block alert-info'>
{% object_link 'build-detail' allocation.build.id allocation.build %}
{% define decimal allocation.quantity as qty %}
{% decimal allocation.quantity as qty %}
{% blocktrans %}This stock item is allocated to Build {{ link }} (Quantity: {{ qty }}){% endblocktrans %}
</div>
{% endfor %}

View File

@ -8,8 +8,8 @@
<div class='alert alert-danger alert-block'>
{% trans "Are you sure you want to delete this stock item?" %}
<br>
{% define decimal item.quantity as qty %}
{% blocktrans %}This will remove <b>{{ qty }}</b> units of <b>{{ item.part.full_name }}</b> from stock.{% endblocktrans %}
{% decimal item.quantity as qty %}
{% blocktrans with full_name=item.part.full_name %}This will remove <b>{{qty}}</b> units of <b>{{full_name}}</b> from stock.{% endblocktrans %}
</div>
{% endblock %}

View File

@ -5,8 +5,8 @@
<div class='alert alert-block alert-info'>
<b>{% trans "Convert Stock Item" %}</b><br>
{% blocktrans %}This stock item is current an instance of <i>{{ item.part }}</i>{% endblocktrans %}<br>
{% blocktrans %}It can be converted to one of the part variants listed below.{% endblocktrans %}
{% blocktrans with part=item.part %}This stock item is current an instance of <i>{{part}}</i>{% endblocktrans %}<br>
{% trans "It can be converted to one of the part variants listed below." %}
</div>
<div class='alert alert-block alert-warning'>