Path: Misc. minor string cleanup

This commit is contained in:
Chris Hennes
2023-05-18 21:14:22 -05:00
parent 89214499d5
commit c78ed2829f
7 changed files with 10 additions and 12 deletions

View File

@@ -130,11 +130,9 @@ Any values of the SetupSheet that are changed from their default are preselected
<item row="3" column="0" colspan="2">
<widget class="QListWidget" name="settingsOpsList">
<property name="toolTip">
<string>Enable all Operations for which the configuration values should be exported.
<string>Enable all operations for which the configuration values should be exported.
&lt;br/&gt;
Note that only operations are listed which currently have configuration values setup.</string>
Note that only operations which currently have configuration values set are listed.</string>
</property>
</widget>
</item>

View File

@@ -159,7 +159,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Additional offset to the selected bounding box along the X axis."</string>
<string>Additional offset to the selected bounding box along the X axis.</string>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>
@@ -169,7 +169,7 @@
<item>
<widget class="Gui::InputField" name="boundBoxExtraOffsetY">
<property name="toolTip">
<string>Additional offset to the selected bounding box along the Y axis."</string>
<string>Additional offset to the selected bounding box along the Y axis.</string>
</property>
<property name="unit" stdset="0">
<string notr="true">mm</string>

View File

@@ -60,7 +60,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="toolTip">
<string>&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string></string>
</property>
<property name="text">
<string>Discretization Deflection</string>
@@ -102,7 +102,7 @@
<item row="1" column="1">
<widget class="QSpinBox" name="colinearFilter">
<property name="toolTip">
<string>Sets how aggressively colinear segments are filtered from the voronoi diagram. Valid values are 0 - 90 degrees (larger numbers filter more). Default = 10</string>
<string>Sets how aggressively colinear segments are filtered from the Voronoi diagram. Valid values are 0 - 90 degrees (larger numbers filter more). Default = 10</string>
</property>
<property name="maximum">
<number>90</number>

View File

@@ -1122,7 +1122,7 @@ Default: "OpStockZMax+SetupSheet.ClearanceHeightOffset"</string>
<property name="toolTip">
<string>ClearanceHeightOffset - can be used by expressions to set the default ClearanceHeight for new operations.
Default: "3 mm"</string>
Default: 3 mm</string>
</property>
</widget>
</item>

View File

@@ -128,7 +128,7 @@ Default: "OpStockZMax+SetupSheet.ClearanceHeightOffset"</string>
<property name="toolTip">
<string>ClearanceHeightOffset - can be used by expressions to set the default ClearanceHeight for new operations.
Default: "3 mm"</string>
Default: 3 mm</string>
</property>
</widget>
</item>

View File

@@ -54,7 +54,7 @@ def _getProperty(obj, prop):
if o == attr:
Path.Log.warning(
translate("PathGui", "%s has no property %s (%s))")
translate("PathGui", "%s has no property %s (%s)")
% (obj.Label, prop, name)
)
return (None, None, None)

View File

@@ -425,7 +425,7 @@ class CommandPathSanity:
machineLabel = translate("Path_Sanity", "Machine")
postLabel = translate("Path_Sanity", "Postprocessor")
flagsLabel = translate("Path_Sanity", "Post Processor Flags")
fileSizeLabel = translate("Path_Sanity", "File Size (kbs)")
fileSizeLabel = translate("Path_Sanity", "File Size (kb)")
lineCountLabel = translate("Path_Sanity", "Line Count")
outTable += "|*{}*|{}\n".format(gcodeFileLabel, d["lastgcodefile"])