Merge pull request #15957 from hasecilu/fix/capitalization

TechDraw: Fix capitalization of 2D and 3D
This commit is contained in:
Max Wilfinger
2024-11-15 18:37:47 +01:00
committed by GitHub
28 changed files with 56 additions and 56 deletions

View File

@@ -2106,7 +2106,7 @@ void execExtent(Gui::Command* cmd, const std::string& dimType)
if (!ref.getSubName().empty()) {
QMessageBox::warning(Gui::getMainWindow(),
QObject::tr("Incorrect selection"),
QObject::tr("Selection contains both 2d and 3d geometry"));
QObject::tr("Selection contains both 2D and 3D geometry"));
return;
}
}
@@ -2131,7 +2131,7 @@ void execExtent(Gui::Command* cmd, const std::string& dimType)
if (geometryRefs2d == TechDraw::isInvalid) {
QMessageBox::warning(Gui::getMainWindow(),
QObject::tr("Incorrect Selection"),
QObject::tr("Can not make 2d extent dimension from selection"));
QObject::tr("Can not make 2D extent dimension from selection"));
return;
}
@@ -2146,7 +2146,7 @@ void execExtent(Gui::Command* cmd, const std::string& dimType)
if (geometryRefs3d == isInvalid) {
QMessageBox::warning(Gui::getMainWindow(),
QObject::tr("Incorrect Selection"),
QObject::tr("Can not make 3d extent dimension from selection"));
QObject::tr("Can not make 3D extent dimension from selection"));
return;
}
}

View File

@@ -81,7 +81,7 @@
<item row="11" column="0">
<widget class="Gui::PrefCheckBox" name="pcbMonochrome">
<property name="toolTip">
<string>If checked FreeCAD will use a single color for all text and lines.</string>
<string>If checked, FreeCAD will use a single color for all text and lines.</string>
</property>
<property name="text">
<string>Monochrome</string>

View File

@@ -847,10 +847,10 @@ for ProjectionGroups</string>
</font>
</property>
<property name="toolTip">
<string>If checked, the 3d camera direction (or normal of a selected face) will be used as the view direction. If not checked, Views will be created as Front Views.</string>
<string>If checked, the 3D camera direction (or normal of a selected face) will be used as the view direction. If not checked, Views will be created as Front Views.</string>
</property>
<property name="text">
<string>Use 3d Camera Direction</string>
<string>Use 3D Camera Direction</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>UseCameraDirection</cstring>

View File

@@ -96,7 +96,7 @@
<item row="5" column="0">
<widget class="QCheckBox" name="cbUse3d">
<property name="text">
<string>Use 3d Background</string>
<string>Use 3D Background</string>
</property>
<property name="autoExclusive">
<bool>true</bool>

View File

@@ -58,10 +58,10 @@
<item row="1" column="0">
<widget class="QRadioButton" name="rb2d1">
<property name="toolTip">
<string>Treat the center point as a 2d point within the parent View. Z coordinate is ignored.</string>
<string>Treat the center point as a 2D point within the parent View. Z coordinate is ignored.</string>
</property>
<property name="text">
<string>2d Point</string>
<string>2D Point</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -74,10 +74,10 @@
<item row="1" column="1">
<widget class="QRadioButton" name="rb3d1">
<property name="toolTip">
<string>Treat the center point as a 3d point and project it onto the parent View.</string>
<string>Treat the center point as a 3D point and project it onto the parent View.</string>
</property>
<property name="text">
<string>3d Point</string>
<string>3D Point</string>
</property>
<property name="autoExclusive">
<bool>true</bool>

View File

@@ -58,7 +58,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="rb2d1">
<property name="text">
<string>2d Point</string>
<string>2D Point</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -74,7 +74,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="rb3d1">
<property name="text">
<string>3d Point</string>
<string>3D Point</string>
</property>
<property name="autoExclusive">
<bool>true</bool>
@@ -137,7 +137,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="rb2d2">
<property name="text">
<string>2d Point</string>
<string>2D Point</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -153,7 +153,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="rb3d2">
<property name="text">
<string>3d Point</string>
<string>3D Point</string>
</property>
<property name="autoExclusive">
<bool>true</bool>

View File

@@ -134,7 +134,7 @@ by negative value of 'Over Tolerance'.</string>
<item row="1" column="0">
<widget class="QCheckBox" name="cbArbitrary">
<property name="toolTip">
<string>If checked the content of 'Format Spec' will
<string>If checked, the content of 'Format Spec' will
be used instead of the dimension value</string>
</property>
<property name="text">
@@ -173,7 +173,7 @@ be used instead of the dimension value</string>
<item row="4" column="0">
<widget class="QCheckBox" name="cbArbitraryTolerances">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If checked the content of tolerance format spec will&lt;/p&gt;&lt;p&gt;be used instead of the tolerance value&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If checked, the content of tolerance format spec will&lt;/p&gt;&lt;p&gt;be used instead of the tolerance value&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Arbitrary Tolerance Text</string>