Simplify translations (#6180)

- Do not include HTML tags
This commit is contained in:
Oliver 2024-01-10 21:59:41 +11:00 committed by GitHub
parent dfaee0ea96
commit ec9bff9be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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