2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

Add some more translations

This commit is contained in:
Oliver Walters
2020-04-12 01:00:49 +10:00
parent 3c46e12839
commit 5e2ed06c2d
4 changed files with 111 additions and 70 deletions

View File

@ -8,18 +8,19 @@
{% if part.active == False %}
<div class='alert alert-danger alert-block'>
{% trans "This part is not active" %}"
{% trans "This part is not active" %}
</div>
{% endif %}
{% if part.is_template %}
<div class='alert alert-info alert-block'>
This part is a <i>template part</i>.<br>
It is not a <i>real</i> part, but real parts can be based on this template.
{% trans "This part is a template part." %}
<br>
{% trans "It is not a real part, but real parts can be based on this template." %}
</div>
{% endif %}
{% if part.variant_of %}
<div class='alert alert-info alert-block'>
This part is a variant of <b><a href="{% url 'part-detail' part.variant_of.id %}">{{ part.variant_of.full_name }}</a></b>
{% trans "This part is a variant of" %} <b><a href="{% url 'part-detail' part.variant_of.id %}">{{ part.variant_of.full_name }}</a></b>
</div>
{% endif %}