From 29773fa58624e4a1fc873f220bcb501564922897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 9 Mar 2022 14:36:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20pmgr:=20Made=20sth=20translateab?= =?UTF-8?q?le=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/pluginmanager/static/js/pluginmanager.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js index 18caf9831..65efd2101 100644 --- a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js +++ b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js @@ -237,10 +237,12 @@ $(function () { var pythonExts = createExtensionsHelp(self.supportedPythonExtensions()); return _.sprintf( - "This does not look like a valid plugin. Valid plugins should be " + - "either archives installable via pip that " + - "have the extension %(archiveExtensions)s, or single file python " + - "plugins with the extension %(pythonExtensions)s.", + gettext( + "This does not look like a valid plugin. Valid plugins should be " + + "either archives installable via pip that " + + "have the extension %(archiveExtensions)s, or single file python " + + "plugins with the extension %(pythonExtensions)s." + ), {archiveExtensions: archiveExts, pythonExtensions: pythonExts} ); });