From 9cae60a70f14167b4e41beae4ee2355e7262de69 Mon Sep 17 00:00:00 2001 From: Max Wilfinger Date: Thu, 28 Aug 2025 16:38:12 +0200 Subject: [PATCH] Update UI strings from Crowdin reports for consistency --- src/Base/CoordinateSystem.cpp | 8 ++--- src/Mod/CAM/Path/Dressup/Array.py | 14 ++++---- src/Mod/CAM/Path/Main/Stock.py | 12 +++---- src/Mod/CAM/Path/Op/Gui/Array.py | 4 +-- src/Mod/CAM/Path/Op/Probe.py | 4 +-- .../Resources/ui/TaskPanel_OrthoArray.ui | 4 +-- src/Mod/Draft/Resources/ui/TaskSelectPlane.ui | 4 +-- .../Resources/ui/preferences-draftsnap.ui | 2 +- src/Mod/Draft/draftobjects/array.py | 12 +++---- src/Mod/Draft/draftobjects/patharray.py | 2 +- src/Mod/Fem/App/FemConstraintDisplacement.cpp | 36 +++++++++---------- src/Mod/Fem/App/FemConstraintRigidBody.cpp | 12 +++---- .../Fem/femobjects/constraint_flowvelocity.py | 22 ++++++------ .../constraint_initialflowvelocity.py | 24 ++++++------- src/Mod/Fem/femobjects/result_mechanical.py | 6 ++-- src/Mod/Measure/App/MeasureDistance.cpp | 12 +++---- src/Mod/Part/App/AttachExtension.cpp | 4 +-- src/Mod/Part/App/FeatureScale.cpp | 6 ++-- .../AttachmentEditor/TaskAttachmentEditor.ui | 6 ++-- src/Mod/Part/Gui/DlgRevolution.ui | 6 ++-- src/Mod/PartDesign/App/FeaturePrimitive.cpp | 6 ++-- .../PartDesign/Gui/TaskPrimitiveParameters.ui | 4 +-- 22 files changed, 105 insertions(+), 105 deletions(-) diff --git a/src/Base/CoordinateSystem.cpp b/src/Base/CoordinateSystem.cpp index 87da260b6e..0ace367610 100644 --- a/src/Base/CoordinateSystem.cpp +++ b/src/Base/CoordinateSystem.cpp @@ -45,7 +45,7 @@ void CoordinateSystem::setAxes(const Axis& vec, const Vector3d& xd) } Vector3d yd = vec.getDirection() % xd; if (yd.Sqr() < Base::Vector3d::epsilon()) { - throw Base::ValueError("Direction is parallel to Z direction"); + throw Base::ValueError("Direction is parallel to Z-direction"); } ydir = yd; ydir.Normalize(); @@ -64,7 +64,7 @@ void CoordinateSystem::setAxes(const Vector3d& n, const Vector3d& xd) } Vector3d yd = n % xd; if (yd.Sqr() < Base::Vector3d::epsilon()) { - throw Base::ValueError("Direction is parallel to Z direction"); + throw Base::ValueError("Direction is parallel to Z-direction"); } ydir = yd; ydir.Normalize(); @@ -84,7 +84,7 @@ void CoordinateSystem::setXDirection(const Vector3d& dir) { Vector3d yd = axis.getDirection() % dir; if (yd.Sqr() < Base::Vector3d::epsilon()) { - throw Base::ValueError("Direction is parallel to Z direction"); + throw Base::ValueError("Direction is parallel to Z-direction"); } ydir = yd; ydir.Normalize(); @@ -96,7 +96,7 @@ void CoordinateSystem::setYDirection(const Vector3d& dir) { Vector3d xd = dir % axis.getDirection(); if (xd.Sqr() < Base::Vector3d::epsilon()) { - throw Base::ValueError("Direction is parallel to Z direction"); + throw Base::ValueError("Direction is parallel to Z-direction"); } xdir = xd; xdir.Normalize(); diff --git a/src/Mod/CAM/Path/Dressup/Array.py b/src/Mod/CAM/Path/Dressup/Array.py index 041ae04b56..9aa6dc78fe 100644 --- a/src/Mod/CAM/Path/Dressup/Array.py +++ b/src/Mod/CAM/Path/Dressup/Array.py @@ -53,7 +53,7 @@ class DressupArray: "Path", QT_TRANSLATE_NOOP( "App::Property", - "The spacing between the array copies in Linear pattern", + "The spacing between the array copies in linear pattern", ), ) obj.addProperty( @@ -61,7 +61,7 @@ class DressupArray: "CopiesX", "Path", QT_TRANSLATE_NOOP( - "App::Property", "The number of copies in X direction in Linear pattern" + "App::Property", "The number of copies in X-direction in linear pattern" ), ) obj.addProperty( @@ -69,28 +69,28 @@ class DressupArray: "CopiesY", "Path", QT_TRANSLATE_NOOP( - "App::Property", "The number of copies in Y direction in Linear pattern" + "App::Property", "The number of copies in Y-direction in linear pattern" ), ) obj.addProperty( "App::PropertyAngle", "Angle", "Path", - QT_TRANSLATE_NOOP("App::Property", "Total angle in Polar pattern"), + QT_TRANSLATE_NOOP("App::Property", "Total angle in polar pattern"), ) obj.addProperty( "App::PropertyInteger", "Copies", "Path", QT_TRANSLATE_NOOP( - "App::Property", "The number of copies in Linear 1D and Polar pattern" + "App::Property", "The number of copies in linear 1D and polar pattern" ), ) obj.addProperty( "App::PropertyVector", "Centre", "Path", - QT_TRANSLATE_NOOP("App::Property", "The centre of rotation in Polar pattern"), + QT_TRANSLATE_NOOP("App::Property", "The centre of rotation in polar pattern"), ) obj.addProperty( "App::PropertyBool", @@ -98,7 +98,7 @@ class DressupArray: "Path", QT_TRANSLATE_NOOP( "App::Property", - "Make copies in X direction before Y in Linear 2D pattern", + "Make copies in X-direction before Y in linear 2D pattern", ), ) obj.addProperty( diff --git a/src/Mod/CAM/Path/Main/Stock.py b/src/Mod/CAM/Path/Main/Stock.py index afbb5236ce..bf0293c82d 100644 --- a/src/Mod/CAM/Path/Main/Stock.py +++ b/src/Mod/CAM/Path/Main/Stock.py @@ -120,7 +120,7 @@ class StockFromBase(Stock): "Stock", QT_TRANSLATE_NOOP( "App::Property", - "Extra allowance from part bound box in negative X direction", + "Extra allowance from part bound box in negative X-direction", ), ) obj.addProperty( @@ -129,7 +129,7 @@ class StockFromBase(Stock): "Stock", QT_TRANSLATE_NOOP( "App::Property", - "Extra allowance from part bound box in positive X direction", + "Extra allowance from part bound box in positive X-direction", ), ) obj.addProperty( @@ -138,7 +138,7 @@ class StockFromBase(Stock): "Stock", QT_TRANSLATE_NOOP( "App::Property", - "Extra allowance from part bound box in negative Y direction", + "Extra allowance from part bound box in negative Y-direction", ), ) obj.addProperty( @@ -147,7 +147,7 @@ class StockFromBase(Stock): "Stock", QT_TRANSLATE_NOOP( "App::Property", - "Extra allowance from part bound box in positive Y direction", + "Extra allowance from part bound box in positive Y-direction", ), ) obj.addProperty( @@ -156,7 +156,7 @@ class StockFromBase(Stock): "Stock", QT_TRANSLATE_NOOP( "App::Property", - "Extra allowance from part bound box in negative Z direction", + "Extra allowance from part bound box in negative Z-direction", ), ) obj.addProperty( @@ -165,7 +165,7 @@ class StockFromBase(Stock): "Stock", QT_TRANSLATE_NOOP( "App::Property", - "Extra allowance from part bound box in positive Z direction", + "Extra allowance from part bound box in positive Z-direction", ), ) diff --git a/src/Mod/CAM/Path/Op/Gui/Array.py b/src/Mod/CAM/Path/Op/Gui/Array.py index b2a2441be5..07694b3039 100644 --- a/src/Mod/CAM/Path/Op/Gui/Array.py +++ b/src/Mod/CAM/Path/Op/Gui/Array.py @@ -66,7 +66,7 @@ class ObjectArray: "CopiesX", "Path", QT_TRANSLATE_NOOP( - "App::Property", "The number of copies in X direction in linear pattern" + "App::Property", "The number of copies in X-direction in linear pattern" ), ) obj.addProperty( @@ -74,7 +74,7 @@ class ObjectArray: "CopiesY", "Path", QT_TRANSLATE_NOOP( - "App::Property", "The number of copies in Y direction in linear pattern" + "App::Property", "The number of copies in Y-direction in linear pattern" ), ) obj.addProperty( diff --git a/src/Mod/CAM/Path/Op/Probe.py b/src/Mod/CAM/Path/Op/Probe.py index 4c894e2986..d1523f4473 100644 --- a/src/Mod/CAM/Path/Op/Probe.py +++ b/src/Mod/CAM/Path/Op/Probe.py @@ -64,13 +64,13 @@ class ObjectProbing(PathOp.ObjectOp): "App::PropertyInteger", "PointCountX", "Probe", - QT_TRANSLATE_NOOP("App::Property", "Number of points to probe in X direction"), + QT_TRANSLATE_NOOP("App::Property", "Number of points to probe in X-direction"), ) obj.addProperty( "App::PropertyInteger", "PointCountY", "Probe", - QT_TRANSLATE_NOOP("App::Property", "Number of points to probe in Y direction"), + QT_TRANSLATE_NOOP("App::Property", "Number of points to probe in Y-direction"), ) obj.addProperty( "App::PropertyFile", diff --git a/src/Mod/Draft/Resources/ui/TaskPanel_OrthoArray.ui b/src/Mod/Draft/Resources/ui/TaskPanel_OrthoArray.ui index 706a886e74..8ef258e7b0 100644 --- a/src/Mod/Draft/Resources/ui/TaskPanel_OrthoArray.ui +++ b/src/Mod/Draft/Resources/ui/TaskPanel_OrthoArray.ui @@ -165,7 +165,7 @@ The number must be at least 1 in each direction. - Distance between the elements in the X direction. + Distance between the elements in the X-direction. Normally, only the X value is necessary; the other two values can give an additional shift in their respective directions. Negative values will result in copies produced in the negative direction. @@ -256,7 +256,7 @@ Negative values will result in copies produced in the negative direction. - Distance between the elements in the Y direction. + Distance between the elements in the Y-direction. Normally, only the Y value is necessary; the other two values can give an additional shift in their respective directions. Negative values will result in copies produced in the negative direction. diff --git a/src/Mod/Draft/Resources/ui/TaskSelectPlane.ui b/src/Mod/Draft/Resources/ui/TaskSelectPlane.ui index 32e42ca4d6..eb9e95ba9c 100644 --- a/src/Mod/Draft/Resources/ui/TaskSelectPlane.ui +++ b/src/Mod/Draft/Resources/ui/TaskSelectPlane.ui @@ -211,7 +211,7 @@ will be moved to the center of the view. - The number of squares in the X and Y direction of the grid + The number of squares in the X- and Y-direction of the grid Grid size @@ -221,7 +221,7 @@ will be moved to the center of the view. - The number of squares in the X and Y direction of the grid + The number of squares in the X- and Y-direction of the grid squares diff --git a/src/Mod/Draft/Resources/ui/preferences-draftsnap.ui b/src/Mod/Draft/Resources/ui/preferences-draftsnap.ui index 732ac286b3..1d19f6aa00 100644 --- a/src/Mod/Draft/Resources/ui/preferences-draftsnap.ui +++ b/src/Mod/Draft/Resources/ui/preferences-draftsnap.ui @@ -217,7 +217,7 @@ Major grid lines are thicker than minor grid lines. - The number of squares in the X and Y direction of the grid + The number of squares in the X- and Y-direction of the grid squares diff --git a/src/Mod/Draft/draftobjects/array.py b/src/Mod/Draft/draftobjects/array.py index 90af198fa2..11d42230d7 100644 --- a/src/Mod/Draft/draftobjects/array.py +++ b/src/Mod/Draft/draftobjects/array.py @@ -164,7 +164,7 @@ class Array(DraftLink): if "NumberX" not in properties: _tip = QT_TRANSLATE_NOOP("App::Property", - "Number of copies in X direction") + "Number of copies in X-direction") obj.addProperty("App::PropertyInteger", "NumberX", "Orthogonal array", @@ -174,7 +174,7 @@ class Array(DraftLink): if "NumberY" not in properties: _tip = QT_TRANSLATE_NOOP("App::Property", - "Number of copies in Y direction") + "Number of copies in Y-direction") obj.addProperty("App::PropertyInteger", "NumberY", "Orthogonal array", @@ -184,7 +184,7 @@ class Array(DraftLink): if "NumberZ" not in properties: _tip = QT_TRANSLATE_NOOP("App::Property", - "Number of copies in Z direction") + "Number of copies in Z-direction") obj.addProperty("App::PropertyInteger", "NumberZ", "Orthogonal array", @@ -195,7 +195,7 @@ class Array(DraftLink): if "IntervalX" not in properties: _tip = QT_TRANSLATE_NOOP("App::Property", "Distance and orientation " - "of intervals in X direction") + "of intervals in X-direction") obj.addProperty("App::PropertyVectorDistance", "IntervalX", "Orthogonal array", @@ -206,7 +206,7 @@ class Array(DraftLink): if "IntervalY" not in properties: _tip = QT_TRANSLATE_NOOP("App::Property", "Distance and orientation " - "of intervals in Y direction") + "of intervals in Y-direction") obj.addProperty("App::PropertyVectorDistance", "IntervalY", "Orthogonal array", @@ -217,7 +217,7 @@ class Array(DraftLink): if "IntervalZ" not in properties: _tip = QT_TRANSLATE_NOOP("App::Property", "Distance and orientation " - "of intervals in Z direction") + "of intervals in Z-direction") obj.addProperty("App::PropertyVectorDistance", "IntervalZ", "Orthogonal array", diff --git a/src/Mod/Draft/draftobjects/patharray.py b/src/Mod/Draft/draftobjects/patharray.py index 6882cb5400..56d17bd964 100644 --- a/src/Mod/Draft/draftobjects/patharray.py +++ b/src/Mod/Draft/draftobjects/patharray.py @@ -299,7 +299,7 @@ class PathArray(DraftLink): obj.TangentVector = App.Vector(1, 0, 0) if "ForceVertical" not in properties: - _tip = QT_TRANSLATE_NOOP("App::Property","Force use of 'Vertical Vector' as local Z direction when using 'Original' or 'Tangent' alignment mode") + _tip = QT_TRANSLATE_NOOP("App::Property","Force use of 'Vertical Vector' as local Z-direction when using 'Original' or 'Tangent' alignment mode") obj.addProperty("App::PropertyBool", "ForceVertical", "Alignment", diff --git a/src/Mod/Fem/App/FemConstraintDisplacement.cpp b/src/Mod/Fem/App/FemConstraintDisplacement.cpp index ece2360652..0b6616eea3 100644 --- a/src/Mod/Fem/App/FemConstraintDisplacement.cpp +++ b/src/Mod/Fem/App/FemConstraintDisplacement.cpp @@ -45,66 +45,66 @@ ConstraintDisplacement::ConstraintDisplacement() (true), "ConstraintDisplacement", App::Prop_None, - "Use free translation in X direction"); + "Use free translation in X-direction"); ADD_PROPERTY_TYPE(xDisplacement, (0.0), "ConstraintDisplacement", App::Prop_None, - "Translation in local X direction"); + "Translation in local X-direction"); ADD_PROPERTY_TYPE(hasXFormula, (false), "ConstraintDisplacement", App::Prop_None, - "Define translation in X direction as a formula"); + "Define translation in X-direction as a formula"); ADD_PROPERTY_TYPE(xDisplacementFormula, (""), "ConstraintDisplacement", App::Prop_None, - "Formula for translation in X direction"); + "Formula for translation in X-direction"); // y displacement ADD_PROPERTY_TYPE(yFree, (true), "ConstraintDisplacement", App::Prop_None, - "Use free translation in Y direction"); + "Use free translation in Y-direction"); ADD_PROPERTY_TYPE(yDisplacement, (0.0), "ConstraintDisplacement", App::Prop_None, - "Translation in local Y direction"); + "Translation in local Y-direction"); ADD_PROPERTY_TYPE(hasYFormula, (false), "ConstraintDisplacement", App::Prop_None, - "Define translation in Y direction as a formula"); + "Define translation in Y-direction as a formula"); ADD_PROPERTY_TYPE(yDisplacementFormula, (""), "ConstraintDisplacement", App::Prop_None, - "Formula for translation in Y direction"); + "Formula for translation in Y-direction"); // z displacement ADD_PROPERTY_TYPE(zFree, (true), "ConstraintDisplacement", App::Prop_None, - "Use free translation in Z direction"); + "Use free translation in Z-direction"); ADD_PROPERTY_TYPE(zDisplacement, (0.0), "ConstraintDisplacement", App::Prop_None, - "Translation in local Z direction"); + "Translation in local Z-direction"); ADD_PROPERTY_TYPE(hasZFormula, (false), "ConstraintDisplacement", App::Prop_None, - "Define translation in Z direction as a formula"); + "Define translation in Z-direction as a formula"); ADD_PROPERTY_TYPE(zDisplacementFormula, (""), "ConstraintDisplacement", App::Prop_None, - "Formula for translation in Z direction"); + "Formula for translation in Z-direction"); // flow surface force ADD_PROPERTY_TYPE(useFlowSurfaceForce, @@ -118,36 +118,36 @@ ConstraintDisplacement::ConstraintDisplacement() (true), "ConstraintDisplacement", App::Prop_None, - "Use free rotation in X direction"); + "Use free rotation in X-direction"); ADD_PROPERTY_TYPE(xRotation, (0.0), "ConstraintDisplacement", App::Prop_None, - "Rotation in local X direction"); + "Rotation in local X-direction"); // y rotation ADD_PROPERTY_TYPE(rotyFree, (true), "ConstraintDisplacement", App::Prop_None, - "Use free rotation in Y direction"); + "Use free rotation in Y-direction"); ADD_PROPERTY_TYPE(yRotation, (0.0), "ConstraintDisplacement", App::Prop_None, - "Rotation in local Y direction"); + "Rotation in local Y-direction"); // z rotation ADD_PROPERTY_TYPE(rotzFree, (true), "ConstraintDisplacement", App::Prop_None, - "Use free rotation in Z direction"); + "Use free rotation in Z-direction"); ADD_PROPERTY_TYPE(zRotation, (0.0), "ConstraintDisplacement", App::Prop_None, - "Rotation in local Z direction"); + "Rotation in local Z-direction"); ADD_PROPERTY_TYPE(EnableAmplitude, (false), "ConstraintDisplacement", diff --git a/src/Mod/Fem/App/FemConstraintRigidBody.cpp b/src/Mod/Fem/App/FemConstraintRigidBody.cpp index 48a2201e07..77dabe38ef 100644 --- a/src/Mod/Fem/App/FemConstraintRigidBody.cpp +++ b/src/Mod/Fem/App/FemConstraintRigidBody.cpp @@ -52,32 +52,32 @@ ConstraintRigidBody::ConstraintRigidBody() (0.0), "ConstraintRigidBody", App::Prop_Output, - "Applied force in X direction"); + "Applied force in X-direction"); ADD_PROPERTY_TYPE(ForceY, (0.0), "ConstraintRigidBody", App::Prop_Output, - "Applied force in Y direction"); + "Applied force in Y-direction"); ADD_PROPERTY_TYPE(ForceZ, (0.0), "ConstraintRigidBody", App::Prop_Output, - "Applied force in Z direction"); + "Applied force in Z-direction"); ADD_PROPERTY_TYPE(MomentX, (0.0), "ConstraintRigidBody", App::Prop_Output, - "Applied moment in X direction"); + "Applied moment in X-direction"); ADD_PROPERTY_TYPE(MomentY, (0.0), "ConstraintRigidBody", App::Prop_Output, - "Applied moment in Y direction"); + "Applied moment in Y-direction"); ADD_PROPERTY_TYPE(MomentZ, (0.0), "ConstraintRigidBody", App::Prop_Output, - "Applied moment in Z direction"); + "Applied moment in Z-direction"); ADD_PROPERTY_TYPE(TranslationalModeX, ("Free"), "ConstraintRigidBody", diff --git a/src/Mod/Fem/femobjects/constraint_flowvelocity.py b/src/Mod/Fem/femobjects/constraint_flowvelocity.py index ab0d329541..015ae05587 100644 --- a/src/Mod/Fem/femobjects/constraint_flowvelocity.py +++ b/src/Mod/Fem/femobjects/constraint_flowvelocity.py @@ -41,18 +41,18 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject): def __init__(self, obj): super().__init__(obj) obj.addProperty( - "App::PropertyVelocity", "VelocityX", "Parameter", "Velocity in x-direction" + "App::PropertyVelocity", "VelocityX", "Parameter", "Velocity in X-direction" ) obj.setPropertyStatus("VelocityX", "LockDynamic") obj.addProperty( "App::PropertyString", "VelocityXFormula", "Parameter", - "Velocity formula in x-direction", + "Velocity formula in X-direction", ) obj.setPropertyStatus("VelocityXFormula", "LockDynamic") obj.addProperty( - "App::PropertyBool", "VelocityXUnspecified", "Parameter", "Use velocity in x-direction" + "App::PropertyBool", "VelocityXUnspecified", "Parameter", "Use velocity in X-direction" ) obj.setPropertyStatus("VelocityXUnspecified", "LockDynamic") obj.VelocityXUnspecified = True @@ -60,23 +60,23 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject): "App::PropertyBool", "VelocityXHasFormula", "Parameter", - "Use formula for velocity in x-direction", + "Use formula for velocity in X-direction", ) obj.setPropertyStatus("VelocityXHasFormula", "LockDynamic") obj.addProperty( - "App::PropertyVelocity", "VelocityY", "Parameter", "Velocity in y-direction" + "App::PropertyVelocity", "VelocityY", "Parameter", "Velocity in Y-direction" ) obj.setPropertyStatus("VelocityY", "LockDynamic") obj.addProperty( "App::PropertyString", "VelocityYFormula", "Parameter", - "Velocity formula in y-direction", + "Velocity formula in Y-direction", ) obj.setPropertyStatus("VelocityYFormula", "LockDynamic") obj.addProperty( - "App::PropertyBool", "VelocityYUnspecified", "Parameter", "Use velocity in y-direction" + "App::PropertyBool", "VelocityYUnspecified", "Parameter", "Use velocity in Y-direction" ) obj.setPropertyStatus("VelocityYUnspecified", "LockDynamic") obj.VelocityYUnspecified = True @@ -84,7 +84,7 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject): "App::PropertyBool", "VelocityYHasFormula", "Parameter", - "Use formula for velocity in y-direction", + "Use formula for velocity in Y-direction", ) obj.setPropertyStatus("VelocityYHasFormula", "LockDynamic") @@ -96,11 +96,11 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject): "App::PropertyString", "VelocityZFormula", "Parameter", - "Velocity formula in z-direction", + "Velocity formula in Z-direction", ) obj.setPropertyStatus("VelocityZFormula", "LockDynamic") obj.addProperty( - "App::PropertyBool", "VelocityZUnspecified", "Parameter", "Use velocity in z-direction" + "App::PropertyBool", "VelocityZUnspecified", "Parameter", "Use velocity in Z-direction" ) obj.setPropertyStatus("VelocityZUnspecified", "LockDynamic") obj.VelocityZUnspecified = True @@ -108,7 +108,7 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject): "App::PropertyBool", "VelocityZHasFormula", "Parameter", - "Use formula for velocity in z-direction", + "Use formula for velocity in Z-direction", ) obj.setPropertyStatus("VelocityZHasFormula", "LockDynamic") diff --git a/src/Mod/Fem/femobjects/constraint_initialflowvelocity.py b/src/Mod/Fem/femobjects/constraint_initialflowvelocity.py index febd4dd551..76b4bf797b 100644 --- a/src/Mod/Fem/femobjects/constraint_initialflowvelocity.py +++ b/src/Mod/Fem/femobjects/constraint_initialflowvelocity.py @@ -40,18 +40,18 @@ class ConstraintInitialFlowVelocity(base_fempythonobject.BaseFemPythonObject): def __init__(self, obj): super().__init__(obj) obj.addProperty( - "App::PropertyVelocity", "VelocityX", "Parameter", "Velocity in x-direction" + "App::PropertyVelocity", "VelocityX", "Parameter", "Velocity in X-direction" ) obj.setPropertyStatus("VelocityX", "LockDynamic") obj.addProperty( "App::PropertyString", "VelocityXFormula", "Parameter", - "Velocity formula in x-direction", + "Velocity formula in X-direction", ) obj.setPropertyStatus("VelocityXFormula", "LockDynamic") obj.addProperty( - "App::PropertyBool", "VelocityXUnspecified", "Parameter", "Use velocity in x-direction" + "App::PropertyBool", "VelocityXUnspecified", "Parameter", "Use velocity in X-direction" ) obj.setPropertyStatus("VelocityXUnspecified", "LockDynamic") obj.VelocityXUnspecified = True @@ -59,23 +59,23 @@ class ConstraintInitialFlowVelocity(base_fempythonobject.BaseFemPythonObject): "App::PropertyBool", "VelocityXHasFormula", "Parameter", - "Use formula for velocity in x-direction", + "Use formula for velocity in X-direction", ) obj.setPropertyStatus("VelocityXHasFormula", "LockDynamic") obj.addProperty( - "App::PropertyVelocity", "VelocityY", "Parameter", "Velocity in y-direction" + "App::PropertyVelocity", "VelocityY", "Parameter", "Velocity in Y-direction" ) obj.setPropertyStatus("VelocityY", "LockDynamic") obj.addProperty( "App::PropertyString", "VelocityYFormula", "Parameter", - "Velocity formula in y-direction", + "Velocity formula in Y-direction", ) obj.setPropertyStatus("VelocityYFormula", "LockDynamic") obj.addProperty( - "App::PropertyBool", "VelocityYUnspecified", "Parameter", "Use velocity in y-direction" + "App::PropertyBool", "VelocityYUnspecified", "Parameter", "Use velocity in Y-direction" ) obj.setPropertyStatus("VelocityYUnspecified", "LockDynamic") obj.VelocityYUnspecified = True @@ -83,23 +83,23 @@ class ConstraintInitialFlowVelocity(base_fempythonobject.BaseFemPythonObject): "App::PropertyBool", "VelocityYHasFormula", "Parameter", - "Use formula for velocity in y-direction", + "Use formula for velocity in Y-direction", ) obj.setPropertyStatus("VelocityYHasFormula", "LockDynamic") obj.addProperty( - "App::PropertyVelocity", "VelocityZ", "Parameter", "Velocity in z-direction" + "App::PropertyVelocity", "VelocityZ", "Parameter", "Velocity in Z-direction" ) obj.setPropertyStatus("VelocityZ", "LockDynamic") obj.addProperty( "App::PropertyString", "VelocityZFormula", "Parameter", - "Velocity formula in z-direction", + "Velocity formula in Z-direction", ) obj.setPropertyStatus("VelocityZFormula", "LockDynamic") obj.addProperty( - "App::PropertyBool", "VelocityZUnspecified", "Parameter", "Use velocity in z-direction" + "App::PropertyBool", "VelocityZUnspecified", "Parameter", "Use velocity in Z-direction" ) obj.setPropertyStatus("VelocityZUnspecified", "LockDynamic") obj.VelocityZUnspecified = True @@ -107,6 +107,6 @@ class ConstraintInitialFlowVelocity(base_fempythonobject.BaseFemPythonObject): "App::PropertyBool", "VelocityZHasFormula", "Parameter", - "Use formula for velocity in z-direction", + "Use formula for velocity in Z-direction", ) obj.setPropertyStatus("VelocityZHasFormula", "LockDynamic") diff --git a/src/Mod/Fem/femobjects/result_mechanical.py b/src/Mod/Fem/femobjects/result_mechanical.py index 619bcdcc1a..35d3a1d354 100644 --- a/src/Mod/Fem/femobjects/result_mechanical.py +++ b/src/Mod/Fem/femobjects/result_mechanical.py @@ -93,7 +93,7 @@ class ResultMechanical(base_fempythonobject.BaseFemPythonObject): "App::PropertyFloatList", "ReinforcementRatio_x", "NodeData", - "Reinforcement ratio x-direction", + "Reinforcement ratio in X-direction", True, ) obj.setPropertyStatus("ReinforcementRatio_x", "LockDynamic") @@ -101,7 +101,7 @@ class ResultMechanical(base_fempythonobject.BaseFemPythonObject): "App::PropertyFloatList", "ReinforcementRatio_y", "NodeData", - "Reinforcement ratio y-direction", + "Reinforcement ratio in Y-direction", True, ) obj.setPropertyStatus("ReinforcementRatio_y", "LockDynamic") @@ -109,7 +109,7 @@ class ResultMechanical(base_fempythonobject.BaseFemPythonObject): "App::PropertyFloatList", "ReinforcementRatio_z", "NodeData", - "Reinforcement ratio z-direction", + "Reinforcement ratio in Z-direction", True, ) obj.setPropertyStatus("ReinforcementRatio_z", "LockDynamic") diff --git a/src/Mod/Measure/App/MeasureDistance.cpp b/src/Mod/Measure/App/MeasureDistance.cpp index c2a5695d55..2702860f8c 100644 --- a/src/Mod/Measure/App/MeasureDistance.cpp +++ b/src/Mod/Measure/App/MeasureDistance.cpp @@ -72,19 +72,19 @@ MeasureDistance::MeasureDistance() (0.0), "Measurement", App::PropertyType(App::Prop_ReadOnly | App::Prop_Output), - "Distance in X direction"); + "Distance in X-direction"); DistanceX.setUnit(Base::Unit::Length); ADD_PROPERTY_TYPE(DistanceY, (0.0), "Measurement", App::PropertyType(App::Prop_ReadOnly | App::Prop_Output), - "Distance in Y direction"); + "Distance in Y-direction"); DistanceY.setUnit(Base::Unit::Length); ADD_PROPERTY_TYPE(DistanceZ, (0.0), "Measurement", App::PropertyType(App::Prop_ReadOnly | App::Prop_Output), - "Distance in Z direction"); + "Distance in Z-direction"); DistanceZ.setUnit(Base::Unit::Length); ADD_PROPERTY_TYPE(Position1, @@ -333,19 +333,19 @@ MeasureDistanceDetached::MeasureDistanceDetached() (0.0), "Measurement", App::PropertyType(App::Prop_ReadOnly | App::Prop_Output), - "Distance in X direction"); + "Distance in X-direction"); DistanceX.setUnit(Base::Unit::Length); ADD_PROPERTY_TYPE(DistanceY, (0.0), "Measurement", App::PropertyType(App::Prop_ReadOnly | App::Prop_Output), - "Distance in Y direction"); + "Distance in Y-direction"); DistanceY.setUnit(Base::Unit::Length); ADD_PROPERTY_TYPE(DistanceZ, (0.0), "Measurement", App::PropertyType(App::Prop_ReadOnly | App::Prop_Output), - "Distance in Z direction"); + "Distance in Z-direction"); DistanceZ.setUnit(Base::Unit::Length); ADD_PROPERTY_TYPE(Position1, diff --git a/src/Mod/Part/App/AttachExtension.cpp b/src/Mod/Part/App/AttachExtension.cpp index e3ede2e495..740f9e254b 100644 --- a/src/Mod/Part/App/AttachExtension.cpp +++ b/src/Mod/Part/App/AttachExtension.cpp @@ -123,7 +123,7 @@ AttachExtension::AttachExtension() (false), "Attachment", App::Prop_None, - "Reverse Z direction (flip sketch upside down)"); + "Reverse Z-direction (flip sketch upside down)"); EXTENSION_ADD_PROPERTY_TYPE(MapPathParameter, (0.0), @@ -234,7 +234,7 @@ void AttachExtension::initBase(bool force) props.mapReversed, obj, "BaseMapReversed", - "Reverse Z direction of the base geometry attachment"); + "Reverse Z-direction of the base geometry attachment"); getProp(force, props.mapPathParameter, diff --git a/src/Mod/Part/App/FeatureScale.cpp b/src/Mod/Part/App/FeatureScale.cpp index ac63507b27..ee5bcece24 100644 --- a/src/Mod/Part/App/FeatureScale.cpp +++ b/src/Mod/Part/App/FeatureScale.cpp @@ -44,9 +44,9 @@ Scale::Scale() ADD_PROPERTY_TYPE(Base, (nullptr), "Scale", App::Prop_None, "Shape to scale"); ADD_PROPERTY_TYPE(Uniform, (true), "Scale", App::Prop_None, "If true, scale equally in all directions"); ADD_PROPERTY_TYPE(UniformScale, (1.0), "Scale", App::Prop_None, "Uniform scale factor - 1.0 means no scaling"); - ADD_PROPERTY_TYPE(XScale, (1.0), "Scale", App::Prop_None, "Scale factor in X direction - 1.0 means no scaling"); - ADD_PROPERTY_TYPE(YScale, (1.0), "Scale", App::Prop_None, "Scale factor in Y direction - 1.0 means no scaling"); - ADD_PROPERTY_TYPE(ZScale, (1.0), "Scale", App::Prop_None, "Scale factor in Z direction - 1.0 means no scaling"); + ADD_PROPERTY_TYPE(XScale, (1.0), "Scale", App::Prop_None, "Scale factor in X-direction - 1.0 means no scaling"); + ADD_PROPERTY_TYPE(YScale, (1.0), "Scale", App::Prop_None, "Scale factor in Y-direction - 1.0 means no scaling"); + ADD_PROPERTY_TYPE(ZScale, (1.0), "Scale", App::Prop_None, "Scale factor in Z-direction - 1.0 means no scaling"); } short Scale::mustExecute() const diff --git a/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.ui b/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.ui index d413b3a2b2..da284fd5fc 100644 --- a/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.ui +++ b/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.ui @@ -133,7 +133,7 @@ - In x-direction + In X-direction labelOffset @@ -168,7 +168,7 @@ - In y-direction + In Y-direction @@ -200,7 +200,7 @@ - In z-direction + In Z-direction diff --git a/src/Mod/Part/Gui/DlgRevolution.ui b/src/Mod/Part/Gui/DlgRevolution.ui index d521ac0e15..da288bd247 100644 --- a/src/Mod/Part/Gui/DlgRevolution.ui +++ b/src/Mod/Part/Gui/DlgRevolution.ui @@ -146,7 +146,7 @@ Sets this as axis - X Direction + X-Direction @@ -187,7 +187,7 @@ Sets this as axis - Y Direction + Y-Direction @@ -225,7 +225,7 @@ - Z Direction + Z-Direction diff --git a/src/Mod/PartDesign/App/FeaturePrimitive.cpp b/src/Mod/PartDesign/App/FeaturePrimitive.cpp index 53705bc336..51d8a0c560 100644 --- a/src/Mod/PartDesign/App/FeaturePrimitive.cpp +++ b/src/Mod/PartDesign/App/FeaturePrimitive.cpp @@ -404,11 +404,11 @@ PROPERTY_SOURCE(PartDesign::Ellipsoid, PartDesign::FeaturePrimitive) Ellipsoid::Ellipsoid() { - ADD_PROPERTY_TYPE(Radius1,(2.0),"Ellipsoid",App::Prop_None,"Radius in local z-direction"); + ADD_PROPERTY_TYPE(Radius1,(2.0),"Ellipsoid",App::Prop_None,"Radius in local Z-direction"); Radius1.setConstraints(&quantityRange); - ADD_PROPERTY_TYPE(Radius2,(4.0),"Ellipsoid",App::Prop_None,"Radius in local x-direction"); + ADD_PROPERTY_TYPE(Radius2,(4.0),"Ellipsoid",App::Prop_None,"Radius in local X-direction"); Radius2.setConstraints(&quantityRange); - ADD_PROPERTY_TYPE(Radius3,(0.0),"Ellipsoid",App::Prop_None,"Radius in local y-direction\nIf zero, it is equal to Radius2"); + ADD_PROPERTY_TYPE(Radius3,(0.0),"Ellipsoid",App::Prop_None,"Radius in local Y-direction\nIf zero, it is equal to Radius2"); Radius3.setConstraints(&quantityRangeZero); ADD_PROPERTY_TYPE(Angle1,(-90.0f),"Ellipsoid",App::Prop_None,"The angle of the ellipsoid"); Angle1.setConstraints(&angleRangeV); diff --git a/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.ui b/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.ui index 18bc423976..441adddd25 100644 --- a/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.ui @@ -824,7 +824,7 @@ - Radius in local x-direction + Radius in local X-direction false @@ -847,7 +847,7 @@ - Radius in local y-direction + Radius in local Y-direction If zero, it is equal to Radius2