diff --git a/src/Mod/Draft/InitGui.py b/src/Mod/Draft/InitGui.py index ee5431fd0b..7f014ea05c 100644 --- a/src/Mod/Draft/InitGui.py +++ b/src/Mod/Draft/InitGui.py @@ -100,19 +100,19 @@ class DraftWorkbench(FreeCADGui.Workbench): # Set up toolbars it.init_toolbar(self, - QT_TRANSLATE_NOOP("Workbench", "Draft creation tools"), + QT_TRANSLATE_NOOP("Workbench", "Draft Creation"), self.drawing_commands) it.init_toolbar(self, - QT_TRANSLATE_NOOP("Workbench", "Draft annotation tools"), + QT_TRANSLATE_NOOP("Workbench", "Draft Annotation"), self.annotation_commands) it.init_toolbar(self, - QT_TRANSLATE_NOOP("Workbench", "Draft modification tools"), + QT_TRANSLATE_NOOP("Workbench", "Draft Modification"), self.modification_commands) it.init_toolbar(self, - QT_TRANSLATE_NOOP("Workbench", "Draft utility tools"), + QT_TRANSLATE_NOOP("Workbench", "Draft Utility"), self.utility_commands_toolbar) it.init_toolbar(self, - QT_TRANSLATE_NOOP("Workbench", "Draft snap"), + QT_TRANSLATE_NOOP("Workbench", "Draft Snap"), it.get_draft_snap_commands()) # Set up menus diff --git a/src/Mod/Draft/draftguitools/gui_snapper.py b/src/Mod/Draft/draftguitools/gui_snapper.py index 03d5819c82..ed26763817 100644 --- a/src/Mod/Draft/draftguitools/gui_snapper.py +++ b/src/Mod/Draft/draftguitools/gui_snapper.py @@ -1499,7 +1499,7 @@ class Snapper: """Get the snap toolbar.""" if not (hasattr(self, "toolbar") and self.toolbar): mw = Gui.getMainWindow() - self.toolbar = mw.findChild(QtWidgets.QToolBar, "Draft snap") + self.toolbar = mw.findChild(QtWidgets.QToolBar, "Draft Snap") if self.toolbar: return self.toolbar diff --git a/src/Mod/Draft/draftutils/init_draft_statusbar.py b/src/Mod/Draft/draftutils/init_draft_statusbar.py index 1e5bd9a195..51ccf95139 100644 --- a/src/Mod/Draft/draftutils/init_draft_statusbar.py +++ b/src/Mod/Draft/draftutils/init_draft_statusbar.py @@ -238,7 +238,7 @@ def init_draft_statusbar_snap(): # check if the toolbar is available, without it the required actions # may be missing: - if mw.findChild(QtWidgets.QToolBar, "Draft snap") is None: + if mw.findChild(QtWidgets.QToolBar, "Draft Snap") is None: return # snap widget: