From 652c0fb752b73fd8a3f5c72635dfe73b9ff46eb7 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Sun, 3 Dec 2023 21:31:46 +0100 Subject: [PATCH] Draft: menu texts to sentence case --- src/Mod/Draft/draftguitools/gui_draft2sketch.py | 2 +- src/Mod/Draft/draftguitools/gui_groups.py | 2 +- src/Mod/Draft/draftguitools/gui_patharray.py | 2 +- src/Mod/Draft/draftguitools/gui_pathtwistedarray.py | 2 +- src/Mod/Draft/draftguitools/gui_pointarray.py | 2 +- src/Mod/Draft/draftguitools/gui_selectplane.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mod/Draft/draftguitools/gui_draft2sketch.py b/src/Mod/Draft/draftguitools/gui_draft2sketch.py index 9804531f5f..c174cf877d 100644 --- a/src/Mod/Draft/draftguitools/gui_draft2sketch.py +++ b/src/Mod/Draft/draftguitools/gui_draft2sketch.py @@ -54,7 +54,7 @@ class Draft2Sketch(gui_base_original.Modifier): """Set icon, menu and tooltip.""" return {'Pixmap': 'Draft_Draft2Sketch', - 'MenuText': QT_TRANSLATE_NOOP("Draft_Draft2Sketch", "Draft to Sketch"), + 'MenuText': QT_TRANSLATE_NOOP("Draft_Draft2Sketch", "Draft to sketch"), 'ToolTip': QT_TRANSLATE_NOOP("Draft_Draft2Sketch", "Convert bidirectionally between Draft objects and Sketches.\nMany Draft objects will be converted into a single non-constrained Sketch.\nHowever, a single sketch with disconnected traces will be converted into several individual Draft objects.")} def Activated(self): diff --git a/src/Mod/Draft/draftguitools/gui_groups.py b/src/Mod/Draft/draftguitools/gui_groups.py index 09bafdc624..7ddab2d989 100644 --- a/src/Mod/Draft/draftguitools/gui_groups.py +++ b/src/Mod/Draft/draftguitools/gui_groups.py @@ -306,7 +306,7 @@ class AddToConstruction(gui_base.GuiCommandNeedsSelection): def GetResources(self): """Set icon, menu and tooltip.""" return {'Pixmap': 'Draft_AddConstruction', - 'MenuText': QT_TRANSLATE_NOOP("Draft_AddConstruction", "Add to Construction group"), + 'MenuText': QT_TRANSLATE_NOOP("Draft_AddConstruction", "Add to construction group"), 'ToolTip': QT_TRANSLATE_NOOP("Draft_AddConstruction", "Adds the selected objects to the construction group,\nand changes their appearance to the construction style.\nIt creates a construction group if it doesn't exist.")} def Activated(self): diff --git a/src/Mod/Draft/draftguitools/gui_patharray.py b/src/Mod/Draft/draftguitools/gui_patharray.py index 119b5ddc94..27c8dfab5a 100644 --- a/src/Mod/Draft/draftguitools/gui_patharray.py +++ b/src/Mod/Draft/draftguitools/gui_patharray.py @@ -164,7 +164,7 @@ class PathLinkArray(PathArray): """Set icon, menu and tooltip.""" return {'Pixmap': 'Draft_PathLinkArray', - 'MenuText': QT_TRANSLATE_NOOP("Draft_PathLinkArray", "Path Link array"), + 'MenuText': QT_TRANSLATE_NOOP("Draft_PathLinkArray", "Path link array"), 'ToolTip': QT_TRANSLATE_NOOP("Draft_PathLinkArray", "Like the PathArray tool, but creates a 'Link array' instead.\nA 'Link array' is more efficient when handling many copies but the 'Fuse' option cannot be used.")} def Activated(self): diff --git a/src/Mod/Draft/draftguitools/gui_pathtwistedarray.py b/src/Mod/Draft/draftguitools/gui_pathtwistedarray.py index 76555cd6b0..836837c64a 100644 --- a/src/Mod/Draft/draftguitools/gui_pathtwistedarray.py +++ b/src/Mod/Draft/draftguitools/gui_pathtwistedarray.py @@ -118,7 +118,7 @@ class PathTwistedLinkArray(PathTwistedArray): """Set icon, menu and tooltip.""" return {'Pixmap': 'Draft_PathTwistedLinkArray', - 'MenuText': QT_TRANSLATE_NOOP("Draft_PathTwistedLinkArray","Path twisted Link array"), + 'MenuText': QT_TRANSLATE_NOOP("Draft_PathTwistedLinkArray","Path twisted link array"), 'ToolTip': QT_TRANSLATE_NOOP("Draft_PathTwistedLinkArray","Like the PathTwistedArray tool, but creates a 'Link array' instead.\nA 'Link array' is more efficient when handling many copies but the 'Fuse' option cannot be used.")} def Activated(self): diff --git a/src/Mod/Draft/draftguitools/gui_pointarray.py b/src/Mod/Draft/draftguitools/gui_pointarray.py index 25539696fe..cd6ea2ef97 100644 --- a/src/Mod/Draft/draftguitools/gui_pointarray.py +++ b/src/Mod/Draft/draftguitools/gui_pointarray.py @@ -129,7 +129,7 @@ class PointLinkArray(PointArray): """Set icon, menu and tooltip.""" return {'Pixmap': 'Draft_PointLinkArray', - 'MenuText': QT_TRANSLATE_NOOP("Draft_PointLinkArray", "PointLinkArray"), + 'MenuText': QT_TRANSLATE_NOOP("Draft_PointLinkArray", "Point link array"), 'ToolTip': QT_TRANSLATE_NOOP("Draft_PointLinkArray", "Like the PointArray tool, but creates a 'Point link array' instead.\nA 'Point link array' is more efficient when handling many copies.")} def Activated(self): diff --git a/src/Mod/Draft/draftguitools/gui_selectplane.py b/src/Mod/Draft/draftguitools/gui_selectplane.py index 651029f04c..6966946fec 100644 --- a/src/Mod/Draft/draftguitools/gui_selectplane.py +++ b/src/Mod/Draft/draftguitools/gui_selectplane.py @@ -56,7 +56,7 @@ class Draft_SelectPlane: """Set icon, menu and tooltip.""" return {"Pixmap": "Draft_SelectPlane", "Accel": "W, P", - "MenuText": QT_TRANSLATE_NOOP("Draft_SelectPlane", "Select Plane"), + "MenuText": QT_TRANSLATE_NOOP("Draft_SelectPlane", "Select plane"), "ToolTip": QT_TRANSLATE_NOOP("Draft_SelectPlane", "Select 3 vertices, one or more shapes or an object to define a working plane.")} def IsActive(self):