From 52de4cba9a58e54eaeda0bfc056f0ab382151cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 4 Oct 2016 12:27:40 +0200 Subject: [PATCH] Uniform labeling in extended file info Either "Like This" or "Like this", not both. --- src/octoprint/static/js/app/viewmodels/files.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/static/js/app/viewmodels/files.js b/src/octoprint/static/js/app/viewmodels/files.js index fdf30430..094763e4 100644 --- a/src/octoprint/static/js/app/viewmodels/files.js +++ b/src/octoprint/static/js/app/viewmodels/files.js @@ -595,7 +595,7 @@ $(function() { if (data["gcodeAnalysis"]) { if (data["gcodeAnalysis"]["dimensions"]) { var dimensions = data["gcodeAnalysis"]["dimensions"]; - output += gettext("Model Size") + ": " + _.sprintf("%(width).2fmm × %(depth).2fmm × %(height).2fmm", dimensions); + output += gettext("Model size") + ": " + _.sprintf("%(width).2fmm × %(depth).2fmm × %(height).2fmm", dimensions); output += "
"; } if (data["gcodeAnalysis"]["filament"] && typeof(data["gcodeAnalysis"]["filament"]) == "object") { @@ -615,7 +615,7 @@ $(function() { if (data["prints"] && data["prints"]["last"]) { output += gettext("Last printed") + ": " + formatTimeAgo(data["prints"]["last"]["date"]) + "
"; if (data["prints"]["last"]["printTime"]) { - output += gettext("Last Print Time") + ": " + formatDuration(data["prints"]["last"]["printTime"]); + output += gettext("Last print time") + ": " + formatDuration(data["prints"]["last"]["printTime"]); } } return output;