Sketcher: improve GUI texts for rectangles

The texts for the modes were changed to match those of the line tool.
This commit is contained in:
Roy-043
2024-02-28 11:23:45 +01:00
committed by wwmayer
parent 6a3c689d40
commit 5cc566bb98

View File

@@ -1647,10 +1647,10 @@ template<>
void DSHRectangleController::configureToolWidget()
{
if (!init) { // Code to be executed only upon initialisation
QStringList names = {QStringLiteral("Corner, length & width"),
QStringLiteral("Center, length & width"),
QStringList names = {QStringLiteral("Corner, width, height"),
QStringLiteral("Center, width, height"),
QStringLiteral("3 corners"),
QStringLiteral("Center and 2 corners")};
QStringLiteral("Center, 2 corners")};
toolWidget->setComboboxElements(WCombobox::FirstCombo, names);
toolWidget->setCheckboxLabel(
@@ -1669,7 +1669,7 @@ void DSHRectangleController::configureToolWidget()
WCheckbox::SecondBox,
QApplication::translate(
"TaskSketcherTool_c2_rectangle",
"Create two rectangles, one in the other with a constant thickness."));
"Create two rectangles with a constant offset."));
syncCheckboxToHandler(WCheckbox::SecondBox, handler->makeFrame);
if (isConstructionMode()) {