From 6d4f8266cd5957fdb736ecfdd3a0378379fd84da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 24 Nov 2017 13:46:38 +0100 Subject: [PATCH] Fix message for synchronous system commands We managed to swap those m( --- src/octoprint/static/js/app/viewmodels/system.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/static/js/app/viewmodels/system.js b/src/octoprint/static/js/app/viewmodels/system.js index 5021aa82..af1dbb87 100644 --- a/src/octoprint/static/js/app/viewmodels/system.js +++ b/src/octoprint/static/js/app/viewmodels/system.js @@ -49,9 +49,9 @@ $(function() { .done(function() { var text; if (commandSpec.async) { - text = gettext("The command \"%(command)s\" executed successfully"); - } else { text = gettext("The command \"%(command)s\" was triggered asynchronously"); + } else { + text = gettext("The command \"%(command)s\" executed successfully"); } new PNotify({