2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +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

@ -108,7 +108,7 @@ src="{% static 'img/blank_image.png' %}"
<td>
{{ build.target_date }}
{% if build.is_overdue %}
<span title='{% trans "This build was due on" %} {{ build.target_date }}' class='label label-red'>{% trans "Overdue" %}</span>
<span title='{% blocktrans %}This build was due on {{ build.target_date }}{% endblocktrans %}' class='label label-red'>{% trans "Overdue" %}</span>
{% endif %}
</td>
</tr>

View File

@ -8,15 +8,13 @@
</p>
{% if output %}
<p>
{% trans "The allocated stock will be installed into the following build output:" %}
<br>
<i>{{ output }}</i>
{% blocktrans %}The allocated stock will be installed into the following build output:<br><i>{{ output }}</i>{% endblocktrans %}
</p>
{% endif %}
</div>
{% if no_stock %}
<div class='alert alert-danger alert-block' role='alert'>
{% trans "No stock available for" %} {{ part }}
{% blocktrans %}No stock available for {{ part }}{% endblocktrans %}
</div>
{% endif %}
{% endblock %}