diff --git a/src/octoprint/plugins/cura/__init__.py b/src/octoprint/plugins/cura/__init__.py index 6b1b7291..30de8874 100644 --- a/src/octoprint/plugins/cura/__init__.py +++ b/src/octoprint/plugins/cura/__init__.py @@ -35,6 +35,14 @@ class CuraPlugin(octoprint.plugin.SlicerPlugin, self._cancelled_jobs = [] self._job_mutex = threading.Lock() + ##~~ TemplatePlugin API + + def get_template_configs(self): + from flask.ext.babel import gettext + return [ + dict(type="settings", name=gettext("CuraEngine")) + ] + ##~~ StartupPlugin API def on_startup(self, host, port): diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index 39485acb..5a0da551 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -326,8 +326,9 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, ##~~ TemplatePlugin API def get_template_configs(self): + from flask.ext.babel import gettext return [ - dict(type="settings", name="Software Update") + dict(type="settings", name=gettext("Software Update")) ] #~~ Updater diff --git a/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js b/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js index 6cda6579..1e192fe8 100644 --- a/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js +++ b/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js @@ -148,7 +148,7 @@ $(function() { click: function() { self._markNotificationAsSeen(data.information); self._showPopup({ - text: gettext("You can make this message display again via \"Settings\" > \"SoftwareUpdate\" > \"Check for update now\"") + text: gettext("You can make this message display again via \"Settings\" > \"Software Update\" > \"Check for update now\"") }); } }, {