From e4c707b98948e695dd8431a5c11f8bbff55287d8 Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Tue, 2 Jul 2024 17:22:37 +0200 Subject: [PATCH] Sketcher: Rotate: correct the name of the checkbox --- src/Mod/Sketcher/Gui/DrawSketchHandlerRotate.h | 9 +++++---- src/Mod/Sketcher/Gui/DrawSketchHandlerTranslate.h | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/Mod/Sketcher/Gui/DrawSketchHandlerRotate.h b/src/Mod/Sketcher/Gui/DrawSketchHandlerRotate.h index 1232f4e722..68ec59f6a1 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchHandlerRotate.h +++ b/src/Mod/Sketcher/Gui/DrawSketchHandlerRotate.h @@ -474,14 +474,15 @@ void DSHRotateController::configureToolWidget() if (!init) { // Code to be executed only upon initialisation toolWidget->setCheckboxLabel( WCheckbox::FirstBox, - QApplication::translate("TaskSketcherTool_c1_offset", "Clone constraints")); + QApplication::translate("TaskSketcherTool_c1_offset", "Apply equal constraints")); toolWidget->setCheckboxToolTip( WCheckbox::FirstBox, QString::fromLatin1("

") + QApplication::translate("TaskSketcherTool_c1_offset", - "This concerns the datum constraints (e.g. distance)." - "If you activate Clone, the tool will copy the datum." - "Else it will try to replace them with equalities.") + "If this option is selected dimensional constraints are " + "excluded from the operation.\n" + "Instead equal constraints are applied between the " + "original objects and their copies.") + QString::fromLatin1("

")); } diff --git a/src/Mod/Sketcher/Gui/DrawSketchHandlerTranslate.h b/src/Mod/Sketcher/Gui/DrawSketchHandlerTranslate.h index d71fdfe4e1..be75aef6d3 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchHandlerTranslate.h +++ b/src/Mod/Sketcher/Gui/DrawSketchHandlerTranslate.h @@ -485,14 +485,14 @@ void DSHTranslateController::configureToolWidget() if (!init) { // Code to be executed only upon initialisation toolWidget->setCheckboxLabel( WCheckbox::FirstBox, - QApplication::translate("TaskSketcherTool_c1_translate", "Clone constraints")); + QApplication::translate("TaskSketcherTool_c1_translate", "Apply equal constraints")); toolWidget->setCheckboxToolTip( WCheckbox::FirstBox, - QApplication::translate( - "TaskSketcherTool_c1_translate", - "This concerns the datum constraints like distances. If you activate Clone, " - "then the tool will copy the datum. Else it will try to replace them with " - "equalities between the initial geometries and the new copies.")); + QApplication::translate("TaskSketcherTool_c1_translate", + "If this option is selected dimensional constraints are " + "excluded from the operation.\n" + "Instead equal constraints are applied between the original " + "objects and their copies.")); } onViewParameters[OnViewParameter::First]->setLabelType(Gui::SoDatumLabel::DISTANCEX);