From 2a043d4be9efa2306f778780d263b3cdba8fffd8 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Fri, 28 Jan 2022 11:10:12 +0100 Subject: [PATCH] Update gui_orthoarray.py --- src/Mod/Draft/draftguitools/gui_orthoarray.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Draft/draftguitools/gui_orthoarray.py b/src/Mod/Draft/draftguitools/gui_orthoarray.py index fbbb3ef17d..29a5f536a9 100644 --- a/src/Mod/Draft/draftguitools/gui_orthoarray.py +++ b/src/Mod/Draft/draftguitools/gui_orthoarray.py @@ -61,9 +61,9 @@ class OrthoArray(gui_base.GuiCommandBase): def GetResources(self): """Set icon, menu and tooltip.""" - return {'Pixmap': 'Draft_Array', - 'MenuText': QT_TRANSLATE_NOOP('Draft_OrthoArray', 'Array'), - 'ToolTip': QT_TRANSLATE_NOOP('Draft_OrthoArray', 'Creates copies of the selected object, and places the copies in an orthogonal pattern,\nmeaning the copies follow the specified direction in the X, Y, Z axes.\n\nThe array can be turned into a polar or a circular array by changing its type.')} + return {"Pixmap": "Draft_Array", + "MenuText": QT_TRANSLATE_NOOP("Draft_OrthoArray", "Array"), + "ToolTip": QT_TRANSLATE_NOOP("Draft_OrthoArray", "Creates copies of the selected object, and places the copies in an orthogonal pattern,\nmeaning the copies follow the specified direction in the X, Y, Z axes.\n\nThe array can be turned into a polar or a circular array by changing its type.")} def Activated(self): """Execute when the command is called.