GUI: Fix some translatable text (#24289)
This commit is contained in:
@@ -1155,7 +1155,7 @@ void TreeWidget::contextMenuEvent(QContextMenuEvent* e)
|
||||
|
||||
QAction* action = new QAction(tr("Show Description"), this);
|
||||
QAction* internalNameAction = new QAction(tr("Show Internal Name"), this);
|
||||
action->setStatusTip(tr("Shows a description column for items. An item's description can be set by by editing the 'label2' property."));
|
||||
action->setStatusTip(tr("Shows a description column for items. An item's description can be set by editing the 'label2' property."));
|
||||
action->setCheckable(true);
|
||||
|
||||
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/TreeView");
|
||||
|
||||
@@ -5245,7 +5245,7 @@ CmdSketcherConstrainDistanceX::CmdSketcherConstrainDistanceX()
|
||||
sAppModule = "Sketcher";
|
||||
sGroup = "Sketcher";
|
||||
sMenuText = QT_TR_NOOP("Horizontal Dimension");
|
||||
sToolTipText = QT_TR_NOOP("Constrains the horizontal distance between two points, or from a point to the origin if one is selected");
|
||||
sToolTipText = QT_TR_NOOP("Constrains the horizontal distance between two points, or from a point to the origin if only one is selected");
|
||||
sWhatsThis = "Sketcher_ConstrainDistanceX";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_HorizontalDistance";
|
||||
@@ -8854,7 +8854,7 @@ CmdSketcherConstrainAngle::CmdSketcherConstrainAngle()
|
||||
sAppModule = "Sketcher";
|
||||
sGroup = "Sketcher";
|
||||
sMenuText = QT_TR_NOOP("Angle Dimension");
|
||||
sToolTipText = QT_TR_NOOP("Constrains the angle of the selected elements");
|
||||
sToolTipText = QT_TR_NOOP("Constrains the angle between two straight lines or between one line and the X-axis of the sketch if only one is selected");
|
||||
sWhatsThis = "Sketcher_ConstrainAngle";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_InternalAngle";
|
||||
|
||||
@@ -1523,7 +1523,7 @@ CmdSketcherCreateFillet::CmdSketcherCreateFillet()
|
||||
sAppModule = "Sketcher";
|
||||
sGroup = "Sketcher";
|
||||
sMenuText = QT_TR_NOOP("Fillet");
|
||||
sToolTipText = QT_TR_NOOP("Creates a fillet between 2 selected lines or 1 coincident point");
|
||||
sToolTipText = QT_TR_NOOP("Creates a fillet between 2 selected lines or at coincident points");
|
||||
sWhatsThis = "Sketcher_CreateFillet";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateFillet";
|
||||
@@ -1554,7 +1554,7 @@ CmdSketcherCreateChamfer::CmdSketcherCreateChamfer()
|
||||
sAppModule = "Sketcher";
|
||||
sGroup = "Sketcher";
|
||||
sMenuText = QT_TR_NOOP("Chamfer");
|
||||
sToolTipText = QT_TR_NOOP("Creates a chamfer between 2 selected lines or 1 coincident point");
|
||||
sToolTipText = QT_TR_NOOP("Creates a chamfer between 2 selected lines or at coincident points");
|
||||
sWhatsThis = "Sketcher_CreateChamfer";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateChamfer";
|
||||
|
||||
@@ -2323,7 +2323,7 @@ CmdSketcherOffset::CmdSketcherOffset()
|
||||
sAppModule = "Sketcher";
|
||||
sGroup = "Sketcher";
|
||||
sMenuText = QT_TR_NOOP("Offset");
|
||||
sToolTipText = QT_TR_NOOP("Offsets the selected geometry: positive values offset outward, negative values inward");
|
||||
sToolTipText = QT_TR_NOOP("Adds an equidistant closed contour around selected geometry: positive values offset outward, negative values inward");
|
||||
sWhatsThis = "Sketcher_Offset";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Offset";
|
||||
|
||||
@@ -1403,7 +1403,7 @@ void CmdTechDrawClipGroupAdd::activated(int iMsg)
|
||||
}
|
||||
if (!view) {
|
||||
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
|
||||
QObject::tr("Select exactly one view to add to group"));
|
||||
QObject::tr("Select exactly one view to add to clip group"));
|
||||
return;
|
||||
}
|
||||
if (!clip) {
|
||||
@@ -1470,7 +1470,7 @@ void CmdTechDrawClipGroupRemove::activated(int iMsg)
|
||||
auto dObj(getSelection().getObjectsOfType(TechDraw::DrawView::getClassTypeId()));
|
||||
if (dObj.empty()) {
|
||||
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
|
||||
QObject::tr("Select exactly one view to remove from group"));
|
||||
QObject::tr("Select exactly one view to remove from clip group"));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1868,7 +1868,7 @@ void CmdTechDrawExportPageDXF::activated(int iMsg)
|
||||
if (v->isDerivedFrom<TechDraw::DrawViewArch>()) {
|
||||
QMessageBox::StandardButton rc = QMessageBox::question(
|
||||
Gui::getMainWindow(), QObject::tr("Cannot export selection"),
|
||||
QObject::tr("Page contains DrawViewBIM which will not be exported. Continue?"),
|
||||
QObject::tr("Page contains a BIM view which will not be exported. Continue?"),
|
||||
QMessageBox::StandardButtons(QMessageBox::Yes | QMessageBox::No));
|
||||
if (rc == QMessageBox::No) {
|
||||
return;
|
||||
|
||||
@@ -697,7 +697,7 @@
|
||||
<property name="toolTip">
|
||||
<string>Shape of line end caps. The default (round) should almost
|
||||
always be the right choice. Flat or square caps are useful
|
||||
for using drawings a 1:1 cutting guide.
|
||||
for using drawings as a 1:1 cutting guide.
|
||||
</string>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Drawing Update</string>
|
||||
<string>Page Update</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
@@ -907,7 +907,7 @@ for ProjectionGroups</string>
|
||||
<item row="2" column="0">
|
||||
<widget class="Gui::PrefCheckBox" name="cb_SnapHighlights">
|
||||
<property name="toolTip">
|
||||
<string>Check this box if you want detail view highlights to snap to the nearest vertex when dragging in TaskDetail.</string>
|
||||
<string>Check this box if you want detail view highlights to snap to the nearest vertex when dragging.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Snap detail highlights</string>
|
||||
|
||||
Reference in New Issue
Block a user