added translatable strings

This commit is contained in:
Matthias 2021-04-17 23:54:23 +02:00
parent 46822017c6
commit c233e82919
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -3,7 +3,7 @@
{% block pre_form_content %} {% block pre_form_content %}
<div class='alert alert-danger alert-block'> <div class='alert alert-danger alert-block'>
Are you sure you want to delete this stock tracking entry? {% trans "Are you sure you want to delete this stock tracking entry?" %}
</div> </div>
{% endblock %} {% endblock %}