diff --git a/InvenTree/part/templates/part/bom_upload/upload_file.html b/InvenTree/part/templates/part/bom_upload/upload_file.html index ab3b245010..99340f6735 100644 --- a/InvenTree/part/templates/part/bom_upload/upload_file.html +++ b/InvenTree/part/templates/part/bom_upload/upload_file.html @@ -5,7 +5,7 @@ {% block sidebar %} {% url "part-detail" part.id as url %} -{% include "sidebar_link.html" with url=url text="Return to BOM" icon="fa-undo" %} +{% include "sidebar_link.html" with url=url text='{% trans "Return to BOM" %}' icon="fa-undo" %} {% endblock %} {% block heading %} diff --git a/InvenTree/part/templates/part/category_sidebar.html b/InvenTree/part/templates/part/category_sidebar.html index 96ffbd02ae..cfb9c848fb 100644 --- a/InvenTree/part/templates/part/category_sidebar.html +++ b/InvenTree/part/templates/part/category_sidebar.html @@ -8,7 +8,7 @@ {% include "sidebar_item.html" with label="parts" text='{% trans "Parts" %}' icon="fa-shapes" %} {% if show_import and user.is_staff and roles.part.add %} {% url "part-import" as url %} -{% include "sidebar_link.html" with url=url text="Import Parts" icon="fa-file-upload" %} +{% include "sidebar_link.html" with url=url text='{% trans "Import Parts" %}' icon="fa-file-upload" %} {% endif %} {% if category %} {% include "sidebar_item.html" with label="parameters" text='{% trans "Parameters" %}' icon="fa-tasks" %} diff --git a/InvenTree/part/templates/part/import_wizard/part_upload.html b/InvenTree/part/templates/part/import_wizard/part_upload.html index 1f69a3b7be..2dab5274dc 100644 --- a/InvenTree/part/templates/part/import_wizard/part_upload.html +++ b/InvenTree/part/templates/part/import_wizard/part_upload.html @@ -5,7 +5,7 @@ {% block sidebar %} {% url 'part-index' as url %} -{% include "sidebar_link.html" with url=url text="Return to Parts" icon="fa-undo" %} +{% include "sidebar_link.html" with url=url text='{% trans "Return to Parts" %}' icon="fa-undo" %} {% endblock %} {% block content %} diff --git a/InvenTree/templates/sidebar_link.html b/InvenTree/templates/sidebar_link.html index 6379c129c2..9323cf4af4 100644 --- a/InvenTree/templates/sidebar_link.html +++ b/InvenTree/templates/sidebar_link.html @@ -1,4 +1,4 @@ {% load i18n %} - +