diff --git a/src/octoprint/plugins/tracking/static/js/usage.js b/src/octoprint/plugins/tracking/static/js/usage.js index 40cfc762b..1a8517313 100644 --- a/src/octoprint/plugins/tracking/static/js/usage.js +++ b/src/octoprint/plugins/tracking/static/js/usage.js @@ -79,13 +79,13 @@ $(function() { self.setup(true); self.active(false); - var message = "Please open a " + + var message = gettext("Please open a " + "bug report on this. Make sure to include all requested information, including your " + "JS console and " + - "octoprint.log."; + "octoprint.log."); new PNotify({ title: gettext("Something went wrong"), - text: _.sprintf(gettext(message), {bugreport: "https://github.com/foosel/OctoPrint/blob/master/CONTRIBUTING.md#how-to-file-a-bug-report", jsconsole: "https://webmasters.stackexchange.com/a/77337"}), + text: _.sprintf(message, {bugreport: "https://github.com/foosel/OctoPrint/blob/master/CONTRIBUTING.md#how-to-file-a-bug-report", jsconsole: "https://webmasters.stackexchange.com/a/77337"}), type: "error", hide: false });