From 8acf417383058aca9585c938bd8c83cc4226fb41 Mon Sep 17 00:00:00 2001 From: Nicolai Nielsen Date: Mon, 3 Jun 2019 16:17:16 -0500 Subject: [PATCH] Removed extra curly brace in plugin install message during restore Fixed plugin install message for UI (never worked!) Fixed grammar in connectivity initial setup Added space at end of lines for several multiline messages --- src/octoprint/plugins/backup/static/js/backup.js | 4 ++-- .../corewizard/templates/corewizard_onlinecheck_wizard.jinja2 | 2 +- src/octoprint/plugins/pi_support/__init__.py | 2 +- src/octoprint/plugins/printer_safety_check/__init__.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/octoprint/plugins/backup/static/js/backup.js b/src/octoprint/plugins/backup/static/js/backup.js index 26929ec57..348860204 100644 --- a/src/octoprint/plugins/backup/static/js/backup.js +++ b/src/octoprint/plugins/backup/static/js/backup.js @@ -197,10 +197,10 @@ $(function() { self.loglines.push({line: " ", stream: "message"}); self.loglines.push({line: gettext("Restore successful! The server will now be restarted!"), stream: "message"}); self.restoreInProgress(false); - } else if (data.type === "install_plugin") { + } else if (data.type === "installing_plugin") { self.loglines.push({line: " ", stream: "message"}); self.loglines.push({ - line: _.sprintf(gettext("Installing plugin \"%(plugin)s}\"..."), {plugin: data.plugin.name}), + line: _.sprintf(gettext("Installing plugin \"%(plugin)s\"..."), {plugin: data.plugin}), stream: "message" }); } else if (data.type === "plugin_incompatible") { diff --git a/src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2 b/src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2 index fa4522cd0..98a4ea007 100644 --- a/src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2 +++ b/src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2 @@ -29,7 +29,7 @@

{% trans %} Finally, please decide on whether to enable or disable the connectivity check. You may change the configuration at - any time to a later date through Settings > Server right from within OctoPrint. + any time through Settings > Server right from within OctoPrint. {% endtrans %}

diff --git a/src/octoprint/plugins/pi_support/__init__.py b/src/octoprint/plugins/pi_support/__init__.py index 4c79b6151..7983c97c8 100644 --- a/src/octoprint/plugins/pi_support/__init__.py +++ b/src/octoprint/plugins/pi_support/__init__.py @@ -304,7 +304,7 @@ __plugin_name__ = "Pi Support Plugin" __plugin_author__ = "Gina Häußge" __plugin_description__ = "Provides additional information about your Pi in the UI." __plugin_disabling_discouraged__ = gettext("Without this plugin OctoPrint will no longer be able to " - "provide additional information about your Pi," + "provide additional information about your Pi, " "which will make it more tricky to help you if you need support.") __plugin_license__ = "AGPLv3" diff --git a/src/octoprint/plugins/printer_safety_check/__init__.py b/src/octoprint/plugins/printer_safety_check/__init__.py index f496dbbe0..b8802f8e6 100644 --- a/src/octoprint/plugins/printer_safety_check/__init__.py +++ b/src/octoprint/plugins/printer_safety_check/__init__.py @@ -177,7 +177,7 @@ __plugin_author__ = "Gina Häußge" __plugin_url__ = "http://docs.octoprint.org/en/master/bundledplugins/printer_safety_check.html" __plugin_description__ = "Checks for unsafe printers/printer firmwares" __plugin_disabling_discouraged__ = gettext("Without this plugin OctoPrint will no longer be able to " - "check if the printer it is connected to has a known safety" + "check if the printer it is connected to has a known safety " "issue and inform you about that fact.") __plugin_license__ = "AGPLv3" __plugin_implementation__ = PrinterSafetyCheckPlugin()