Sketcher: Fix UI strings

Closes: #22770
This commit is contained in:
Max Wilfinger
2025-07-27 10:25:39 +02:00
committed by Kacper Donat
parent 862f1591a7
commit 8233dde058
5 changed files with 11 additions and 11 deletions

View File

@@ -436,7 +436,7 @@ CmdSketcherReorientSketch::CmdSketcherReorientSketch()
{
sAppModule = "Sketcher";
sGroup = "Sketcher";
sMenuText = QT_TR_NOOP("Reorient Sketch");
sMenuText = QT_TR_NOOP("Reorient Sketch");
sToolTipText = QT_TR_NOOP("Places the selected sketch on one of the global coordinate planes.\n"
"This will clear the AttachmentSupport property.");
sWhatsThis = "Sketcher_ReorientSketch";
@@ -573,7 +573,7 @@ CmdSketcherMapSketch::CmdSketcherMapSketch()
{
sAppModule = "Sketcher";
sGroup = "Sketcher";
sMenuText = QT_TR_NOOP("Attach Sketch");
sMenuText = QT_TR_NOOP("Attach Sketch");
sToolTipText = QT_TR_NOOP(
"Attaches a sketch to the selected geometry element");
sWhatsThis = "Sketcher_MapSketch";
@@ -829,7 +829,7 @@ CmdSketcherValidateSketch::CmdSketcherValidateSketch()
{
sAppModule = "Sketcher";
sGroup = "Sketcher";
sMenuText = QT_TR_NOOP("Validate Sketch");
sMenuText = QT_TR_NOOP("Validate Sketch");
sToolTipText = QT_TR_NOOP("Validates a sketch by checking for missing coincidences,\n"
"invalid constraints, and degenerate geometry");
sWhatsThis = "Sketcher_ValidateSketch";

View File

@@ -126,7 +126,7 @@ Requires to re-enter edit mode to take effect.</string>
<string>Allows to leave the sketch edit mode by pressing the Esc key</string>
</property>
<property name="text">
<string>Esc can leave sketch edit mode</string>
<string>Esc key can leave sketch edit mode</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -145,7 +145,7 @@ Requires to re-enter edit mode to take effect.</string>
<string>Notifies about automatic constraint substitutions</string>
</property>
<property name="text">
<string>Notify automatic constraint substitutions</string>
<string>Notify about automatic constraint substitutions</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -183,7 +183,7 @@ Requires to re-enter edit mode to take effect.</string>
<string>Unifies the horizontal and vertical constraints to an automatic command</string>
</property>
<property name="text">
<string>Auto tool for horizontal/vertical constraints</string>
<string>Unified tool for automatic horizontal/vertical constraints</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -221,7 +221,7 @@ Requires to re-enter edit mode to take effect.</string>
<string>Always adds external geometry as construction geometry. Otherwise, it is added according to the current construction mode.</string>
</property>
<property name="text">
<string>Always add external geometry as reference</string>
<string>Always add external geometry as construction</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@@ -41,7 +41,7 @@ using namespace Gui::TaskView;
namespace sp = std::placeholders;
TaskSketcherMessages::TaskSketcherMessages(ViewProviderSketch* sketchView)
: TaskBox(Gui::BitmapFactory().pixmap("Sketcher_Sketch"), tr("Solver messages"), true, nullptr)
: TaskBox(Gui::BitmapFactory().pixmap("Sketcher_Sketch"), tr("Solver Messages"), true, nullptr)
, sketchView(sketchView)
, ui(new Ui_TaskSketcherMessages)
{
@@ -96,7 +96,7 @@ TaskSketcherMessages::TaskSketcherMessages(ViewProviderSketch* sketchView)
sketchView->getSketchObject()->noRecomputes = !state;
QAction* action = new QAction(tr("Auto Update"), this);
QAction* action = new QAction(tr("Auto-update"), this);
action->setToolTip(tr("Executes a recomputation of active document after every sketch action"));
action->setCheckable(true);
action->setChecked(state);

View File

@@ -55,7 +55,7 @@ using namespace Gui::TaskView;
TaskSketcherSolverAdvanced::TaskSketcherSolverAdvanced(ViewProviderSketch* sketchView)
: TaskBox(Gui::BitmapFactory().pixmap("document-new"),
tr("Advanced solver control"),
tr("Advanced Solver Controls"),
true,
nullptr)
, sketchView(sketchView)

View File

@@ -619,7 +619,7 @@ Eigen Sparse QR algorithm is optimized for sparse matrices; usually faster</stri
</item>
<item>
<property name="text">
<string>Iteration Level</string>
<string>Iteration level</string>
</property>
</item>
</widget>