2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

extending translations to the whole sentence

This commit is contained in:
2021-04-17 23:52:21 +02:00
parent 20af4c9ba0
commit 59063bee6b
15 changed files with 27 additions and 30 deletions

View File

@ -366,9 +366,9 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
<td>
{{ item.expiry_date }}
{% if item.is_expired %}
<span title='{% trans "This StockItem expired on" %} {{ item.expiry_date }}' class='label label-red'>{% trans "Expired" %}</span>
<span title='{% blocktrans %}This StockItem expired on {{ item.expiry_date }}{% endblocktrans %}' class='label label-red'>{% trans "Expired" %}</span>
{% elif item.is_stale %}
<span title='{% trans "This StockItem expires on" %} {{ item.expiry_date }}' class='label label-yellow'>{% trans "Stale" %}</span>
<span title='{% blocktrans %}This StockItem expires on {{ item.expiry_date }}{% endblocktrans %}' class='label label-yellow'>{% trans "Stale" %}</span>
{% endif %}
</td>
</tr>

View File

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