2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Translation fixes (#4621)

* Remove HTML tags from translateable string

* Improve another string

* Improve strings for plugin version check

* Cleanup duplicate serials msg

* JS translations

* fmt
This commit is contained in:
Oliver
2023-04-18 00:12:14 +10:00
committed by GitHub
parent 593a716c29
commit f6b9b12745
6 changed files with 15 additions and 11 deletions

View File

@ -12,7 +12,7 @@
<div class='alert alert-block alert-info'>
{% else %}
<div class='alert alert-block alert-danger'>
{% blocktrans with part=part.full_name %}The BOM for <em>{{ part }}</em> has changed, and must be validated.<br>{% endblocktrans %}
{% trans "The BOM this part has been changed, and must be validated" %}
{% endif %}
{% blocktrans with part=part.full_name checker=part.bom_checked_by check_date=part.bom_checked_date %}The BOM for <em>{{ part }}</em> was last checked by {{ checker }} on {{ check_date }}{% endblocktrans %}
</div>

View File

@ -7,7 +7,7 @@
<div class='alert alert-info alert-block'>
<strong>{% trans "Create new part variant" %}</strong><br>
{% blocktrans with full_name=part.full_name %}Create a new variant of template <em>'{{full_name}}'</em>.{% endblocktrans %}
{% trans "Create a new variant part from this template" %}
</div>
{% endblock %}