Sketcher: Rotate: correct the name of the checkbox

This commit is contained in:
PaddleStroke
2024-07-02 17:22:37 +02:00
committed by Chris Hennes
parent e56f4a8c1a
commit e4c707b989
2 changed files with 11 additions and 10 deletions

View File

@@ -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("<p>")
+ 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("</p>"));
}

View File

@@ -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);