Fix missing translations in task panel (#12738)

* Draft: Add missing translation to task panel

* PD: Add missing translation to task panel
This commit is contained in:
Chris Hennes
2024-03-11 12:10:42 -05:00
committed by GitHub
parent 703f7b563e
commit bf6a209c22
2 changed files with 4 additions and 1 deletions

View File

@@ -1607,7 +1607,7 @@ class DraftToolBar:
"Draft_Scale","Draft_Offset",
"Draft_Trimex","Draft_Upgrade",
"Draft_Downgrade","Draft_Edit"]
self.title = "Modify objects"
self.title = translate("draft", "Modify objects")
def shouldShow(self):
return (FreeCAD.ActiveDocument is not None) and (FreeCADGui.Selection.getSelection() != [])

View File

@@ -52,6 +52,9 @@ namespace sp = std::placeholders;
qApp->translate("Workbench", "Involute gear...");
qApp->translate("Workbench", "Shaft design wizard");
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Face tools");
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Edge tools");
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Start boolean");
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Start part");
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Sketch tools");
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Create Geometry");
//