diff --git a/InvenTree/common/views.py b/InvenTree/common/views.py index a7515c0529..c439b63c09 100644 --- a/InvenTree/common/views.py +++ b/InvenTree/common/views.py @@ -452,7 +452,7 @@ class FileManagementFormView(MultiStepFormView): valid = self.check_field_selection(form) if not valid: - form.add_error(None, 'Fields matching failed') + form.add_error(None, _('Fields matching failed')) elif step == 'items': pass diff --git a/InvenTree/order/templates/order/order_wizard/po_upload.html b/InvenTree/order/templates/order/order_wizard/po_upload.html index 129570417b..84a28cf0a3 100644 --- a/InvenTree/order/templates/order/order_wizard/po_upload.html +++ b/InvenTree/order/templates/order/order_wizard/po_upload.html @@ -14,7 +14,7 @@ {% block details %} -
{% trans "Step" %} {{ wizard.steps.step1 }} {% trans "of" %} {{ wizard.steps.count }} +
{% blocktrans with step=wizard.steps.step1 count=wizard.steps.count %}Step {{step}} of {{count}}{% endblocktrans %} {% if description %}- {{ description }}{% endif %}
{% block form_alert %}