From 010e7fc45fb9ca39a1b3e2b3a4352c781a64cea2 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Mon, 15 Sep 2025 19:12:58 +0200 Subject: [PATCH] Sketcher: Change "By control points" and "By knots" texts (#23943) * Sketcher: Change "By control points" and "By knots" texts Elsewhere in the Sketcher GUI texts, "By" has been replaced by "From". For example "Arc From Center". It makes sense to also do that for the B-spline modes "By control points" and "By knots". * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- src/Mod/Sketcher/Gui/DrawSketchHandlerBSpline.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Sketcher/Gui/DrawSketchHandlerBSpline.h b/src/Mod/Sketcher/Gui/DrawSketchHandlerBSpline.h index 918419574f..4dcaf25c11 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchHandlerBSpline.h +++ b/src/Mod/Sketcher/Gui/DrawSketchHandlerBSpline.h @@ -907,8 +907,9 @@ void DSHBSplineController::configureToolWidget() toolWidget->setNoticeText( QApplication::translate("TaskSketcherTool_c1_bspline", "Press F to undo last point.")); - QStringList names = {QApplication::translate("Sketcher_CreateBSpline", "By control points"), - QApplication::translate("Sketcher_CreateBSpline", "By knots")}; + QStringList names = { + QApplication::translate("Sketcher_CreateBSpline", "From control points"), + QApplication::translate("Sketcher_CreateBSpline", "From knots")}; toolWidget->setComboboxElements(WCombobox::FirstCombo, names); toolWidget->setCheckboxLabel(