From 652f4aa7c445beeaa792477b8dd2f27447d494bd Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 2 Nov 2022 09:22:29 +1100 Subject: [PATCH] Translatable strings for plugins (#3893) --- InvenTree/templates/InvenTree/settings/sidebar.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/InvenTree/templates/InvenTree/settings/sidebar.html b/InvenTree/templates/InvenTree/settings/sidebar.html index 620c589359..f372224fc4 100644 --- a/InvenTree/templates/InvenTree/settings/sidebar.html +++ b/InvenTree/templates/InvenTree/settings/sidebar.html @@ -53,8 +53,10 @@ {% plugins_enabled as plug %} {% if plug %} -{% include "sidebar_header.html" with text="Plugin Settings" %} -{% include "sidebar_item.html" with label='plugin' text="Plugins" icon="fa-plug" %} +{% trans "Plugin Settings" as text %} +{% include "sidebar_header.html" with text=text %} +{% trans "Plugins" as text %} +{% include "sidebar_item.html" with label='plugin' text=text icon="fa-plug" %} {% plugin_list as pl_list %} {% for plugin_key, plugin in pl_list.items %}