From 38a47bb2a86cedf2a5b2a84a36da532a28bf924c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 11 Mar 2016 18:06:14 +0100 Subject: [PATCH] Change wording: not firmware error, but communication error "Error:" lines can also be produced by OctoPrint itself in case of serial exceptions or connection failures, so "the firmware reported" was misleading. --- src/octoprint/static/js/app/dataupdater.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/octoprint/static/js/app/dataupdater.js b/src/octoprint/static/js/app/dataupdater.js index a62295be..643164cb 100644 --- a/src/octoprint/static/js/app/dataupdater.js +++ b/src/octoprint/static/js/app/dataupdater.js @@ -347,16 +347,16 @@ function DataUpdater(allViewModels) { } else if (type == "PrintCancelled") { if (payload.firmwareError) { new PNotify({ - title: gettext("Unhandled firmware error"), - text: _.sprintf(gettext("The firmware reported an unhandled error. Due to that the ongoing print job was cancelled. Error: %(firmwareError)s"), payload), + title: gettext("Unhandled communication error"), + text: _.sprintf(gettext("There was an unhandled error while talking to the printer. Due to that the ongoing print job was cancelled. Error: %(firmwareError)s"), payload), type: "error", hide: false }); } } else if (type == "Error") { new PNotify({ - title: gettext("Unhandled firmware error"), - text: _.sprintf(gettext("The firmware reported an unhandled error. Due to that OctoPrint disconnected. Error: %(error)s"), payload), + title: gettext("Unhandled communication error"), + text: _.sprintf(gettext("The was an unhandled error while talking to the printer. Due to that OctoPrint disconnected. Error: %(error)s"), payload), type: "error", hide: false });