From 3aca55205ec5b41ec81c22340d718d78799ad02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 12 Sep 2014 12:39:33 +0200 Subject: [PATCH] Fixed a bug that crept in during adding i18n support and made gcode viewer slides stop working --- src/octoprint/static/js/app/viewmodels/gcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/static/js/app/viewmodels/gcode.js b/src/octoprint/static/js/app/viewmodels/gcode.js index bcfd9024..b7396d32 100644 --- a/src/octoprint/static/js/app/viewmodels/gcode.js +++ b/src/octoprint/static/js/app/viewmodels/gcode.js @@ -332,7 +332,7 @@ function GcodeViewModel(loginStateViewModel, settingsViewModel) { } output.push(gettext("Estimated print time") + ": " + formatDuration(model.printTime)); output.push(gettext("Estimated layer height") + ": " + model.layerHeight.toFixed(2) + gettext("mm")); - output.push(gettext("Layer count") + ": " + model.layersPrinted.toFixed(0) + " " + gettext(printed) + ", " + model.layersTotal.toFixed(0) + " " + gettext("visited")); + output.push(gettext("Layer count") + ": " + model.layersPrinted.toFixed(0) + " " + gettext("printed") + ", " + model.layersTotal.toFixed(0) + " " + gettext("visited")); self.ui_modelInfo(output.join("
"));