From f9593d237d8d5db8c0bb23bb56e14764571a5083 Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Mon, 26 Feb 2024 18:23:39 +0100 Subject: [PATCH] Assembly: Change 'Insert Link' name to 'Insert Component' Fixes #12165 --- src/Mod/Assembly/CommandInsertLink.py | 10 +++++----- .../Gui/Resources/panels/TaskAssemblyInsertLink.ui | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mod/Assembly/CommandInsertLink.py b/src/Mod/Assembly/CommandInsertLink.py index 097d9c37a9..71e7ce74f0 100644 --- a/src/Mod/Assembly/CommandInsertLink.py +++ b/src/Mod/Assembly/CommandInsertLink.py @@ -37,7 +37,7 @@ import CommandCreateJoint # translate = App.Qt.translate -__title__ = "Assembly Command Insert Link" +__title__ = "Assembly Command Insert Component" __author__ = "Ondsel" __url__ = "https://www.freecad.org" @@ -49,12 +49,12 @@ class CommandInsertLink: def GetResources(self): return { "Pixmap": "Assembly_InsertLink", - "MenuText": QT_TRANSLATE_NOOP("Assembly_InsertLink", "Insert Link"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_InsertLink", "Insert Component"), "Accel": "I", "ToolTip": "

" + QT_TRANSLATE_NOOP( "Assembly_InsertLink", - "Insert a Link into the currently active assembly. This will create dynamic links to parts/bodies/primitives/assemblies. To insert external objects, make sure that the file is open in the current session", + "Insert a component into the current active assembly. This will create dynamic links to parts, bodies, primitives, and assemblies. To insert external components, make sure that the file is open in the current session", ) + "

", "CmdType": "ForEdit", @@ -116,7 +116,7 @@ class TaskAssemblyInsertLink(QtCore.QObject): self.buildPartList() - App.setActiveTransaction("Insert Link") + App.setActiveTransaction("Insert Component") def accept(self): self.deactivated() diff --git a/src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyInsertLink.ui b/src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyInsertLink.ui index c29ba7ceee..1cc4a41ac1 100644 --- a/src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyInsertLink.ui +++ b/src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyInsertLink.ui @@ -11,7 +11,7 @@ - Insert Link + Insert Component