Assembly: Small language tweaks by @chennes

This commit is contained in:
PaddleStroke
2024-02-12 17:41:16 +01:00
parent 926490adce
commit ead9f41541
2 changed files with 1 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ class CommandCreateAssembly:
"Accel": "A",
"ToolTip": QT_TRANSLATE_NOOP(
"Assembly_CreateAssembly",
"Create an assembly object in the current document or if in the current active assembly if any. One root assembly per file max.",
"Create an assembly object in the current document, or in the current active assembly (if any). Limit of one root assembly per file.",
),
"CmdType": "ForEdit",
}

View File

@@ -56,7 +56,6 @@ class AssemblyWorkbench(Workbench):
self.__class__.ToolTip = "Assembly workbench"
def Initialize(self):
print("Initializing Assembly workbench...")
global AssemblyCommandGroup
translate = FreeCAD.Qt.translate
@@ -104,8 +103,6 @@ class AssemblyWorkbench(Workbench):
cmdList + cmdListMenuOnly + ["Separator"] + cmdListJoints,
)
print("Assembly workbench loaded")
def Activated(self):
# update the translation engine
FreeCADGui.updateLocale()