From 2fa67707bd797df882b4ceabc3d44ab4b2d153e1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 7 Dec 2021 00:51:27 +0100 Subject: [PATCH] Add text --- InvenTree/part/templates/part/category_sidebar.html | 3 ++- InvenTree/part/templates/part/part_sidebar.html | 3 ++- InvenTree/templates/sidebar_toggle.html | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/templates/part/category_sidebar.html b/InvenTree/part/templates/part/category_sidebar.html index fe3f33b780..d18b30c9d8 100644 --- a/InvenTree/part/templates/part/category_sidebar.html +++ b/InvenTree/part/templates/part/category_sidebar.html @@ -4,7 +4,8 @@ {% settings_value 'PART_SHOW_IMPORT' as show_import %} -{% include "sidebar_toggle.html" with target="sidetree" %} +{% trans "Tree" as text %} +{% include "sidebar_toggle.html" with target="sidetree" text=text %} {% trans "Subcategories" as text %} diff --git a/InvenTree/part/templates/part/part_sidebar.html b/InvenTree/part/templates/part/part_sidebar.html index 2a24623b0b..c09d7412c6 100644 --- a/InvenTree/part/templates/part/part_sidebar.html +++ b/InvenTree/part/templates/part/part_sidebar.html @@ -5,7 +5,8 @@ {% settings_value "PART_INTERNAL_PRICE" as show_internal_price %} {% settings_value 'PART_SHOW_RELATED' as show_related %} -{% include "sidebar_toggle.html" with target="sidetree" %} +{% trans "Tree" as text %} +{% include "sidebar_toggle.html" with target="sidetree" text=text %} {% trans "Parameters" as text %} diff --git a/InvenTree/templates/sidebar_toggle.html b/InvenTree/templates/sidebar_toggle.html index 5da82866ba..669e375fe5 100644 --- a/InvenTree/templates/sidebar_toggle.html +++ b/InvenTree/templates/sidebar_toggle.html @@ -1,3 +1,4 @@