From 4e5bd672910a3b9936c40bb41a773e94ae5f522b Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Sun, 23 Feb 2025 15:34:47 +0100 Subject: [PATCH] Assembly: Make 2 menu texts more consistent Menu texts in the Assembly WB are in title case without articles. The following menu texts did not follow that 'standard': * Insert a new part * Create a Fixed Joint --- src/Mod/Assembly/CommandCreateJoint.py | 2 +- src/Mod/Assembly/CommandInsertNewPart.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Assembly/CommandCreateJoint.py b/src/Mod/Assembly/CommandCreateJoint.py index 3360813a3b..29428a9c16 100644 --- a/src/Mod/Assembly/CommandCreateJoint.py +++ b/src/Mod/Assembly/CommandCreateJoint.py @@ -73,7 +73,7 @@ class CommandCreateJointFixed: "Pixmap": "Assembly_CreateJointFixed", "MenuText": QT_TRANSLATE_NOOP( "Assembly_CreateJointFixed", - "Create a Fixed Joint", + "Create Fixed Joint", ), "Accel": "F", "ToolTip": "

" diff --git a/src/Mod/Assembly/CommandInsertNewPart.py b/src/Mod/Assembly/CommandInsertNewPart.py index 29828a4234..c802fe3e68 100644 --- a/src/Mod/Assembly/CommandInsertNewPart.py +++ b/src/Mod/Assembly/CommandInsertNewPart.py @@ -51,7 +51,7 @@ class CommandInsertNewPart: def GetResources(self): return { "Pixmap": "Geofeaturegroup", - "MenuText": QT_TRANSLATE_NOOP("Assembly_InsertNewPart", "Insert a new part"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_InsertNewPart", "Insert New Part"), "Accel": "P", "ToolTip": "

" + QT_TRANSLATE_NOOP(