From 586b2e6aa7b8b3d4ce56c3bbfee020f7ee53c546 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Fri, 19 Feb 2021 17:50:56 -0600 Subject: [PATCH] add back translation string --- src/Mod/Path/PathScripts/post/gcode_pre.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/post/gcode_pre.py b/src/Mod/Path/PathScripts/post/gcode_pre.py index 3110b892b8..e3e2303b3f 100644 --- a/src/Mod/Path/PathScripts/post/gcode_pre.py +++ b/src/Mod/Path/PathScripts/post/gcode_pre.py @@ -50,6 +50,7 @@ import re import PathScripts.PathCustom as PathCustom import PathScripts.PathCustomGui as PathCustomGui import PathScripts.PathOpGui as PathOpGui +from PySide import QtCore # LEVEL = PathLog.Level.DEBUG LEVEL = PathLog.Level.INFO @@ -114,7 +115,8 @@ def insert(filename, docname): obj = PathCustom.Create("Custom") res = PathOpGui.CommandResources('Custom', PathCustom.Create, PathCustomGui.TaskPanelOpPage, - 'Path_Custom', 'Custom', '', '') + 'Path_Custom', + QtCore.QT_TRANSLATE_NOOP('Path_Custom', 'Custom'), '', '') obj.ViewObject.Proxy = PathOpGui.ViewProvider(obj.ViewObject, res) obj.ViewObject.Proxy.setDeleteObjectsOnReject(False)