Merge pull request #9486 from chennes/pathTranslations20230505

Path: Minor translation fixes part 2
This commit is contained in:
Chris Hennes
2023-05-06 11:25:12 -05:00
committed by GitHub
13 changed files with 20 additions and 20 deletions

View File

@@ -58,7 +58,7 @@
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="dsbAngle">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Plunge angle for the holding tags ascent and descent.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Plunge angle for ascent and descent of holding tag.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="minimum">
<double>5.000000000000000</double>

View File

@@ -142,7 +142,7 @@ class SetupSheet:
"OperationHeights",
QT_TRANSLATE_NOOP(
"App::Property",
"The usage of this field depends on SafeHeightExpression - by default its value is added to StartDepth and used for SafeHeight of an operation.",
"The usage of this field depends on SafeHeightExpression - by default its value is added to the start depth and used for the safe height of an operation.",
),
)
obj.addProperty(
@@ -150,7 +150,7 @@ class SetupSheet:
"SafeHeightExpression",
"OperationHeights",
QT_TRANSLATE_NOOP(
"App::Property", "Expression set for the SafeHeight of new operations."
"App::Property", "Expression for the safe height of new operations."
),
)
obj.addProperty(
@@ -159,7 +159,7 @@ class SetupSheet:
"OperationHeights",
QT_TRANSLATE_NOOP(
"App::Property",
"The usage of this field depends on ClearanceHeightExpression - by default is value is added to StartDepth and used for ClearanceHeight of an operation.",
"The usage of this field depends on ClearanceHeightExpression - by default is value is added to the start depth and used for the clearance height of an operation.",
),
)
obj.addProperty(
@@ -168,7 +168,7 @@ class SetupSheet:
"OperationHeights",
QT_TRANSLATE_NOOP(
"App::Property",
"Expression set for the ClearanceHeight of new operations.",
"Expression for the clearance height of new operations.",
),
)
obj.addProperty(
@@ -176,7 +176,7 @@ class SetupSheet:
"StartDepthExpression",
"OperationDepths",
QT_TRANSLATE_NOOP(
"App::Property", "Expression used for StartDepth of new operations."
"App::Property", "Expression used for the start depth of new operations."
),
)
obj.addProperty(
@@ -184,7 +184,7 @@ class SetupSheet:
"FinalDepthExpression",
"OperationDepths",
QT_TRANSLATE_NOOP(
"App::Property", "Expression used for FinalDepth of new operations."
"App::Property", "Expression used for the final depth of new operations."
),
)
obj.addProperty(
@@ -192,7 +192,7 @@ class SetupSheet:
"StepDownExpression",
"OperationDepths",
QT_TRANSLATE_NOOP(
"App::Property", "Expression used for StepDown of new operations."
"App::Property", "Expression used for step down of new operations."
),
)

View File

@@ -245,7 +245,7 @@ class Proxy(object):
"Custom",
"Dressup",
QT_TRANSLATE_NOOP(
"App::Property", "Dressup length if Incision == Incision.Custom"
"App::Property", "Dressup length if incision is set to 'custom'"
),
)
obj.Custom = 0.0

View File

@@ -263,7 +263,7 @@ class CommandPathDressupPathBoundary:
"MenuText": QT_TRANSLATE_NOOP("Path_DressupPathBoundary", "Boundary"),
"ToolTip": QT_TRANSLATE_NOOP(
"Path_DressupPathBoundary",
"Creates a Path Boundary Dress-up object from a selected path",
"Creates a Path Boundary Dress-up from a selected path",
),
}

View File

@@ -460,7 +460,7 @@ class ObjectDressup(object):
"App::PropertyFloat",
"Custom",
"Dressup",
QT_TRANSLATE_NOOP("App::Property", "Dressup length if Incision == custom"),
QT_TRANSLATE_NOOP("App::Property", "Dressup length if incision is set to 'custom'"),
)
obj.Custom = 0.0
obj.Proxy = self

View File

@@ -152,7 +152,7 @@ class CommandPathFixture:
"Pixmap": "Path_Datums",
"MenuText": QT_TRANSLATE_NOOP("Path_Fixture", "Fixture"),
"ToolTip": QT_TRANSLATE_NOOP(
"Path_Fixture", "Creates a Fixture Offset object"
"Path_Fixture", "Creates a Fixture Offset"
),
}

View File

@@ -56,7 +56,7 @@ class CommandJobCreate:
"Pixmap": "Path_Job",
"MenuText": QT_TRANSLATE_NOOP("Path_Job", "Job"),
"Accel": "P, J",
"ToolTip": QT_TRANSLATE_NOOP("Path_Job", "Creates a Path Job object"),
"ToolTip": QT_TRANSLATE_NOOP("Path_Job", "Creates a Path Job"),
}
def IsActive(self):

View File

@@ -119,7 +119,7 @@ class ObjectOp(PathOp.ObjectOp):
)
else:
Path.Log.warning(
translate("PathAreaOp", "no job for op %s found.") % obj.Label
translate("PathAreaOp", "no job for operation %s found.") % obj.Label
)
return None

View File

@@ -189,7 +189,7 @@ Command = PathOpGui.SetupOperation(
QtCore.QT_TRANSLATE_NOOP("Path_Drilling", "Drilling"),
QtCore.QT_TRANSLATE_NOOP(
"Path_Drilling",
"Creates a Path Drilling object from a features of a base object",
"Creates a Path Drilling object from the features of a base object",
),
PathDrilling.SetupProperties,
)

View File

@@ -111,7 +111,7 @@ Command = PathOpGui.SetupOperation(
"Path_Helix",
QT_TRANSLATE_NOOP("Path_Helix", "Helix"),
QT_TRANSLATE_NOOP(
"Path_Helix", "Creates a Path Helix object from a features of a base object"
"Path_Helix", "Creates a Path Helix from the features of a base object"
),
PathHelix.SetupProperties,
)

View File

@@ -56,7 +56,7 @@ Command = PathOpGui.SetupOperation(
"Path_3DPocket",
QT_TRANSLATE_NOOP("Path_Pocket3D", "3D Pocket"),
QT_TRANSLATE_NOOP(
"Path_Pocket3D", "Creates a Path 3D Pocket object from a face or faces"
"Path_Pocket3D", "Creates a Path 3D Pocket from a face or faces"
),
PathPocket.SetupProperties,
)

View File

@@ -339,14 +339,14 @@ class ObjectVcarve(PathEngraveBase.ObjectOp):
Path.Log.error(
translate(
"Path_Vcarve",
"VCarve requires an engraving cutter with CuttingEdgeAngle",
"VCarve requires an engraving cutter with a cutting edge angle",
)
)
if obj.ToolController.Tool.CuttingEdgeAngle >= 180.0:
Path.Log.error(
translate(
"Path_Vcarve", "Engraver Cutting Edge Angle must be < 180 degrees."
"Path_Vcarve", "Engraver cutting edge angle must be < 180 degrees."
)
)
return

View File

@@ -59,7 +59,7 @@ class _CommandSelectLoop:
"MenuText": QT_TRANSLATE_NOOP("Path_SelectLoop", "Finish Selecting Loop"),
"Accel": "P, L",
"ToolTip": QT_TRANSLATE_NOOP(
"Path_SelectLoop", "Complete loop selection from two edges"
"Path_SelectLoop", "Complete the selection of edges that form a loop"
),
"CmdType": "ForEdit",
}