Skip to content

Commit

Permalink
Sketcher: Rotate: correct the name of the checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
PaddleStroke authored and chennes committed Jul 17, 2024
1 parent e56f4a8 commit e4c707b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
9 changes: 5 additions & 4 deletions src/Mod/Sketcher/Gui/DrawSketchHandlerRotate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>"));
}

Expand Down
12 changes: 6 additions & 6 deletions src/Mod/Sketcher/Gui/DrawSketchHandlerTranslate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4c707b

Please sign in to comment.