GUI: Fix some translatable text (#24289)

This commit is contained in:
Chris Hennes
2025-09-28 03:47:16 -05:00
committed by GitHub
parent d712537638
commit 75c8749189
7 changed files with 12 additions and 12 deletions

View File

@@ -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;

View File

@@ -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">

View File

@@ -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>