Merge pull request #9486 from chennes/pathTranslations20230505
Path: Minor translation fixes part 2
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
<item row="2" column="1">
|
||||
<widget class="QDoubleSpinBox" name="dsbAngle">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Plunge angle for the holding tags ascent and descent.</p></body></html></string>
|
||||
<string><html><head/><body><p>Plunge angle for ascent and descent of holding tag.</p></body></html></string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<double>5.000000000000000</double>
|
||||
|
||||
@@ -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."
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user