From dd702da1bc014ca8282d8da2ea24674ff8120b59 Mon Sep 17 00:00:00 2001 From: Max Wilfinger Date: Sun, 29 Jun 2025 15:25:02 +0200 Subject: [PATCH] FEM: Update UI strings for consistency --- src/Mod/Fem/App/AppFem.cpp | 2 +- src/Mod/Fem/Gui/AppFemGui.cpp | 2 +- src/Mod/Fem/Gui/BoxWidget.ui | 6 +- src/Mod/Fem/Gui/Command.cpp | 128 +++++++------- src/Mod/Fem/Gui/CylinderWidget.ui | 12 +- src/Mod/Fem/Gui/DlgSettingsFemCcx.ui | 22 +-- src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp | 2 +- src/Mod/Fem/Gui/DlgSettingsFemElmer.ui | 12 +- src/Mod/Fem/Gui/DlgSettingsFemElmerImp.cpp | 2 +- src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui | 6 +- src/Mod/Fem/Gui/DlgSettingsFemGmsh.ui | 2 +- src/Mod/Fem/Gui/DlgSettingsFemGmshImp.cpp | 2 +- src/Mod/Fem/Gui/DlgSettingsFemMystran.ui | 2 +- src/Mod/Fem/Gui/DlgSettingsFemMystranImp.cpp | 2 +- src/Mod/Fem/Gui/DlgSettingsFemZ88.ui | 6 +- src/Mod/Fem/Gui/DlgSettingsFemZ88Imp.cpp | 2 +- src/Mod/Fem/Gui/PlaneWidget.ui | 12 +- .../Fem/Gui/Resources/ui/BodyHeatSource.ui | 8 +- .../Fem/Gui/Resources/ui/ConstraintCentrif.ui | 4 +- .../Resources/ui/ConstraintSectionPrint.ui | 2 +- src/Mod/Fem/Gui/Resources/ui/ConstraintTie.ui | 4 +- .../Fem/Gui/Resources/ui/CurrentDensity.ui | 14 +- .../Gui/Resources/ui/ElectricChargeDensity.ui | 10 +- .../Resources/ui/ElectrostaticPotential.ui | 24 +-- .../Fem/Gui/Resources/ui/ElementFluid1D.ui | 42 ++--- .../Fem/Gui/Resources/ui/ElementGeometry1D.ui | 30 ++-- .../Fem/Gui/Resources/ui/ElementGeometry2D.ui | 4 +- .../Fem/Gui/Resources/ui/ElementRotation1D.ui | 6 +- src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui | 20 +-- .../Gui/Resources/ui/InitialFlowVelocity.ui | 20 +-- .../Fem/Gui/Resources/ui/InitialPressure.ui | 4 +- src/Mod/Fem/Gui/Resources/ui/Magnetization.ui | 8 +- src/Mod/Fem/Gui/Resources/ui/Material.ui | 18 +- .../Gui/Resources/ui/MaterialReinforcement.ui | 2 +- .../Fem/Gui/Resources/ui/MeshBoundaryLayer.ui | 6 +- src/Mod/Fem/Gui/Resources/ui/MeshGmsh.ui | 12 +- src/Mod/Fem/Gui/Resources/ui/MeshGroup.ui | 4 +- .../Gui/Resources/ui/MeshGroupXDMFExport.ui | 2 +- src/Mod/Fem/Gui/Resources/ui/MeshNetgen.ui | 18 +- src/Mod/Fem/Gui/Resources/ui/MeshRegion.ui | 4 +- .../Resources/ui/PostHistogramFieldAppEdit.ui | 4 +- .../ui/PostHistogramFieldViewEdit.ui | 6 +- .../Resources/ui/PostHistogramIndexAppEdit.ui | 4 +- .../Resources/ui/PostLineplotFieldAppEdit.ui | 6 +- .../Resources/ui/PostLineplotFieldViewEdit.ui | 6 +- .../Resources/ui/PostLineplotIndexAppEdit.ui | 4 +- .../Resources/ui/PostTableFieldViewEdit.ui | 2 +- src/Mod/Fem/Gui/Resources/ui/ResultHints.ui | 4 +- src/Mod/Fem/Gui/Resources/ui/ResultShow.ui | 32 ++-- .../Fem/Gui/Resources/ui/SolverCalculiX.ui | 8 +- .../Fem/Gui/Resources/ui/SolverCcxTools.ui | 14 +- src/Mod/Fem/Gui/Resources/ui/TaskPostGlyph.ui | 6 +- .../Fem/Gui/Resources/ui/TaskPostHistogram.ui | 4 +- .../Fem/Gui/Resources/ui/TaskPostLineplot.ui | 6 +- src/Mod/Fem/Gui/SphereWidget.ui | 6 +- src/Mod/Fem/Gui/TaskAnalysisInfo.ui | 2 +- src/Mod/Fem/Gui/TaskCreateElementSet.ui | 6 +- src/Mod/Fem/Gui/TaskCreateNodeSet.ui | 4 +- src/Mod/Fem/Gui/TaskFemConstraint.ui | 2 +- src/Mod/Fem/Gui/TaskFemConstraintBearing.cpp | 7 +- src/Mod/Fem/Gui/TaskFemConstraintBearing.ui | 2 +- src/Mod/Fem/Gui/TaskFemConstraintContact.ui | 10 +- .../Fem/Gui/TaskFemConstraintDisplacement.ui | 16 +- src/Mod/Fem/Gui/TaskFemConstraintFixed.ui | 2 +- .../Gui/TaskFemConstraintFluidBoundary.cpp | 2 +- .../Fem/Gui/TaskFemConstraintFluidBoundary.ui | 2 +- src/Mod/Fem/Gui/TaskFemConstraintForce.cpp | 2 +- src/Mod/Fem/Gui/TaskFemConstraintForce.ui | 2 +- src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui | 14 +- .../TaskFemConstraintInitialTemperature.ui | 2 +- src/Mod/Fem/Gui/TaskFemConstraintPressure.ui | 4 +- src/Mod/Fem/Gui/TaskFemConstraintRigidBody.ui | 46 +++--- src/Mod/Fem/Gui/TaskFemConstraintSpring.ui | 9 +- .../Fem/Gui/TaskFemConstraintTemperature.ui | 2 +- .../Fem/Gui/TaskFemConstraintTransform.cpp | 2 +- src/Mod/Fem/Gui/TaskFemConstraintTransform.ui | 12 +- .../Fem/Gui/TaskPanelConstraintTemperature.ui | 4 +- .../Fem/Gui/TaskPanelInitialTemperature.ui | 5 +- src/Mod/Fem/Gui/TaskPostBoxes.cpp | 18 +- src/Mod/Fem/Gui/TaskPostCalculator.ui | 10 +- src/Mod/Fem/Gui/TaskPostClip.ui | 4 +- src/Mod/Fem/Gui/TaskPostContours.ui | 8 +- src/Mod/Fem/Gui/TaskPostDataAlongLine.ui | 6 +- src/Mod/Fem/Gui/TaskPostDataAtPoint.ui | 8 +- src/Mod/Fem/Gui/TaskPostExtraction.cpp | 2 +- src/Mod/Fem/Gui/TaskPostExtraction.ui | 2 +- src/Mod/Fem/Gui/TaskPostFrames.ui | 4 +- src/Mod/Fem/Gui/TaskPostScalarClip.ui | 4 +- src/Mod/Fem/Gui/TaskPostWarpVector.ui | 4 +- src/Mod/Fem/Gui/TaskTetParameter.ui | 18 +- src/Mod/Fem/Gui/ViewProviderAnalysis.cpp | 2 +- src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp | 2 +- src/Mod/Fem/Gui/Workbench.cpp | 52 +++--- src/Mod/Fem/femcommands/commands.py | 156 +++++++++--------- src/Mod/Fem/femguiutils/data_extraction.py | 2 +- .../disambiguate_solid_selection.py | 4 +- src/Mod/Fem/femguiutils/extract_link_view.py | 2 +- src/Mod/Fem/femguiutils/selection_widgets.py | 6 +- .../femtaskpanels/task_constraint_centrif.py | 6 +- .../Fem/femtaskpanels/task_post_extractor.py | 4 +- .../Fem/femtaskpanels/task_post_histogram.py | 8 +- .../Fem/femtaskpanels/task_post_lineplot.py | 8 +- src/Mod/Fem/femtaskpanels/task_post_table.py | 4 +- 103 files changed, 545 insertions(+), 558 deletions(-) diff --git a/src/Mod/Fem/App/AppFem.cpp b/src/Mod/Fem/App/AppFem.cpp index e59e7930fe..fcbdca4d3e 100644 --- a/src/Mod/Fem/App/AppFem.cpp +++ b/src/Mod/Fem/App/AppFem.cpp @@ -87,7 +87,7 @@ PyMOD_INIT_FUNC(Fem) PyMOD_Return(nullptr); } PyObject* femModule = Fem::initModule(); - Base::Console().log("Loading Fem module... done\n"); + Base::Console().log("Loading Fem module… done\n"); // clang-format off Fem::StdMeshers_Arithmetic1DPy ::init_type(femModule); diff --git a/src/Mod/Fem/Gui/AppFemGui.cpp b/src/Mod/Fem/Gui/AppFemGui.cpp index 139fa2a4ef..10d0d1fb66 100644 --- a/src/Mod/Fem/Gui/AppFemGui.cpp +++ b/src/Mod/Fem/Gui/AppFemGui.cpp @@ -104,7 +104,7 @@ PyMOD_INIT_FUNC(FemGui) } PyObject* mod = FemGui::initModule(); - Base::Console().log("Loading GUI of Fem module... done\n"); + Base::Console().log("Loading GUI of FEM module… done\n"); // instantiating the commands CreateFemCommands(); diff --git a/src/Mod/Fem/Gui/BoxWidget.ui b/src/Mod/Fem/Gui/BoxWidget.ui index e50053bbe0..470bf2174e 100644 --- a/src/Mod/Fem/Gui/BoxWidget.ui +++ b/src/Mod/Fem/Gui/BoxWidget.ui @@ -29,7 +29,7 @@ - x + X @@ -58,7 +58,7 @@ - y + Y @@ -81,7 +81,7 @@ - z + Z diff --git a/src/Mod/Fem/Gui/Command.cpp b/src/Mod/Fem/Gui/Command.cpp index 3711b1df7a..6b496c6dcf 100644 --- a/src/Mod/Fem/Gui/Command.cpp +++ b/src/Mod/Fem/Gui/Command.cpp @@ -240,7 +240,7 @@ CmdFemConstraintBearing::CmdFemConstraintBearing() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Bearing constraint"); + sMenuText = QT_TR_NOOP("Bearing Constraint"); sToolTipText = QT_TR_NOOP("Creates a bearing constraint"); sWhatsThis = "FEM_ConstraintBearing"; sStatusTip = sToolTipText; @@ -288,7 +288,7 @@ CmdFemConstraintContact::CmdFemConstraintContact() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Contact constraint"); + sMenuText = QT_TR_NOOP("Contact Constraint"); sToolTipText = QT_TR_NOOP("Creates a contact constraint between faces"); sWhatsThis = "FEM_ConstraintContact"; sStatusTip = sToolTipText; @@ -354,7 +354,7 @@ CmdFemConstraintDisplacement::CmdFemConstraintDisplacement() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Displacement boundary condition"); + sMenuText = QT_TR_NOOP("Displacement Boundary Condition"); sToolTipText = QT_TR_NOOP("Creates a displacement boundary condition for a geometric entity"); sWhatsThis = "FEM_ConstraintDisplacement"; sStatusTip = sToolTipText; @@ -404,7 +404,7 @@ CmdFemConstraintFixed::CmdFemConstraintFixed() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Fixed boundary condition"); + sMenuText = QT_TR_NOOP("Fixed Boundary Condition"); sToolTipText = QT_TR_NOOP("Creates a fixed boundary condition for a geometric entity"); sWhatsThis = "FEM_ConstraintFixed"; sStatusTip = sToolTipText; @@ -454,7 +454,7 @@ CmdFemConstraintRigidBody::CmdFemConstraintRigidBody() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Rigid body constraint"); + sMenuText = QT_TR_NOOP("Rigid Body Constraint"); sToolTipText = QT_TR_NOOP("Creates a rigid body constraint for a geometric entity"); sWhatsThis = "FEM_ConstraintRigidBody"; sStatusTip = sToolTipText; @@ -506,7 +506,7 @@ CmdFemConstraintFluidBoundary::CmdFemConstraintFluidBoundary() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Fluid boundary condition"); + sMenuText = QT_TR_NOOP("Fluid Boundary Condition"); sToolTipText = QT_TR_NOOP("Create fluid boundary condition on face entity for Computional Fluid Dynamics"); sWhatsThis = "FEM_ConstraintFluidBoundary"; @@ -558,7 +558,7 @@ CmdFemConstraintForce::CmdFemConstraintForce() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Force load"); + sMenuText = QT_TR_NOOP("Force Load"); sToolTipText = QT_TR_NOOP("Creates a force load applied to a geometric entity"); sWhatsThis = "FEM_ConstraintForce"; sStatusTip = sToolTipText; @@ -615,7 +615,7 @@ CmdFemConstraintGear::CmdFemConstraintGear() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Gear constraint"); + sMenuText = QT_TR_NOOP("Gear Constraint"); sToolTipText = QT_TR_NOOP("Creates a gear constraint"); sWhatsThis = "FEM_ConstraintGear"; sStatusTip = sToolTipText; @@ -663,7 +663,7 @@ CmdFemConstraintHeatflux::CmdFemConstraintHeatflux() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Heat flux load"); + sMenuText = QT_TR_NOOP("Heat Flux Load"); sToolTipText = QT_TR_NOOP("Creates a heat flux load acting on a face"); sWhatsThis = "FEM_ConstraintHeatflux"; sStatusTip = sToolTipText; @@ -724,7 +724,7 @@ CmdFemConstraintInitialTemperature::CmdFemConstraintInitialTemperature() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Initial temperature"); + sMenuText = QT_TR_NOOP("Initial Iemperature"); sToolTipText = QT_TR_NOOP("Creates an initial temperature acting on a body"); sWhatsThis = "FEM_ConstraintInitialTemperature"; sStatusTip = sToolTipText; @@ -775,7 +775,7 @@ CmdFemConstraintPlaneRotation::CmdFemConstraintPlaneRotation() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Plane multi-point constraint"); + sMenuText = QT_TR_NOOP("Plane Multi-Point Constraint"); sToolTipText = QT_TR_NOOP("Creates a plane multi-point constraint for a face"); sWhatsThis = "FEM_ConstraintPlaneRotation"; sStatusTip = sToolTipText; @@ -826,7 +826,7 @@ CmdFemConstraintPressure::CmdFemConstraintPressure() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Pressure load"); + sMenuText = QT_TR_NOOP("Pressure Load"); sToolTipText = QT_TR_NOOP("Creates a pressure load acting on a face"); sWhatsThis = "FEM_ConstraintPressure"; sStatusTip = sToolTipText; @@ -882,7 +882,7 @@ CmdFemConstraintSpring::CmdFemConstraintSpring() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Spring"); + sMenuText = QT_TR_NOOP("Spring Constraint"); sToolTipText = QT_TR_NOOP("Creates a spring acting on a face"); sWhatsThis = "FEM_ConstraintSpring"; sStatusTip = sToolTipText; @@ -937,7 +937,7 @@ CmdFemConstraintPulley::CmdFemConstraintPulley() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Pulley constraint"); + sMenuText = QT_TR_NOOP("Pulley Constraint"); sToolTipText = QT_TR_NOOP("Creates a pulley constraint"); sWhatsThis = "FEM_ConstraintPulley"; sStatusTip = sToolTipText; @@ -990,7 +990,7 @@ CmdFemConstraintTemperature::CmdFemConstraintTemperature() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Temperature boundary condition"); + sMenuText = QT_TR_NOOP("Temperature Boundary Condition"); sToolTipText = QT_TR_NOOP("Creates a temperature/concentrated heat flux load acting on a face"); sWhatsThis = "FEM_ConstraintTemperature"; sStatusTip = sToolTipText; @@ -1041,8 +1041,8 @@ CmdFemConstraintTransform::CmdFemConstraintTransform() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Local coordinate system"); - sToolTipText = QT_TR_NOOP("Create a local coordinate system on a face"); + sMenuText = QT_TR_NOOP("Local Coordinate System"); + sToolTipText = QT_TR_NOOP("Creates a local coordinate system on a face"); sWhatsThis = "FEM_ConstraintTransform"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintTransform"; @@ -1128,8 +1128,8 @@ CmdFemDefineNodesSet::CmdFemDefineNodesSet() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Node set by poly"); - sToolTipText = QT_TR_NOOP("Create node set by Poly"); + sMenuText = QT_TR_NOOP("Node Set by Poly"); + sToolTipText = QT_TR_NOOP("Creates a node set by poly"); sWhatsThis = "FEM_DefineNodesSet"; sStatusTip = QT_TR_NOOP("Create node set by Poly"); sPixmap = "FEM_CreateNodesSet"; @@ -1187,7 +1187,7 @@ CmdFemCreateNodesSet::CmdFemCreateNodesSet() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Nodes set"); + sMenuText = QT_TR_NOOP("Nodes Set"); sToolTipText = QT_TR_NOOP("Creates a FEM mesh nodes set"); sWhatsThis = "FEM_CreateNodesSet"; sStatusTip = sToolTipText; @@ -1222,10 +1222,10 @@ void CmdFemCreateNodesSet::activated(int) doCommand(Gui, "Gui.activeDocument().setEdit('%s')", FeatName.c_str()); } else { - QMessageBox::warning(Gui::getMainWindow(), - qApp->translate("CmdFemCreateNodesSet", "Wrong selection"), - qApp->translate("CmdFemCreateNodesSet", - "Select a single FEM mesh or nodes set, please.")); + QMessageBox::warning( + Gui::getMainWindow(), + qApp->translate("CmdFemCreateNodesSet", "Wrong selection"), + qApp->translate("CmdFemCreateNodesSet", "Select a single FEM mesh or nodes set.")); } } @@ -1280,8 +1280,8 @@ CmdFemDefineElementsSet::CmdFemDefineElementsSet() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Element set by poly"); - sToolTipText = QT_TR_NOOP("Create Element set by Poly"); + sMenuText = QT_TR_NOOP("Element Set by Poly"); + sToolTipText = QT_TR_NOOP("Create element set by poly"); sWhatsThis = "FEM_DefineElementsSet"; sStatusTip = QT_TR_NOOP("Create Element set by Poly"); sPixmap = "FEM_CreateElementsSet"; @@ -1335,7 +1335,7 @@ CmdFemCreateElementsSet::CmdFemCreateElementsSet() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Erase elements"); + sMenuText = QT_TR_NOOP("Erase Elements"); sToolTipText = QT_TR_NOOP("Creates a FEM mesh elements set"); sWhatsThis = "FEM_CreateElementsSet"; sStatusTip = sToolTipText; @@ -1372,10 +1372,9 @@ void CmdFemCreateElementsSet::activated(int) doCommand(Gui, "Gui.activeDocument().setEdit('%s')", uniqueElementsName.c_str()); } else { - QMessageBox::warning( - Gui::getMainWindow(), - qApp->translate("CmdFemCreateElementsSet", "Wrong selection"), - qApp->translate("CmdFemCreateNodesSet", "Select a single FEM Mesh, please.")); + QMessageBox::warning(Gui::getMainWindow(), + qApp->translate("CmdFemCreateElementsSet", "Wrong selection"), + qApp->translate("CmdFemCreateNodesSet", "Select a single FEM Mesh.")); } } @@ -1398,7 +1397,7 @@ CmdFemCompEmConstraints::CmdFemCompEmConstraints() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Electromagnetic boundary conditions"); + sMenuText = QT_TR_NOOP("Electromagnetic Boundary Conditions"); sToolTipText = QT_TR_NOOP("Electromagnetic boundary conditions"); sWhatsThis = "FEM_CompEmConstraints"; sStatusTip = sToolTipText; @@ -1541,7 +1540,7 @@ CmdFemCompEmEquations::CmdFemCompEmEquations() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Electromagnetic equations"); + sMenuText = QT_TR_NOOP("Electromagnetic Qquations"); sToolTipText = QT_TR_NOOP("Electromagnetic equations for the Elmer solver"); sWhatsThis = "FEM_CompEmEquations"; sStatusTip = sToolTipText; @@ -1709,7 +1708,7 @@ CmdFemCompMechEquations::CmdFemCompMechEquations() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Mechanical equations"); + sMenuText = QT_TR_NOOP("Mechanical Equations"); sToolTipText = QT_TR_NOOP("Mechanical equations for the Elmer solver"); sWhatsThis = "FEM_CompMechEquations"; sStatusTip = sToolTipText; @@ -2028,9 +2027,9 @@ CmdFemPostClipFilter::CmdFemPostClipFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Region clip filter"); + sMenuText = QT_TR_NOOP("Region Clip Filter"); sToolTipText = - QT_TR_NOOP("Define/create a clip filter which uses functions to define the clipped region"); + QT_TR_NOOP("Defines a clip filter which uses functions to define the clipped region"); sWhatsThis = "FEM_PostFilterClipRegion"; sStatusTip = sToolTipText; sPixmap = "FEM_PostFilterClipRegion"; @@ -2066,8 +2065,8 @@ CmdFemPostCutFilter::CmdFemPostCutFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Function cut filter"); - sToolTipText = QT_TR_NOOP("Cut the data along an implicit function"); + sMenuText = QT_TR_NOOP("Function Cut Filter"); + sToolTipText = QT_TR_NOOP("Cuts the data along an implicit function"); sWhatsThis = "FEM_PostFilterCutFunction"; sStatusTip = sToolTipText; sPixmap = "FEM_PostFilterCutFunction"; @@ -2103,8 +2102,8 @@ CmdFemPostDataAlongLineFilter::CmdFemPostDataAlongLineFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Line clip filter"); - sToolTipText = QT_TR_NOOP("Define/create a clip filter which clips a field along a line"); + sMenuText = QT_TR_NOOP("Line Clip Filter"); + sToolTipText = QT_TR_NOOP("Defines a clip filter which clips a field along a line"); sWhatsThis = "FEM_PostFilterDataAlongLine"; sStatusTip = sToolTipText; sPixmap = "FEM_PostFilterDataAlongLine"; @@ -2140,8 +2139,8 @@ CmdFemPostDataAtPointFilter::CmdFemPostDataAtPointFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Data at point clip filter"); - sToolTipText = QT_TR_NOOP("Define/create a clip filter which clips a field data at point"); + sMenuText = QT_TR_NOOP("Data at Point Clip Filter"); + sToolTipText = QT_TR_NOOP("Defines a clip filter which clips a field data at point"); sWhatsThis = "FEM_PostFilterDataAtPoint"; sStatusTip = sToolTipText; sPixmap = "FEM_PostFilterDataAtPoint"; @@ -2178,8 +2177,8 @@ CmdFemPostLinearizedStressesFilter::CmdFemPostLinearizedStressesFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Stress linearization plot"); - sToolTipText = QT_TR_NOOP("Define/create stress linearization plots"); + sMenuText = QT_TR_NOOP("Stress Linearization Plot"); + sToolTipText = QT_TR_NOOP("Defines a stress linearization plot"); sWhatsThis = "FEM_PostFilterLinearizedStresses"; sStatusTip = sToolTipText; sPixmap = "FEM_PostFilterLinearizedStresses"; @@ -2217,18 +2216,16 @@ void CmdFemPostLinearizedStressesFilter::activated(int) QMessageBox::warning( Gui::getMainWindow(), qApp->translate("CmdFemPostLinearizedStressesFilter", "Wrong selection"), - qApp->translate( - "CmdFemPostLinearizedStressesFilter", - "Select a Clip filter which clips a STRESS field along a line, please.")); + qApp->translate("CmdFemPostLinearizedStressesFilter", + "Select a Clip filter which clips a STRESS field along a line.")); } } else { QMessageBox::warning( Gui::getMainWindow(), qApp->translate("CmdFemPostLinearizedStressesFilter", "Wrong selection"), - qApp->translate( - "CmdFemPostLinearizedStressesFilter", - "Select a Clip filter which clips a STRESS field along a line, please.")); + qApp->translate("CmdFemPostLinearizedStressesFilter", + "Select a Clip filter which clips a STRESS field along a line.")); } } @@ -2253,9 +2250,8 @@ CmdFemPostScalarClipFilter::CmdFemPostScalarClipFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Scalar clip filter"); - sToolTipText = - QT_TR_NOOP("Define/create a clip filter which clips a field with a scalar value"); + sMenuText = QT_TR_NOOP("Scalar Clip Filter"); + sToolTipText = QT_TR_NOOP("Defines a clip filter which clips a field with a scalar value"); sWhatsThis = "FEM_PostFilterClipScalar"; sStatusTip = sToolTipText; sPixmap = "FEM_PostFilterClipScalar"; @@ -2291,8 +2287,8 @@ CmdFemPostWarpVectorFilter::CmdFemPostWarpVectorFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Warp filter"); - sToolTipText = QT_TR_NOOP("Warp the geometry along a vector field by a certain factor"); + sMenuText = QT_TR_NOOP("Warp Filter"); + sToolTipText = QT_TR_NOOP("Warps the geometry along a vector field by a certain factor"); sWhatsThis = "FEM_PostFilterWarp"; sStatusTip = sToolTipText; sPixmap = "FEM_PostFilterWarp"; @@ -2328,7 +2324,7 @@ CmdFemPostContoursFilter::CmdFemPostContoursFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Contours filter"); + sMenuText = QT_TR_NOOP("Contours Filter"); sToolTipText = QT_TR_NOOP("Define/create a contours filter which displays iso contours"); sWhatsThis = "FEM_PostFilterContours"; sStatusTip = sToolTipText; @@ -2365,8 +2361,8 @@ CmdFemPostCalculatorFilter::CmdFemPostCalculatorFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Calculator filter"); - sToolTipText = QT_TR_NOOP("Create new fields from current data"); + sMenuText = QT_TR_NOOP("Calculator Filter"); + sToolTipText = QT_TR_NOOP("Creates a new field from current data"); sWhatsThis = "FEM_PostFilterCalculator"; sStatusTip = sToolTipText; sPixmap = "FEM_PostFilterCalculator"; @@ -2401,8 +2397,8 @@ CmdFemPostFunctions::CmdFemPostFunctions() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Filter functions"); - sToolTipText = QT_TR_NOOP("Functions for use in postprocessing filter..."); + sMenuText = QT_TR_NOOP("Filter Functions"); + sToolTipText = QT_TR_NOOP("Functions for use in postprocessing filter"); sWhatsThis = "FEM_PostCreateFunctions"; sStatusTip = sToolTipText; eType = eType | ForEdit; @@ -2524,7 +2520,7 @@ void CmdFemPostFunctions::activated(int iMsg) else { QMessageBox::warning(Gui::getMainWindow(), qApp->translate("CmdFemPostClipFilter", "Wrong selection"), - qApp->translate("CmdFemPostClipFilter", "Select a pipeline, please.")); + qApp->translate("CmdFemPostClipFilter", "Select a pipeline.")); } // Since the default icon is reset when enabling/disabling the command we have @@ -2622,8 +2618,8 @@ CmdFemPostApllyChanges::CmdFemPostApllyChanges() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Apply changes to pipeline"); - sToolTipText = QT_TR_NOOP("Apply changes to parameters directly and not on recompute only..."); + sMenuText = QT_TR_NOOP("Apply Changes to Pipeline"); + sToolTipText = QT_TR_NOOP("Applies changes to parameters directly and not on recompute only"); sWhatsThis = "FEM_PostApplyChanges"; sStatusTip = sToolTipText; sPixmap = "view-refresh"; @@ -2663,7 +2659,7 @@ CmdFemPostPipelineFromResult::CmdFemPostPipelineFromResult() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Post pipeline from result"); + sMenuText = QT_TR_NOOP("Post Pipeline From Result"); sToolTipText = QT_TR_NOOP("Creates a post processing pipeline from a result object"); sWhatsThis = "FEM_PostPipelineFromResult"; sStatusTip = sToolTipText; @@ -2743,7 +2739,7 @@ void CmdFemPostPipelineFromResult::activated(int) QMessageBox::warning( Gui::getMainWindow(), qApp->translate("CmdFemPostPipelineFromResult", "Wrong selection type"), - qApp->translate("CmdFemPostPipelineFromResult", "Select a result object, please.")); + qApp->translate("CmdFemPostPipelineFromResult", "Select a result object.")); } } @@ -2763,7 +2759,7 @@ CmdFemPostBranchFilter::CmdFemPostBranchFilter() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Pipeline branch"); + sMenuText = QT_TR_NOOP("Pipeline Branch"); sToolTipText = QT_TR_NOOP("Branches the pipeline into a new path"); sWhatsThis = "FEM_PostBranchFilter"; sStatusTip = sToolTipText; diff --git a/src/Mod/Fem/Gui/CylinderWidget.ui b/src/Mod/Fem/Gui/CylinderWidget.ui index 50be1be6fa..b7f3557b9d 100644 --- a/src/Mod/Fem/Gui/CylinderWidget.ui +++ b/src/Mod/Fem/Gui/CylinderWidget.ui @@ -23,7 +23,7 @@ - x + X @@ -46,7 +46,7 @@ - y + Y @@ -69,7 +69,7 @@ - z + Z @@ -107,7 +107,7 @@ - x + X @@ -130,7 +130,7 @@ - y + Y @@ -153,7 +153,7 @@ - z + Z diff --git a/src/Mod/Fem/Gui/DlgSettingsFemCcx.ui b/src/Mod/Fem/Gui/DlgSettingsFemCcx.ui index 0f5302aa46..6f16628be2 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemCcx.ui +++ b/src/Mod/Fem/Gui/DlgSettingsFemCcx.ui @@ -116,7 +116,7 @@ - Input file Editor + Input file editor @@ -148,7 +148,7 @@ - External editor: + External editor @@ -199,7 +199,7 @@ - Analysis defaults + Analysis Defaults @@ -283,7 +283,7 @@ - Solver defaults + Solver Defaults @@ -304,14 +304,14 @@ - Time Initial Step + Initial time step - Time End + End time @@ -334,7 +334,7 @@ - Number of CPU's to use + Number of CPUs to use @@ -525,7 +525,7 @@ - Time Minimum Step + Minimum time step @@ -655,7 +655,7 @@ - Time Maximum Step + Maximum time step @@ -721,7 +721,7 @@ Only takes effect if 'Pipeline only' is enabled - Thermo mechanical defaults + Thermo Mechanical Defaults @@ -757,7 +757,7 @@ Only takes effect if 'Pipeline only' is enabled - Frequency defaults + Frequency Defaults diff --git a/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp b/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp index eca76761c8..145a392acf 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp +++ b/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp @@ -154,7 +154,7 @@ void DlgSettingsFemCcxImp::onfileNameChanged(QString FileName) QMessageBox::critical(this, tr("File does not exist"), tr("The specified executable\n'%1'\n does not exist!\n" - "Specify another file please.") + "Specify another file.") .arg(FileName)); } } diff --git a/src/Mod/Fem/Gui/DlgSettingsFemElmer.ui b/src/Mod/Fem/Gui/DlgSettingsFemElmer.ui index 187c14405d..04ec2bd10f 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemElmer.ui +++ b/src/Mod/Fem/Gui/DlgSettingsFemElmer.ui @@ -26,7 +26,7 @@ Qt::LeftToRight - Elmer binaries + Elmer Binaries Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -35,7 +35,7 @@ - ElmerGrid: + ElmerGrid @@ -138,7 +138,7 @@ - ElmerSolver: + ElmerSolver @@ -202,7 +202,7 @@ - Multithreading: + Multithreading @@ -214,7 +214,7 @@ true - CPU cores to be used: + CPU cores to be used @@ -258,7 +258,7 @@ - Multi-core CPU support: + Multi-core CPU support diff --git a/src/Mod/Fem/Gui/DlgSettingsFemElmerImp.cpp b/src/Mod/Fem/Gui/DlgSettingsFemElmerImp.cpp index bd7e9ed950..adbd9ed9f4 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemElmerImp.cpp +++ b/src/Mod/Fem/Gui/DlgSettingsFemElmerImp.cpp @@ -111,7 +111,7 @@ void DlgSettingsFemElmerImp::onfileNameChanged(QString FileName) QMessageBox::critical(this, tr("File does not exist"), tr("The specified executable\n'%1'\n does not exist!\n" - "Specify another file please.") + "Specify another file.") .arg(FileName)); } } diff --git a/src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui b/src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui index be630db29f..98cfe834c4 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui +++ b/src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui @@ -28,7 +28,7 @@ - Working directory for solving analysis and Gmsh meshing + Working Directory for Solving Analysis and Gmsh Meshing @@ -184,7 +184,7 @@ - Path: + Path 10 @@ -276,7 +276,7 @@ true - Create mesh groups for analysis reference shapes (highly experimental) + Create mesh groups for analysis reference shapes (experimental) false diff --git a/src/Mod/Fem/Gui/DlgSettingsFemGmsh.ui b/src/Mod/Fem/Gui/DlgSettingsFemGmsh.ui index eceddf9a99..d86711d295 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemGmsh.ui +++ b/src/Mod/Fem/Gui/DlgSettingsFemGmsh.ui @@ -26,7 +26,7 @@ Qt::LeftToRight - Gmsh binary + Gmsh Binary Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop diff --git a/src/Mod/Fem/Gui/DlgSettingsFemGmshImp.cpp b/src/Mod/Fem/Gui/DlgSettingsFemGmshImp.cpp index c5b789f117..eecdd566d3 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemGmshImp.cpp +++ b/src/Mod/Fem/Gui/DlgSettingsFemGmshImp.cpp @@ -90,7 +90,7 @@ void DlgSettingsFemGmshImp::onfileNameChanged(QString FileName) QMessageBox::critical(this, tr("File does not exist"), tr("The specified executable\n'%1'\n does not exist!\n" - "Specify another file please.") + "Specify another file.") .arg(FileName)); } } diff --git a/src/Mod/Fem/Gui/DlgSettingsFemMystran.ui b/src/Mod/Fem/Gui/DlgSettingsFemMystran.ui index 0513f101c7..f8c5e82b28 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemMystran.ui +++ b/src/Mod/Fem/Gui/DlgSettingsFemMystran.ui @@ -26,7 +26,7 @@ Qt::LeftToRight - Mystran binary + Mystran Binary Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop diff --git a/src/Mod/Fem/Gui/DlgSettingsFemMystranImp.cpp b/src/Mod/Fem/Gui/DlgSettingsFemMystranImp.cpp index 39840d1870..d5eef4e3bb 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemMystranImp.cpp +++ b/src/Mod/Fem/Gui/DlgSettingsFemMystranImp.cpp @@ -80,7 +80,7 @@ void DlgSettingsFemMystranImp::onfileNameChanged(QString FileName) QMessageBox::critical(this, tr("File does not exist"), tr("The specified executable\n'%1'\n does not exist!\n" - "Specify another file please.") + "Specify another file.") .arg(FileName)); } } diff --git a/src/Mod/Fem/Gui/DlgSettingsFemZ88.ui b/src/Mod/Fem/Gui/DlgSettingsFemZ88.ui index 856dacd0e9..6eca0d916e 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemZ88.ui +++ b/src/Mod/Fem/Gui/DlgSettingsFemZ88.ui @@ -26,7 +26,7 @@ Qt::LeftToRight - Z88 binary + Z88 Binary Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -135,7 +135,7 @@ Qt::LeftToRight - Solver settings + Solver Settings Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -237,7 +237,7 @@ that "MAXGS" needs to be increased. - Max places in coincidence vector + Maximum places in coincidence vector diff --git a/src/Mod/Fem/Gui/DlgSettingsFemZ88Imp.cpp b/src/Mod/Fem/Gui/DlgSettingsFemZ88Imp.cpp index 46afdac3f6..91cab3df54 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemZ88Imp.cpp +++ b/src/Mod/Fem/Gui/DlgSettingsFemZ88Imp.cpp @@ -106,7 +106,7 @@ void DlgSettingsFemZ88Imp::onfileNameChanged(QString FileName) QMessageBox::critical(this, tr("File does not exist"), tr("The specified z88r executable\n'%1'\n does not exist!\n" - "Specify another file please.") + "Specify another file.") .arg(FileName)); return; } diff --git a/src/Mod/Fem/Gui/PlaneWidget.ui b/src/Mod/Fem/Gui/PlaneWidget.ui index a4b7c5ec59..81cf1d0ef2 100644 --- a/src/Mod/Fem/Gui/PlaneWidget.ui +++ b/src/Mod/Fem/Gui/PlaneWidget.ui @@ -23,7 +23,7 @@ - x + X @@ -40,7 +40,7 @@ - y + Y @@ -57,7 +57,7 @@ - z + Z @@ -83,7 +83,7 @@ - x + X @@ -100,7 +100,7 @@ - y + Y @@ -117,7 +117,7 @@ - z + Z diff --git a/src/Mod/Fem/Gui/Resources/ui/BodyHeatSource.ui b/src/Mod/Fem/Gui/Resources/ui/BodyHeatSource.ui index 50a3fd7461..85e0344003 100644 --- a/src/Mod/Fem/Gui/Resources/ui/BodyHeatSource.ui +++ b/src/Mod/Fem/Gui/Resources/ui/BodyHeatSource.ui @@ -11,7 +11,7 @@ - Analysis feature properties + Analysis Feature Properties @@ -32,7 +32,7 @@ - Mode: + Mode @@ -42,7 +42,7 @@ - Total Power: + Total power @@ -83,7 +83,7 @@ - Dissipation Rate: + Dissipation rate diff --git a/src/Mod/Fem/Gui/Resources/ui/ConstraintCentrif.ui b/src/Mod/Fem/Gui/Resources/ui/ConstraintCentrif.ui index e658e30b70..d2d8ea2005 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ConstraintCentrif.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ConstraintCentrif.ui @@ -11,7 +11,7 @@ - Centrif parameter + Centrif Parameter @@ -31,7 +31,7 @@ - Rotation Frequency: + Rotation frequency diff --git a/src/Mod/Fem/Gui/Resources/ui/ConstraintSectionPrint.ui b/src/Mod/Fem/Gui/Resources/ui/ConstraintSectionPrint.ui index 3e40f33bb6..b527d15572 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ConstraintSectionPrint.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ConstraintSectionPrint.ui @@ -11,7 +11,7 @@ - SectionPrint parameter + Section Print Parameter diff --git a/src/Mod/Fem/Gui/Resources/ui/ConstraintTie.ui b/src/Mod/Fem/Gui/Resources/ui/ConstraintTie.ui index c33c39b6eb..b553ebcd85 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ConstraintTie.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ConstraintTie.ui @@ -11,7 +11,7 @@ - Tie parameter + Tie Parameter @@ -60,7 +60,7 @@ - Enable Adjust + Enable adjust diff --git a/src/Mod/Fem/Gui/Resources/ui/CurrentDensity.ui b/src/Mod/Fem/Gui/Resources/ui/CurrentDensity.ui index b3030d591b..ec83aeddb9 100644 --- a/src/Mod/Fem/Gui/Resources/ui/CurrentDensity.ui +++ b/src/Mod/Fem/Gui/Resources/ui/CurrentDensity.ui @@ -11,7 +11,7 @@ - Analysis feature properties + Analysis Feature Properties @@ -20,13 +20,13 @@ - Select Custom mode to enable vector current density + Select custom mode to enable vector current density - Mode: + Mode @@ -75,7 +75,7 @@ with harmonic/oscillating driving current - x + X @@ -126,7 +126,7 @@ with harmonic/oscillating driving current - y + Y @@ -177,7 +177,7 @@ with harmonic/oscillating driving current - z + Z @@ -260,7 +260,7 @@ with harmonic/oscillating driving current - Normal: + Normal diff --git a/src/Mod/Fem/Gui/Resources/ui/ElectricChargeDensity.ui b/src/Mod/Fem/Gui/Resources/ui/ElectricChargeDensity.ui index 77def88519..ae6d8e76e7 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ElectricChargeDensity.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ElectricChargeDensity.ui @@ -11,7 +11,7 @@ - Analysis feature properties + Analysis Feature Properties @@ -22,7 +22,7 @@ - Mode: + Mode @@ -52,7 +52,7 @@ - Density: + Density @@ -95,7 +95,7 @@ - Density: + Density @@ -138,7 +138,7 @@ - Total Charge: + Total charge diff --git a/src/Mod/Fem/Gui/Resources/ui/ElectrostaticPotential.ui b/src/Mod/Fem/Gui/Resources/ui/ElectrostaticPotential.ui index 50fc5e15c5..7d4ffb0def 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ElectrostaticPotential.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ElectrostaticPotential.ui @@ -11,7 +11,7 @@ - Analysis feature properties + Analysis Feature Properties @@ -23,7 +23,7 @@ - Boundary Condition: + Boundary condition @@ -47,7 +47,7 @@ - Potential: + Potential @@ -81,7 +81,7 @@ To define scalar potential and magnetic vector potential - Electromagnetic Potential + Electromagnetic potential true @@ -191,7 +191,7 @@ with a harmonic/oscillating driving force true - x + X @@ -254,7 +254,7 @@ Note: has no effect if a solid was selected true - y + Y @@ -317,7 +317,7 @@ Note: has no effect if a solid was selected true - z + Z @@ -388,7 +388,7 @@ Note: has no effect if a solid was selected Whether the boundary condition defines a farfield potential - Electric Infinity + Electric infinity @@ -398,7 +398,7 @@ Note: has no effect if a solid was selected Whether the boundary condition defines a constant potential - Potential Constant + Potential constant @@ -416,7 +416,7 @@ Note: has no effect if a solid was selected - Electric Flux Density: + Electric flux density @@ -442,10 +442,10 @@ Note: has no effect if a solid was selected - Capacitance Body: + Capacitance body - Enabled by 'Calculate Capacity Matrix' in Electrostatic equation + Enabled by 'Calculate capacity matrix' in Electrostatic equation diff --git a/src/Mod/Fem/Gui/Resources/ui/ElementFluid1D.ui b/src/Mod/Fem/Gui/Resources/ui/ElementFluid1D.ui index 35779494cd..4fde05b58d 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ElementFluid1D.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ElementFluid1D.ui @@ -42,7 +42,7 @@ - Liquid Section Parameter + Liquid section parameter @@ -61,7 +61,7 @@ - Pipe Area + Pipe area @@ -82,7 +82,7 @@ - Hydraulic Radius + Hydraulic radius @@ -103,7 +103,7 @@ - Manning Coefficient + Manning coefficient @@ -131,7 +131,7 @@ - Initial Area + Initial area @@ -152,7 +152,7 @@ - Enlarged Area + Enlarged area @@ -177,7 +177,7 @@ - Initial Area + Initial area @@ -198,7 +198,7 @@ - Contracted Area + Contracted area @@ -366,7 +366,7 @@ - Pipe Area + Pipe area @@ -387,7 +387,7 @@ - Entrance Area + Entrance area @@ -412,7 +412,7 @@ - Pipe Area + Pipe area @@ -433,7 +433,7 @@ - Diaphragm Area + Diaphragm area @@ -458,7 +458,7 @@ - Pipe Area + Pipe area @@ -479,7 +479,7 @@ - Bend Radius/Pipe Diameter + Bend radius / pipe diameter @@ -506,7 +506,7 @@ - Bend Angle + Bend angle @@ -558,7 +558,7 @@ - Pipe Area + Pipe area @@ -610,7 +610,7 @@ - Pump Characteristic + Pump characteristic @@ -714,7 +714,7 @@ - Pipe Area + Pipe area @@ -735,7 +735,7 @@ - Hydraulic Radius + Hydraulic radius @@ -826,7 +826,7 @@ - Gas Section Parameter + Gas section parameter @@ -840,7 +840,7 @@ - Open Channel Section Parameter + Open channel section parameter diff --git a/src/Mod/Fem/Gui/Resources/ui/ElementGeometry1D.ui b/src/Mod/Fem/Gui/Resources/ui/ElementGeometry1D.ui index 0c3559333b..b28f2951ff 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ElementGeometry1D.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ElementGeometry1D.ui @@ -11,13 +11,13 @@ - Beam section parameter + Beam Section Parameter - Cross section parameter + Cross-Section Parameter @@ -38,7 +38,7 @@ - Width: + Width @@ -64,7 +64,7 @@ - Height: + Height @@ -101,7 +101,7 @@ - Diameter: + Diameter @@ -138,7 +138,7 @@ - Outer diameter: + Outer diameter @@ -164,7 +164,7 @@ - Thickness: + Thickness @@ -201,7 +201,7 @@ - Axis1 Length: + Axis1 length @@ -233,7 +233,7 @@ - Axis2 Length: + Axis2 length @@ -276,7 +276,7 @@ - Height: + Height @@ -308,7 +308,7 @@ - Width: + Width @@ -340,7 +340,7 @@ - T1 Thickness: + T1 thickness @@ -372,7 +372,7 @@ - T2 Thickness: + T2 thickness @@ -404,7 +404,7 @@ - T3 Thickness: + T3 thickness @@ -436,7 +436,7 @@ - T4 Thickness: + T4 thickness diff --git a/src/Mod/Fem/Gui/Resources/ui/ElementGeometry2D.ui b/src/Mod/Fem/Gui/Resources/ui/ElementGeometry2D.ui index ff687edf8a..3b5d663c23 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ElementGeometry2D.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ElementGeometry2D.ui @@ -11,7 +11,7 @@ - Shell thickness parameter + Shell Thickness Parameter @@ -34,7 +34,7 @@ - Thickness: + Thickness diff --git a/src/Mod/Fem/Gui/Resources/ui/ElementRotation1D.ui b/src/Mod/Fem/Gui/Resources/ui/ElementRotation1D.ui index c01b66b142..ebb7a85999 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ElementRotation1D.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ElementRotation1D.ui @@ -11,13 +11,13 @@ - Beam section rotation + Beam Section Rotation - Cross section parameter + Cross-Section Parameter @@ -86,7 +86,7 @@ - Rotation: + Rotation diff --git a/src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui b/src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui index 8f02645e72..6241a06bbb 100644 --- a/src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui +++ b/src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui @@ -11,7 +11,7 @@ - Analysis feature properties + Analysis Feature Properties @@ -22,14 +22,14 @@ false - formula + Formula - unspecified + Unspecified true @@ -39,7 +39,7 @@ - Velocity x: + Velocity X @@ -70,21 +70,21 @@ false - formula + Formula - Velocity y: + Velocity Y - unspecified + Unspecified true @@ -115,7 +115,7 @@ - unspecified + Unspecified true @@ -128,14 +128,14 @@ false - formula + Formula - Velocity z: + Velocity Z diff --git a/src/Mod/Fem/Gui/Resources/ui/InitialFlowVelocity.ui b/src/Mod/Fem/Gui/Resources/ui/InitialFlowVelocity.ui index 2df9fc21bf..b051e2e788 100644 --- a/src/Mod/Fem/Gui/Resources/ui/InitialFlowVelocity.ui +++ b/src/Mod/Fem/Gui/Resources/ui/InitialFlowVelocity.ui @@ -11,7 +11,7 @@ - Analysis feature properties + Analysis Feature Properties @@ -22,14 +22,14 @@ false - formula + Formula - unspecified + Unspecified true @@ -39,7 +39,7 @@ - Velocity x: + Velocity X @@ -70,21 +70,21 @@ false - formula + Formula - Velocity y: + Velocity Y - unspecified + Unspecified true @@ -115,7 +115,7 @@ - unspecified + Unspecified true @@ -128,14 +128,14 @@ false - formula + Formula - Velocity z: + Velocity Z diff --git a/src/Mod/Fem/Gui/Resources/ui/InitialPressure.ui b/src/Mod/Fem/Gui/Resources/ui/InitialPressure.ui index 741dc19567..603c70983e 100644 --- a/src/Mod/Fem/Gui/Resources/ui/InitialPressure.ui +++ b/src/Mod/Fem/Gui/Resources/ui/InitialPressure.ui @@ -11,13 +11,13 @@ - Analysis feature properties + Analysis Feature Properties - Pressure: + Pressure diff --git a/src/Mod/Fem/Gui/Resources/ui/Magnetization.ui b/src/Mod/Fem/Gui/Resources/ui/Magnetization.ui index 86aa5b930e..29e57a4ab2 100644 --- a/src/Mod/Fem/Gui/Resources/ui/Magnetization.ui +++ b/src/Mod/Fem/Gui/Resources/ui/Magnetization.ui @@ -11,7 +11,7 @@ - Analysis feature properties + Analysis Feature Properties @@ -53,7 +53,7 @@ with harmonic/oscillating driving current - x + X @@ -104,7 +104,7 @@ with harmonic/oscillating driving current - y + Y @@ -155,7 +155,7 @@ with harmonic/oscillating driving current - z + Z diff --git a/src/Mod/Fem/Gui/Resources/ui/Material.ui b/src/Mod/Fem/Gui/Resources/ui/Material.ui index dea6f96b2b..e0975b7b69 100755 --- a/src/Mod/Fem/Gui/Resources/ui/Material.ui +++ b/src/Mod/Fem/Gui/Resources/ui/Material.ui @@ -11,7 +11,7 @@ - FEM material + FEM Material @@ -37,7 +37,7 @@ - Density: + Density @@ -99,7 +99,7 @@ - Young's Modulus: + Young's modulus @@ -139,7 +139,7 @@ - Poisson Ratio: + Poisson ratio @@ -198,7 +198,7 @@ - Kinematic Viscosity: + Kinematic viscosity @@ -260,7 +260,7 @@ - Thermal Conductivity: + Thermal conductivity @@ -300,7 +300,7 @@ - Expansion Coefficient: + Expansion coefficient @@ -340,7 +340,7 @@ - Reference Temperature: + Reference temperature Reference temperature for thermal expansion @@ -383,7 +383,7 @@ - Specific Heat Capacity: + Specific heat capacity diff --git a/src/Mod/Fem/Gui/Resources/ui/MaterialReinforcement.ui b/src/Mod/Fem/Gui/Resources/ui/MaterialReinforcement.ui index 78a7372b82..b6ba6e5e06 100755 --- a/src/Mod/Fem/Gui/Resources/ui/MaterialReinforcement.ui +++ b/src/Mod/Fem/Gui/Resources/ui/MaterialReinforcement.ui @@ -11,7 +11,7 @@ - FEM material reinforcement + FEM Material Reinforcement Qt::LeftToRight diff --git a/src/Mod/Fem/Gui/Resources/ui/MeshBoundaryLayer.ui b/src/Mod/Fem/Gui/Resources/ui/MeshBoundaryLayer.ui index dd86713cab..7dc153ceb0 100644 --- a/src/Mod/Fem/Gui/Resources/ui/MeshBoundaryLayer.ui +++ b/src/Mod/Fem/Gui/Resources/ui/MeshBoundaryLayer.ui @@ -11,7 +11,7 @@ - Mesh boundary layer settings + Mesh Boundary Layer Settings @@ -31,7 +31,7 @@ - Max Layers + Maximum layers @@ -48,7 +48,7 @@ - Min/1st thickness + Minimum/1st thickness diff --git a/src/Mod/Fem/Gui/Resources/ui/MeshGmsh.ui b/src/Mod/Fem/Gui/Resources/ui/MeshGmsh.ui index 368ecb6493..a34639eb46 100644 --- a/src/Mod/Fem/Gui/Resources/ui/MeshGmsh.ui +++ b/src/Mod/Fem/Gui/Resources/ui/MeshGmsh.ui @@ -34,7 +34,7 @@ - Element Dimension: + Element dimension @@ -44,7 +44,7 @@ - Maximum Size: + Maximum size @@ -82,7 +82,7 @@ - Minimum Size: + Minimum size @@ -123,7 +123,7 @@ - Element Order: + Element order @@ -169,7 +169,7 @@ - Time: + Time @@ -195,7 +195,7 @@ - Gmsh version + Gmsh Version diff --git a/src/Mod/Fem/Gui/Resources/ui/MeshGroup.ui b/src/Mod/Fem/Gui/Resources/ui/MeshGroup.ui index 42ca395ad7..0cc8c41909 100644 --- a/src/Mod/Fem/Gui/Resources/ui/MeshGroup.ui +++ b/src/Mod/Fem/Gui/Resources/ui/MeshGroup.ui @@ -11,7 +11,7 @@ - Mesh group + Mesh Group @@ -23,7 +23,7 @@ - Identifier used for mesh export + Identifier Used for Mesh Export diff --git a/src/Mod/Fem/Gui/Resources/ui/MeshGroupXDMFExport.ui b/src/Mod/Fem/Gui/Resources/ui/MeshGroupXDMFExport.ui index aa55e691db..8d168c2035 100644 --- a/src/Mod/Fem/Gui/Resources/ui/MeshGroupXDMFExport.ui +++ b/src/Mod/Fem/Gui/Resources/ui/MeshGroupXDMFExport.ui @@ -20,7 +20,7 @@ - Mesh groups detected. Please choose values for the different groups. + Mesh groups detected. Choose values for the different groups. diff --git a/src/Mod/Fem/Gui/Resources/ui/MeshNetgen.ui b/src/Mod/Fem/Gui/Resources/ui/MeshNetgen.ui index 24907dd711..e5f0c45d4f 100644 --- a/src/Mod/Fem/Gui/Resources/ui/MeshNetgen.ui +++ b/src/Mod/Fem/Gui/Resources/ui/MeshNetgen.ui @@ -34,7 +34,7 @@ - Fineness: + Fineness @@ -44,7 +44,7 @@ - Maximum Size: + Maximum size @@ -79,7 +79,7 @@ - Minimum Size: + Minimum size @@ -114,14 +114,14 @@ - Second Order + Second order - Growth Rate: + Growth rate @@ -144,7 +144,7 @@ - Curvature Safety: + Curvature safety @@ -161,7 +161,7 @@ - Segments Per Edge: + Segments per edge @@ -217,7 +217,7 @@ - Time: + Time @@ -243,7 +243,7 @@ - Netgen version + Netgen Version diff --git a/src/Mod/Fem/Gui/Resources/ui/MeshRegion.ui b/src/Mod/Fem/Gui/Resources/ui/MeshRegion.ui index 99929c556b..b77fae80f1 100644 --- a/src/Mod/Fem/Gui/Resources/ui/MeshRegion.ui +++ b/src/Mod/Fem/Gui/Resources/ui/MeshRegion.ui @@ -11,7 +11,7 @@ - Mesh refinement + Mesh Refinement @@ -34,7 +34,7 @@ - Max element size: + Maximum element size diff --git a/src/Mod/Fem/Gui/Resources/ui/PostHistogramFieldAppEdit.ui b/src/Mod/Fem/Gui/Resources/ui/PostHistogramFieldAppEdit.ui index feca6591da..f9508c65d0 100644 --- a/src/Mod/Fem/Gui/Resources/ui/PostHistogramFieldAppEdit.ui +++ b/src/Mod/Fem/Gui/Resources/ui/PostHistogramFieldAppEdit.ui @@ -31,7 +31,7 @@ - Field: + Field @@ -58,7 +58,7 @@ - Frames: + Frames diff --git a/src/Mod/Fem/Gui/Resources/ui/PostHistogramFieldViewEdit.ui b/src/Mod/Fem/Gui/Resources/ui/PostHistogramFieldViewEdit.ui index 5fe4a7d3dc..c971d0b3c6 100644 --- a/src/Mod/Fem/Gui/Resources/ui/PostHistogramFieldViewEdit.ui +++ b/src/Mod/Fem/Gui/Resources/ui/PostHistogramFieldViewEdit.ui @@ -86,7 +86,7 @@ - Lines: + Lines @@ -109,7 +109,7 @@ - Bars: + Bars @@ -119,7 +119,7 @@ - Legend: + Legend diff --git a/src/Mod/Fem/Gui/Resources/ui/PostHistogramIndexAppEdit.ui b/src/Mod/Fem/Gui/Resources/ui/PostHistogramIndexAppEdit.ui index 496f42229b..ec19dfcc03 100644 --- a/src/Mod/Fem/Gui/Resources/ui/PostHistogramIndexAppEdit.ui +++ b/src/Mod/Fem/Gui/Resources/ui/PostHistogramIndexAppEdit.ui @@ -31,7 +31,7 @@ - Field: + Field @@ -58,7 +58,7 @@ - Index: + Index diff --git a/src/Mod/Fem/Gui/Resources/ui/PostLineplotFieldAppEdit.ui b/src/Mod/Fem/Gui/Resources/ui/PostLineplotFieldAppEdit.ui index 33f36cf245..32f300dca4 100644 --- a/src/Mod/Fem/Gui/Resources/ui/PostLineplotFieldAppEdit.ui +++ b/src/Mod/Fem/Gui/Resources/ui/PostLineplotFieldAppEdit.ui @@ -29,7 +29,7 @@ - X Field: + X field @@ -56,7 +56,7 @@ - Y Field: + Y field @@ -83,7 +83,7 @@ - Frames: + Frames diff --git a/src/Mod/Fem/Gui/Resources/ui/PostLineplotFieldViewEdit.ui b/src/Mod/Fem/Gui/Resources/ui/PostLineplotFieldViewEdit.ui index f197016d12..bdc8866852 100644 --- a/src/Mod/Fem/Gui/Resources/ui/PostLineplotFieldViewEdit.ui +++ b/src/Mod/Fem/Gui/Resources/ui/PostLineplotFieldViewEdit.ui @@ -31,7 +31,7 @@ - Marker: + Marker @@ -59,7 +59,7 @@ - Legend: + Legend @@ -84,7 +84,7 @@ - Line: + Line diff --git a/src/Mod/Fem/Gui/Resources/ui/PostLineplotIndexAppEdit.ui b/src/Mod/Fem/Gui/Resources/ui/PostLineplotIndexAppEdit.ui index ba4ab0ead3..2fd3e8dc35 100644 --- a/src/Mod/Fem/Gui/Resources/ui/PostLineplotIndexAppEdit.ui +++ b/src/Mod/Fem/Gui/Resources/ui/PostLineplotIndexAppEdit.ui @@ -29,7 +29,7 @@ - Y Field: + Y field @@ -56,7 +56,7 @@ - Index: + Index diff --git a/src/Mod/Fem/Gui/Resources/ui/PostTableFieldViewEdit.ui b/src/Mod/Fem/Gui/Resources/ui/PostTableFieldViewEdit.ui index 6b3000248a..7119dad94d 100644 --- a/src/Mod/Fem/Gui/Resources/ui/PostTableFieldViewEdit.ui +++ b/src/Mod/Fem/Gui/Resources/ui/PostTableFieldViewEdit.ui @@ -39,7 +39,7 @@ - Name: + Name diff --git a/src/Mod/Fem/Gui/Resources/ui/ResultHints.ui b/src/Mod/Fem/Gui/Resources/ui/ResultHints.ui index 1f0b12cb90..3ebf9535a3 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ResultHints.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ResultHints.ui @@ -11,13 +11,13 @@ - Hints user defined equations + Hints User-Defined Equations - Available result types: + Available Result Types diff --git a/src/Mod/Fem/Gui/Resources/ui/ResultShow.ui b/src/Mod/Fem/Gui/Resources/ui/ResultShow.ui index d2e43b1a46..57b92ff9b3 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ResultShow.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ResultShow.ui @@ -11,7 +11,7 @@ - Show result + Show Result @@ -23,7 +23,7 @@ - Result type + Result Type @@ -53,7 +53,7 @@ - Displacement Magnitude + Displacement magnitude @@ -80,7 +80,7 @@ - Max Principal Stress + Maximum principal stress @@ -100,7 +100,7 @@ - Min Principal Stress + Minimum principal stress @@ -120,7 +120,7 @@ - Max Shear Stress (Tresca) + Maximum shear stress (Tresca) @@ -133,14 +133,14 @@ - Equivalent Plastic Strain + Equivalent plastic strain - Mass Flow Rate + Mass flow rate @@ -160,7 +160,7 @@ - Network Pressure + Network pressure @@ -178,7 +178,7 @@ - Min: + Minimum @@ -198,7 +198,7 @@ - Max: + Maximum @@ -309,7 +309,7 @@ false - Slider Max + Slider maximum @@ -379,7 +379,7 @@ - Number of Steps per Cycle + Number of steps per cycle @@ -426,7 +426,7 @@ - Number of Cycles + Number of cycles @@ -464,7 +464,7 @@ - Frame Rate + Frame rate @@ -519,7 +519,7 @@ - User defined equation + User-Defined Equation diff --git a/src/Mod/Fem/Gui/Resources/ui/SolverCalculiX.ui b/src/Mod/Fem/Gui/Resources/ui/SolverCalculiX.ui index 890991abe1..cc4f0869b6 100644 --- a/src/Mod/Fem/Gui/Resources/ui/SolverCalculiX.ui +++ b/src/Mod/Fem/Gui/Resources/ui/SolverCalculiX.ui @@ -17,7 +17,7 @@ - Working Directory + Working directory @@ -63,7 +63,7 @@ - ... + @@ -83,7 +83,7 @@ - Analysis Type: + Analysis type @@ -123,7 +123,7 @@ - Time: + Time diff --git a/src/Mod/Fem/Gui/Resources/ui/SolverCcxTools.ui b/src/Mod/Fem/Gui/Resources/ui/SolverCcxTools.ui index 7e7f8d9ec8..dba5117f6a 100644 --- a/src/Mod/Fem/Gui/Resources/ui/SolverCcxTools.ui +++ b/src/Mod/Fem/Gui/Resources/ui/SolverCcxTools.ui @@ -11,13 +11,13 @@ - Mechanical analysis + Mechanical Analysis - Working directory + Working Directory @@ -42,7 +42,7 @@ true - ... + @@ -52,7 +52,7 @@ - Analysis type + Analysis Type @@ -107,7 +107,7 @@ - Write .inp file + Write .inp File @@ -117,7 +117,7 @@ false - Edit .inp file + Edit .inp File @@ -148,7 +148,7 @@ - Time: + Time diff --git a/src/Mod/Fem/Gui/Resources/ui/TaskPostGlyph.ui b/src/Mod/Fem/Gui/Resources/ui/TaskPostGlyph.ui index 84fde6626e..abe03aab00 100644 --- a/src/Mod/Fem/Gui/Resources/ui/TaskPostGlyph.ui +++ b/src/Mod/Fem/Gui/Resources/ui/TaskPostGlyph.ui @@ -11,7 +11,7 @@ - Glyph settings + Glyph Settings @@ -308,10 +308,10 @@ true - Defines the maximal number of vertices used for "Uniform Sampling" masking mode + Defines the maximum number of vertices used for "Uniform Sampling" masking mode - Max + Maximum diff --git a/src/Mod/Fem/Gui/Resources/ui/TaskPostHistogram.ui b/src/Mod/Fem/Gui/Resources/ui/TaskPostHistogram.ui index a753071f9a..e98462d1e0 100644 --- a/src/Mod/Fem/Gui/Resources/ui/TaskPostHistogram.ui +++ b/src/Mod/Fem/Gui/Resources/ui/TaskPostHistogram.ui @@ -11,7 +11,7 @@ - Glyph settings + Glyph Settings Qt::LeftToRight @@ -153,7 +153,7 @@ - Y Axis + Y-axis diff --git a/src/Mod/Fem/Gui/Resources/ui/TaskPostLineplot.ui b/src/Mod/Fem/Gui/Resources/ui/TaskPostLineplot.ui index bec95e063f..6535921604 100644 --- a/src/Mod/Fem/Gui/Resources/ui/TaskPostLineplot.ui +++ b/src/Mod/Fem/Gui/Resources/ui/TaskPostLineplot.ui @@ -11,7 +11,7 @@ - Glyph settings + Glyph Settings Qt::LeftToRight @@ -132,7 +132,7 @@ - Y Axis + Y-axis @@ -145,7 +145,7 @@ If the scale data is a vector this property decides if the glyph is scaled by vector magnitude or by the individual components - X Axis + X-axis diff --git a/src/Mod/Fem/Gui/SphereWidget.ui b/src/Mod/Fem/Gui/SphereWidget.ui index a89fe1ed18..1137a0afed 100644 --- a/src/Mod/Fem/Gui/SphereWidget.ui +++ b/src/Mod/Fem/Gui/SphereWidget.ui @@ -23,7 +23,7 @@ - x + X @@ -46,7 +46,7 @@ - y + Y @@ -69,7 +69,7 @@ - z + Z diff --git a/src/Mod/Fem/Gui/TaskAnalysisInfo.ui b/src/Mod/Fem/Gui/TaskAnalysisInfo.ui index a331f2d928..05a18a54e1 100644 --- a/src/Mod/Fem/Gui/TaskAnalysisInfo.ui +++ b/src/Mod/Fem/Gui/TaskAnalysisInfo.ui @@ -29,7 +29,7 @@ - Meshes: + Meshes diff --git a/src/Mod/Fem/Gui/TaskCreateElementSet.ui b/src/Mod/Fem/Gui/TaskCreateElementSet.ui index 00006588f4..2ea54bc06b 100644 --- a/src/Mod/Fem/Gui/TaskCreateElementSet.ui +++ b/src/Mod/Fem/Gui/TaskCreateElementSet.ui @@ -32,7 +32,7 @@ - Erase Elements by Polygon + Erase elements by polygon @@ -53,7 +53,7 @@ - Delete New Meshes + Delete new meshes @@ -74,7 +74,7 @@ - Copy Result Mesh + Copy result mesh diff --git a/src/Mod/Fem/Gui/TaskCreateNodeSet.ui b/src/Mod/Fem/Gui/TaskCreateNodeSet.ui index 8df736b3b6..3111157d1a 100644 --- a/src/Mod/Fem/Gui/TaskCreateNodeSet.ui +++ b/src/Mod/Fem/Gui/TaskCreateNodeSet.ui @@ -93,7 +93,7 @@ - Angle-search + Angle-Search @@ -108,7 +108,7 @@ - Stop angle: + Stop angle diff --git a/src/Mod/Fem/Gui/TaskFemConstraint.ui b/src/Mod/Fem/Gui/TaskFemConstraint.ui index 3507f1a03e..f084306ead 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraint.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraint.ui @@ -20,7 +20,7 @@ - Add reference + Add Reference diff --git a/src/Mod/Fem/Gui/TaskFemConstraintBearing.cpp b/src/Mod/Fem/Gui/TaskFemConstraintBearing.cpp index 3d7ef0d44b..dc867d86be 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintBearing.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintBearing.cpp @@ -166,10 +166,9 @@ void TaskFemConstraintBearing::onSelectionChanged(const Gui::SelectionChanges& m std::vector SubElements = pcConstraint->References.getSubValues(); if (!Objects.empty()) { - QMessageBox::warning( - this, - tr("Selection error"), - tr("Please use only a single reference for bearing constraint")); + QMessageBox::warning(this, + tr("Selection error"), + tr("Use only a single reference for bearing constraint")); return; } if (subName.substr(0, 4) != "Face") { diff --git a/src/Mod/Fem/Gui/TaskFemConstraintBearing.ui b/src/Mod/Fem/Gui/TaskFemConstraintBearing.ui index 367a53b500..8a2e3a5a17 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintBearing.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintBearing.ui @@ -17,7 +17,7 @@ - Add reference + Add Reference diff --git a/src/Mod/Fem/Gui/TaskFemConstraintContact.ui b/src/Mod/Fem/Gui/TaskFemConstraintContact.ui index 3fca07dde2..0ff3b4e419 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintContact.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintContact.ui @@ -154,7 +154,7 @@ - Contact Stiffness + Contact stiffness @@ -177,7 +177,7 @@ - Clearance Adjustment + Clearance adjustment @@ -200,14 +200,14 @@ - Enable Friction + Enable friction - Friction Coefficient + Friction coefficient @@ -230,7 +230,7 @@ - Stick Slope + Stick slope diff --git a/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.ui b/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.ui index ec311c8ec8..4b5868c51e 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.ui @@ -38,7 +38,7 @@ - Click Add or Remove and select geometric element(s) + Click Add or Remove and select geometric elements @@ -104,7 +104,7 @@ - Displacement x + Displacement X true @@ -137,7 +137,7 @@ for the Elmer solver - Displacement y + Displacement Y true @@ -170,7 +170,7 @@ for the Elmer solver - Displacement z + Displacement Z true @@ -229,7 +229,7 @@ generated by the flow - Rotations are only valid for Beam and Shell elements. + Rotations are only valid for beam and shell elements false @@ -242,7 +242,7 @@ generated by the flow - Rotation x + Rotation X true @@ -261,7 +261,7 @@ generated by the flow - Rotation y + Rotation Y true @@ -280,7 +280,7 @@ generated by the flow - Rotation z + Rotation Z true diff --git a/src/Mod/Fem/Gui/TaskFemConstraintFixed.ui b/src/Mod/Fem/Gui/TaskFemConstraintFixed.ui index 09c0d6b836..a0f9dd16d8 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintFixed.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintFixed.ui @@ -17,7 +17,7 @@ - Click Add or Remove and select geometric element(s) + Click Add or Remove and select geometric elements diff --git a/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp b/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp index de5947fd17..8f5088640a 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp @@ -630,7 +630,7 @@ void TaskFemConstraintFluidBoundary::onButtonDirection(const bool pressed) // get vector of selected objects of active document std::vector selection = Gui::Selection().getSelectionEx(); if (selection.empty()) { - QMessageBox::warning(this, tr("Empty selection"), tr("Select an edge or a face, please.")); + QMessageBox::warning(this, tr("Empty selection"), tr("Select an edge or a face.")); return; } Fem::ConstraintFluidBoundary* pcConstraint = diff --git a/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.ui b/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.ui index ad3b78fe1c..25c2f793e2 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.ui @@ -67,7 +67,7 @@ - Select multiple face(s), click Add or Remove + Select multiple faces, click Add or Remove diff --git a/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp b/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp index 861656318d..d95938440e 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp @@ -308,7 +308,7 @@ void TaskFemConstraintForce::onButtonDirection(const bool pressed) auto link = getDirection(Gui::Selection().getSelectionEx()); if (!link.first) { - QMessageBox::warning(this, tr("Wrong selection"), tr("Select an edge or a face, please.")); + QMessageBox::warning(this, tr("Wrong selection"), tr("Select an edge or a face.")); return; } diff --git a/src/Mod/Fem/Gui/TaskFemConstraintForce.ui b/src/Mod/Fem/Gui/TaskFemConstraintForce.ui index 7b46ea0ec9..156af8b330 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintForce.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintForce.ui @@ -29,7 +29,7 @@ - Click Add or Remove and select geometric element(s) + Click Add or Remove and select geometric elements diff --git a/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui b/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui index aaf9c32964..8e1c79a829 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui @@ -11,13 +11,13 @@ - Task Fem Heat flux Load + Task Heat Flux Load - Click Add or Remove and select face(s) + Click Add or Remove and select faces @@ -67,7 +67,7 @@ - Constraint Type + Constraint type @@ -93,7 +93,7 @@ - Surface Heat Flux + Surface heat flux @@ -130,7 +130,7 @@ - Film Coefficient + Film coefficient @@ -153,7 +153,7 @@ - Ambient Temperature + Ambient temperature @@ -215,7 +215,7 @@ - Ambient Temperature + Ambient temperature diff --git a/src/Mod/Fem/Gui/TaskFemConstraintInitialTemperature.ui b/src/Mod/Fem/Gui/TaskFemConstraintInitialTemperature.ui index d4af9edc9e..b2b11f469c 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintInitialTemperature.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintInitialTemperature.ui @@ -17,7 +17,7 @@ - Insert component's initial temperature: + Initial temperature Qt::AlignCenter diff --git a/src/Mod/Fem/Gui/TaskFemConstraintPressure.ui b/src/Mod/Fem/Gui/TaskFemConstraintPressure.ui index 85e8e899f8..9fb6bc5228 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintPressure.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintPressure.ui @@ -17,7 +17,7 @@ - Click Add or Remove and select face(s) + Click Add or Remove and select faces @@ -84,7 +84,7 @@ - Reverse Direction + Reverse direction diff --git a/src/Mod/Fem/Gui/TaskFemConstraintRigidBody.ui b/src/Mod/Fem/Gui/TaskFemConstraintRigidBody.ui index ac004e91f5..c6bb3f9d1d 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintRigidBody.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintRigidBody.ui @@ -17,7 +17,7 @@ - Click Add or Remove and select geometric element(s) + Click Add or Remove and select geometric elements @@ -80,7 +80,7 @@ - X: + X @@ -103,7 +103,7 @@ - Y: + Y @@ -126,7 +126,7 @@ - Z: + Z @@ -180,21 +180,21 @@ - X: + X - Y: + Y - Z: + Z @@ -228,21 +228,21 @@ - X: + X - Y: + Y - Z: + Z @@ -306,21 +306,21 @@ - X: + X - Y: + Y - Z: + Z @@ -397,21 +397,21 @@ - X: + X - Y: + Y - Z: + Z @@ -445,21 +445,21 @@ - X: + X - Y: + Y - Z: + Z @@ -496,7 +496,7 @@ - Angle: + Angle @@ -534,21 +534,21 @@ - X: + X - Y: + Y - Z: + Z diff --git a/src/Mod/Fem/Gui/TaskFemConstraintSpring.ui b/src/Mod/Fem/Gui/TaskFemConstraintSpring.ui index 5161d3912e..3a829a55d2 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintSpring.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintSpring.ui @@ -17,7 +17,7 @@ - Click Add or Remove and select face(s) + Click Add or Remove and select faces @@ -72,7 +72,7 @@ - Normal Stiffness + Normal stiffness @@ -95,7 +95,7 @@ - Tangential Stiffness + Tangential stiffness @@ -119,8 +119,7 @@ - What stiffness should be -used for the Elmer solver + Stiffness used for the Elmer solver diff --git a/src/Mod/Fem/Gui/TaskFemConstraintTemperature.ui b/src/Mod/Fem/Gui/TaskFemConstraintTemperature.ui index e989be71b3..803ad8d08c 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintTemperature.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintTemperature.ui @@ -29,7 +29,7 @@ - Click Add or Remove and select geometric element(s) + Click Add or Remove and select geometric elements diff --git a/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp b/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp index c8c006f680..4b399e1737 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp @@ -200,7 +200,7 @@ TaskFemConstraintTransform::TaskFemConstraintTransform( if ((p == 0) && (!Objects.empty())) { QMessageBox::warning(this, tr("Analysis feature update error"), - tr("The transformable faces have changed. Please add only the " + tr("The transformable faces have changed. Add only the " "transformable faces and remove non-transformable faces!")); return; } diff --git a/src/Mod/Fem/Gui/TaskFemConstraintTransform.ui b/src/Mod/Fem/Gui/TaskFemConstraintTransform.ui index 9adc553c4d..731c9f2c6c 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintTransform.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintTransform.ui @@ -113,7 +113,7 @@ - X: + X @@ -130,7 +130,7 @@ - Y: + Y @@ -147,7 +147,7 @@ - Z: + Z @@ -164,7 +164,7 @@ - Angle: + Angle @@ -187,7 +187,7 @@ - Transformable surfaces + Transformable Surfaces @@ -206,7 +206,7 @@ - Transformable surfaces + Transformable Surfaces diff --git a/src/Mod/Fem/Gui/TaskPanelConstraintTemperature.ui b/src/Mod/Fem/Gui/TaskPanelConstraintTemperature.ui index dc9187866b..48e30dbfdc 100644 --- a/src/Mod/Fem/Gui/TaskPanelConstraintTemperature.ui +++ b/src/Mod/Fem/Gui/TaskPanelConstraintTemperature.ui @@ -23,7 +23,7 @@ - Select the vertices, lines and surfaces: + Select the vertices, lines and surfaces @@ -36,7 +36,7 @@ - Temperature: + Temperature diff --git a/src/Mod/Fem/Gui/TaskPanelInitialTemperature.ui b/src/Mod/Fem/Gui/TaskPanelInitialTemperature.ui index 9503786806..7d74680d51 100644 --- a/src/Mod/Fem/Gui/TaskPanelInitialTemperature.ui +++ b/src/Mod/Fem/Gui/TaskPanelInitialTemperature.ui @@ -23,8 +23,7 @@ - Insert component's - initial temperature: + Initial temperature Qt::AlignCenter @@ -40,7 +39,7 @@ - Temperature: + Temperature diff --git a/src/Mod/Fem/Gui/TaskPostBoxes.cpp b/src/Mod/Fem/Gui/TaskPostBoxes.cpp index e50bb0bf98..1166da49f8 100644 --- a/src/Mod/Fem/Gui/TaskPostBoxes.cpp +++ b/src/Mod/Fem/Gui/TaskPostBoxes.cpp @@ -436,7 +436,7 @@ TaskPostDisplay::TaskPostDisplay(ViewProviderFemPostObject* view, QWidget* paren // setup the ui ui->setupUi(this); setWindowTitle( - tr("Result display options")); // set title here as setupUi overrides the constructor title + tr("Result Display Options")); // set title here as setupUi overrides the constructor title setupConnections(); // update all fields @@ -608,7 +608,7 @@ TaskPostBranch::TaskPostBranch(ViewProviderFemPostBranchFilter* view, QWidget* p { // setup the ui ui->setupUi(this); - setWindowTitle(tr("Branch behaviour")); + setWindowTitle(tr("Branch Behaviour")); setupConnections(); // populate the data @@ -663,7 +663,7 @@ TaskPostDataAlongLine::TaskPostDataAlongLine(ViewProviderFemPostDataAlongLine* v { // setup the ui ui->setupUi(this); - setWindowTitle(tr("Data along a line options")); + setWindowTitle(tr("Data Along a Line Options")); setupConnectionsStep1(); QSize size = ui->point1X->sizeForText(QStringLiteral("000000000000")); @@ -1084,7 +1084,7 @@ TaskPostDataAtPoint::TaskPostDataAtPoint(ViewProviderFemPostDataAtPoint* view, Q { // setup the ui ui->setupUi(this); - setWindowTitle(tr("Data at point options")); + setWindowTitle(tr("Data at Point Options")); setupConnections(); QSize size = ui->centerX->sizeForText(QStringLiteral("000000000000")); @@ -1442,7 +1442,7 @@ TaskPostClip::TaskPostClip(ViewProviderFemPostClip* view, // setup the ui ui->setupUi(this); - setWindowTitle(tr("Clip region, choose implicit function")); + setWindowTitle(tr("Clip Region, Choose Implicit Function")); setupConnections(); // the layout for the container widget @@ -1593,7 +1593,7 @@ TaskPostContours::TaskPostContours(ViewProviderFemPostContours* view, QWidget* p { // setup the ui ui->setupUi(this); - setWindowTitle(tr("Contours filter options")); + setWindowTitle(tr("Contours Filter Options")); QMetaObject::connectSlotsByName(this); auto obj = getObject(); @@ -1752,7 +1752,7 @@ TaskPostCut::TaskPostCut(ViewProviderFemPostCut* view, App::PropertyLink* functi // setup the ui ui->setupUi(this); - setWindowTitle(tr("Function cut, choose implicit function")); + setWindowTitle(tr("Function Cut, Choose Implicit Function")); setupConnections(); // the layout for the container widget @@ -1885,7 +1885,7 @@ TaskPostScalarClip::TaskPostScalarClip(ViewProviderFemPostScalarClip* view, QWid { // setup the ui ui->setupUi(this); - setWindowTitle(tr("Scalar clip options")); + setWindowTitle(tr("Scalar Clip Options")); setupConnections(); // load the default values @@ -2006,7 +2006,7 @@ TaskPostWarpVector::TaskPostWarpVector(ViewProviderFemPostWarpVector* view, QWid { // setup the ui ui->setupUi(this); - setWindowTitle(tr("Warp options")); + setWindowTitle(tr("Warp Options")); setupConnections(); // load the default values for warp display diff --git a/src/Mod/Fem/Gui/TaskPostCalculator.ui b/src/Mod/Fem/Gui/TaskPostCalculator.ui index 3d90b1eea0..1c81400c96 100644 --- a/src/Mod/Fem/Gui/TaskPostCalculator.ui +++ b/src/Mod/Fem/Gui/TaskPostCalculator.ui @@ -25,7 +25,7 @@ - Field Name: + Field name @@ -59,7 +59,7 @@ - Scalars: + Scalars @@ -69,7 +69,7 @@ - Vectors: + Vectors @@ -79,7 +79,7 @@ - Operators: + Operators @@ -99,7 +99,7 @@ - Replace invalid data: + Replace invalid data Replacement value for invalid operations diff --git a/src/Mod/Fem/Gui/TaskPostClip.ui b/src/Mod/Fem/Gui/TaskPostClip.ui index 70bdd19377..65560a37d3 100644 --- a/src/Mod/Fem/Gui/TaskPostClip.ui +++ b/src/Mod/Fem/Gui/TaskPostClip.ui @@ -70,14 +70,14 @@ - Inside Out + Inside out - Cut Cells + Cut cells diff --git a/src/Mod/Fem/Gui/TaskPostContours.ui b/src/Mod/Fem/Gui/TaskPostContours.ui index eb6bd9df53..18ebb8fa20 100644 --- a/src/Mod/Fem/Gui/TaskPostContours.ui +++ b/src/Mod/Fem/Gui/TaskPostContours.ui @@ -22,7 +22,7 @@ - Vector: + Vector @@ -32,7 +32,7 @@ - Field: + Field @@ -45,7 +45,7 @@ - Number of contours: + Number of contours @@ -84,7 +84,7 @@ - Relaxation Factor: + Relaxation factor diff --git a/src/Mod/Fem/Gui/TaskPostDataAlongLine.ui b/src/Mod/Fem/Gui/TaskPostDataAlongLine.ui index 4c3e0fc6c5..ccaff5656d 100644 --- a/src/Mod/Fem/Gui/TaskPostDataAlongLine.ui +++ b/src/Mod/Fem/Gui/TaskPostDataAlongLine.ui @@ -61,7 +61,7 @@ - x + X @@ -100,7 +100,7 @@ - y + Y @@ -139,7 +139,7 @@ - z + Z diff --git a/src/Mod/Fem/Gui/TaskPostDataAtPoint.ui b/src/Mod/Fem/Gui/TaskPostDataAtPoint.ui index 8450a5f73b..502b578632 100644 --- a/src/Mod/Fem/Gui/TaskPostDataAtPoint.ui +++ b/src/Mod/Fem/Gui/TaskPostDataAtPoint.ui @@ -26,7 +26,7 @@ - x + X @@ -55,7 +55,7 @@ - y + Y @@ -84,7 +84,7 @@ - z + Z @@ -119,7 +119,7 @@ - Value: + Value diff --git a/src/Mod/Fem/Gui/TaskPostExtraction.cpp b/src/Mod/Fem/Gui/TaskPostExtraction.cpp index e61033957c..1c80786c8b 100644 --- a/src/Mod/Fem/Gui/TaskPostExtraction.cpp +++ b/src/Mod/Fem/Gui/TaskPostExtraction.cpp @@ -53,7 +53,7 @@ TaskPostExtraction::TaskPostExtraction(ViewProviderFemPostObject* view, QWidget* // we load the python implementation, and try to get the widget from it, to add // directly our widget - setWindowTitle(tr("Data and extractions")); + setWindowTitle(tr("Data and Extractions")); Base::PyGILStateLocker lock; diff --git a/src/Mod/Fem/Gui/TaskPostExtraction.ui b/src/Mod/Fem/Gui/TaskPostExtraction.ui index 7387ffb7de..3e528b76a4 100644 --- a/src/Mod/Fem/Gui/TaskPostExtraction.ui +++ b/src/Mod/Fem/Gui/TaskPostExtraction.ui @@ -59,7 +59,7 @@ - Data used in: + Data used in Qt::AlignmentFlag::AlignBottom|Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft diff --git a/src/Mod/Fem/Gui/TaskPostFrames.ui b/src/Mod/Fem/Gui/TaskPostFrames.ui index a799044291..1377e138b1 100644 --- a/src/Mod/Fem/Gui/TaskPostFrames.ui +++ b/src/Mod/Fem/Gui/TaskPostFrames.ui @@ -31,14 +31,14 @@ - Type of frames: + Type of frames - Ressonance Frequencies + Ressonance frequencies diff --git a/src/Mod/Fem/Gui/TaskPostScalarClip.ui b/src/Mod/Fem/Gui/TaskPostScalarClip.ui index 4f843e6a33..82f6d7a18e 100644 --- a/src/Mod/Fem/Gui/TaskPostScalarClip.ui +++ b/src/Mod/Fem/Gui/TaskPostScalarClip.ui @@ -98,7 +98,7 @@ - Min scalar + Minimum scalar @@ -118,7 +118,7 @@ Qt::LeftToRight - Max scalar + Maximum scalar Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter diff --git a/src/Mod/Fem/Gui/TaskPostWarpVector.ui b/src/Mod/Fem/Gui/TaskPostWarpVector.ui index 9c080ff08c..66e0d94e2e 100644 --- a/src/Mod/Fem/Gui/TaskPostWarpVector.ui +++ b/src/Mod/Fem/Gui/TaskPostWarpVector.ui @@ -95,7 +95,7 @@ - Min warp + Minimum warp @@ -115,7 +115,7 @@ Qt::LeftToRight - Max warp + Maximum warp Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter diff --git a/src/Mod/Fem/Gui/TaskTetParameter.ui b/src/Mod/Fem/Gui/TaskTetParameter.ui index 7ad2b55f93..2048aaaae0 100644 --- a/src/Mod/Fem/Gui/TaskTetParameter.ui +++ b/src/Mod/Fem/Gui/TaskTetParameter.ui @@ -25,7 +25,7 @@ - Max. Size: + Maximum size @@ -43,7 +43,7 @@ - Min. Size: + Minimum size @@ -68,7 +68,7 @@ - Fineness: + Fineness @@ -112,7 +112,7 @@ - Growth Rate: + Growth rate @@ -126,7 +126,7 @@ - Number of Segments per Edge: + Number of segments per edge @@ -143,7 +143,7 @@ - Number of Segments per Radius: + Number of segments per radius @@ -181,7 +181,7 @@ - Node count: + Node count @@ -195,7 +195,7 @@ - Triangle count: + Triangle count @@ -209,7 +209,7 @@ - Tetrahedron count: + Tetrahedron count diff --git a/src/Mod/Fem/Gui/ViewProviderAnalysis.cpp b/src/Mod/Fem/Gui/ViewProviderAnalysis.cpp index 1aaff2ab6b..44ab249090 100644 --- a/src/Mod/Fem/Gui/ViewProviderAnalysis.cpp +++ b/src/Mod/Fem/Gui/ViewProviderAnalysis.cpp @@ -161,7 +161,7 @@ void ViewProviderFemAnalysis::show() void ViewProviderFemAnalysis::setupContextMenu(QMenu* menu, QObject*, const char*) { Gui::ActionFunction* func = new Gui::ActionFunction(menu); - QAction* act = menu->addAction(tr("Activate analysis")); + QAction* act = menu->addAction(tr("Activate Analysis")); func->trigger(act, [this]() { this->doubleClicked(); }); diff --git a/src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp b/src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp index 040e9194cc..c49ca9abd9 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp @@ -156,7 +156,7 @@ std::vector ViewProviderFemConstraint::claimChildren() con void ViewProviderFemConstraint::setupContextMenu(QMenu* menu, QObject* receiver, const char* member) { QAction* act; - act = menu->addAction(QObject::tr("Edit analysis feature"), receiver, member); + act = menu->addAction(QObject::tr("Edit Analysis Feature"), receiver, member); act->setData(QVariant((int)ViewProvider::Default)); ViewProviderGeometryObject::setupContextMenu(menu, receiver, diff --git a/src/Mod/Fem/Gui/Workbench.cpp b/src/Mod/Fem/Gui/Workbench.cpp index 31f396fbe9..ac530a3023 100644 --- a/src/Mod/Fem/Gui/Workbench.cpp +++ b/src/Mod/Fem/Gui/Workbench.cpp @@ -47,20 +47,20 @@ using namespace FemGui; qApp->translate("Workbench", "&Materials"); qApp->translate("Workbench", "Element Geometry"); qApp->translate("Workbench", "&Element Geometry"); - qApp->translate("Workbench", "Electrostatic boundary conditions"); - qApp->translate("Workbench", "&Electrostatic boundary conditions"); - qApp->translate("Workbench", "Fluid boundary conditions"); - qApp->translate("Workbench", "&Fluid boundary conditions"); - qApp->translate("Workbench", "Electromagnetic boundary conditions"); - qApp->translate("Workbench", "&Electromagnetic boundary conditions"); - qApp->translate("Workbench", "Geometrical analysis features"); - qApp->translate("Workbench", "&Geometrical analysis features"); - qApp->translate("Workbench", "Mechanical boundary conditions and loads"); - qApp->translate("Workbench", "&Mechanical boundary conditions and loads"); - qApp->translate("Workbench", "Thermal boundary conditions and loads"); - qApp->translate("Workbench", "&Thermal boundary conditions and loads"); - qApp->translate("Workbench", "Analysis features without solver"); - qApp->translate("Workbench", "&Analysis features without solver"); + qApp->translate("Workbench", "Electrostatic Boundary Conditions"); + qApp->translate("Workbench", "&Electrostatic Boundary Conditions"); + qApp->translate("Workbench", "Fluid Boundary Conditions"); + qApp->translate("Workbench", "&Fluid Boundary Conditions"); + qApp->translate("Workbench", "Electromagnetic Boundary Conditions"); + qApp->translate("Workbench", "&Electromagnetic Boundary Conditions"); + qApp->translate("Workbench", "Geometrical Analysis Features"); + qApp->translate("Workbench", "&Geometrical Analysis Features"); + qApp->translate("Workbench", "Mechanical Boundary Conditions and Loads"); + qApp->translate("Workbench", "&Mechanical Boundary Conditions and Loads"); + qApp->translate("Workbench", "Thermal Boundary Conditions and Loads"); + qApp->translate("Workbench", "&Thermal Boundary Conditions and Loads"); + qApp->translate("Workbench", "Analysis Features Without Solver"); + qApp->translate("Workbench", "&Analysis Features Without Solver"); qApp->translate("Workbench", "Overwrite Constants"); qApp->translate("Workbench", "&Overwrite Constants"); // @@ -72,8 +72,8 @@ using namespace FemGui; // qApp->translate("Workbench", "Results"); qApp->translate("Workbench", "&Results"); - qApp->translate("Workbench", "Filter functions"); - qApp->translate("Workbench", "&Filter functions"); + qApp->translate("Workbench", "Filter Functions"); + qApp->translate("Workbench", "&Filter Functions"); // qApp->translate("Workbench", "Utilities"); #endif @@ -114,24 +114,24 @@ Gui::ToolBarItem* Workbench::setupToolBars() const << "FEM_ElementFluid1D"; Gui::ToolBarItem* electromag = new Gui::ToolBarItem(root); - electromag->setCommand("Electromagnetic boundary conditions"); + electromag->setCommand("Electromagnetic Boundary Conditions"); *electromag << "FEM_CompEmConstraints"; Gui::ToolBarItem* fluid = new Gui::ToolBarItem(root); - fluid->setCommand("Fluid boundary conditions"); + fluid->setCommand("Fluid Boundary Conditions"); *fluid << "FEM_ConstraintInitialFlowVelocity" << "FEM_ConstraintInitialPressure" << "Separator" << "FEM_ConstraintFlowVelocity"; Gui::ToolBarItem* geom = new Gui::ToolBarItem(root); - geom->setCommand("Geometrical analysis features"); + geom->setCommand("Geometrical Analysis Features"); *geom << "FEM_ConstraintPlaneRotation" << "FEM_ConstraintSectionPrint" << "FEM_ConstraintTransform"; Gui::ToolBarItem* mech = new Gui::ToolBarItem(root); - mech->setCommand("Mechanical boundary conditions and loads"); + mech->setCommand("Mechanical Boundary Conditions and Loads"); *mech << "FEM_ConstraintFixed" << "FEM_ConstraintRigidBody" << "FEM_ConstraintDisplacement" @@ -145,7 +145,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const << "FEM_ConstraintSelfWeight"; Gui::ToolBarItem* thermal = new Gui::ToolBarItem(root); - thermal->setCommand("Thermal boundary conditions and loads"); + thermal->setCommand("Thermal Boundary Conditions and Loads"); *thermal << "FEM_ConstraintInitialTemperature" << "Separator" << "FEM_ConstraintHeatflux" @@ -251,27 +251,27 @@ Gui::MenuItem* Workbench::setupMenuBar() const << "FEM_ElementFluid1D"; Gui::MenuItem* elec = new Gui::MenuItem; - elec->setCommand("&Electromagnetic boundary conditions"); + elec->setCommand("&Electromagnetic Boundary Conditions"); *elec << "FEM_ConstraintElectrostaticPotential" << "FEM_ConstraintCurrentDensity" << "FEM_ConstraintMagnetization" << "FEM_ConstraintElectricChargeDensity"; Gui::MenuItem* fluid = new Gui::MenuItem; - fluid->setCommand("&Fluid boundary conditions"); + fluid->setCommand("&Fluid Boundary Conditions"); *fluid << "FEM_ConstraintInitialFlowVelocity" << "FEM_ConstraintInitialPressure" << "Separator" << "FEM_ConstraintFlowVelocity"; Gui::MenuItem* geom = new Gui::MenuItem; - geom->setCommand("&Geometrical analysis features"); + geom->setCommand("&Geometrical Analysis Features"); *geom << "FEM_ConstraintPlaneRotation" << "FEM_ConstraintSectionPrint" << "FEM_ConstraintTransform"; Gui::MenuItem* mech = new Gui::MenuItem; - mech->setCommand("&Mechanical boundary conditions and loads"); + mech->setCommand("&Mechanical Boundary Conditions and Loads"); *mech << "FEM_ConstraintFixed" << "FEM_ConstraintRigidBody" << "FEM_ConstraintDisplacement" @@ -285,7 +285,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const << "FEM_ConstraintSelfWeight"; Gui::MenuItem* thermal = new Gui::MenuItem; - thermal->setCommand("&Thermal boundary conditions and loads"); + thermal->setCommand("&Thermal Boundary Conditions and Loads"); *thermal << "FEM_ConstraintInitialTemperature" << "Separator" << "FEM_ConstraintHeatflux" diff --git a/src/Mod/Fem/femcommands/commands.py b/src/Mod/Fem/femcommands/commands.py index 5d662074be..061561cd26 100644 --- a/src/Mod/Fem/femcommands/commands.py +++ b/src/Mod/Fem/femcommands/commands.py @@ -57,7 +57,7 @@ class _Analysis(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_Analysis", "Analysis container") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_Analysis", "New Analysis") self.accel = "S, A" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_Analysis", "Creates an analysis container with default solver" @@ -92,9 +92,9 @@ class _ClippingPlaneAdd(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ClippingPlaneAdd", "Clipping plane on face") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ClippingPlaneAdd", "Clipping Plane on Face") self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_ClippingPlaneAdd", "Add a clipping plane on a selected face" + "FEM_ClippingPlaneAdd", "Adds a clipping plane on a selected face" ) self.is_active = "with_document" @@ -147,7 +147,7 @@ class _ClippingPlaneRemoveAll(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_ClippingPlaneRemoveAll", "Remove all clipping planes" + "FEM_ClippingPlaneRemoveAll", "Remove all Clipping Planes" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ClippingPlaneRemoveAll", "Removes all clipping planes" @@ -171,11 +171,11 @@ class _ConstantVacuumPermittivity(CommandManager): super().__init__() self.pixmap = "fem-solver-analysis-thermomechanical.svg" self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_ConstantVacuumPermittivity", "Constant vacuum permittivity" + "FEM_ConstantVacuumPermittivity", "Constant Vacuum Permittivity" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstantVacuumPermittivity", - "Creates a FEM constant vacuum permittivity to overwrite standard value", + "Creates a constant vacuum permittivity to overwrite standard value", ) self.is_active = "with_document" self.is_active = "with_analysis" @@ -188,7 +188,7 @@ class _ConstraintBodyHeatSource(CommandManager): def __init__(self): super().__init__() self.pixmap = "FEM_ConstraintBodyHeatSource" - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintBodyHeatSource", "Body heat source") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintBodyHeatSource", "Body Heat Source") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintBodyHeatSource", "Creates a body heat source" ) @@ -201,7 +201,7 @@ class _ConstraintCentrif(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintCentrif", "Centrifugal load") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintCentrif", "Centrifugal Load") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintCentrif", "Creates a centrifugal load") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -214,7 +214,7 @@ class _ConstraintCurrentDensity(CommandManager): super().__init__() self.pixmap = "FEM_ConstraintCurrentDensity" self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_ConstraintCurrentDensity", "Current density boundary condition" + "FEM_ConstraintCurrentDensity", "Current Density Boundary Condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintCurrentDensity", @@ -231,10 +231,10 @@ class _ConstraintElectricChargeDensity(CommandManager): super().__init__() self.pixmap = "FEM_ConstraintElectricChargeDensity" self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_ConstraintElectricChargeDensity", "Electric charge density" + "FEM_ConstraintElectricChargeDensity", "Electric Charge Density" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_ConstraintElectricChargeDensity", "Creates a electric charge density" + "FEM_ConstraintElectricChargeDensity", "Creates an electric charge density" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -247,7 +247,7 @@ class _ConstraintElectrostaticPotential(CommandManager): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintElectrostaticPotential", - "Electrostatic potential boundary condition", + "Electrostatic Potential Boundary Condition", ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintElectrostaticPotential", @@ -263,7 +263,7 @@ class _ConstraintFlowVelocity(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_ConstraintFlowVelocity", "Flow velocity boundary condition" + "FEM_ConstraintFlowVelocity", "Flow Velocity Boundary Condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintFlowVelocity", "Creates a flow velocity boundary condition" @@ -278,11 +278,11 @@ class _ConstraintInitialFlowVelocity(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_ConstraintInitialFlowVelocity", "Initial flow velocity condition" + "FEM_ConstraintInitialFlowVelocity", "Initial Flow Velocity Condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintInitialFlowVelocity", - "Creates initial flow velocity condition", + "Creates an initial flow velocity condition", ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -294,7 +294,7 @@ class _ConstraintInitialPressure(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_ConstraintInitialPressure", "Initial pressure condition" + "FEM_ConstraintInitialPressure", "Initial Pressure Condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintInitialPressure", "Creates an initial pressure condition" @@ -309,7 +309,7 @@ class _ConstraintMagnetization(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_ConstraintMagnetization", "Magnetization boundary condition" + "FEM_ConstraintMagnetization", "Magnetization Boundary Condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintMagnetization", "Creates a magnetization boundary condition" @@ -323,7 +323,7 @@ class _ConstraintSectionPrint(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintSectionPrint", "Section print feature") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintSectionPrint", "Section Print Feature") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintSectionPrint", "Creates a section print feature" ) @@ -336,7 +336,7 @@ class _ConstraintSelfWeight(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintSelfWeight", "Gravity load") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintSelfWeight", "Gravity Load") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintSelfWeight", "Creates a gravity load") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_noset_edit" @@ -347,7 +347,7 @@ class _ConstraintTie(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintTie", "Tie constraint") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintTie", "Tie Constraint") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintTie", "Creates a tie constraint") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -358,9 +358,9 @@ class _ElementFluid1D(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementFluid1D", "Fluid section for 1D flow") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementFluid1D", "Fluid Section for 1D Flow") self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_ElementFluid1D", "Creates a FEM fluid section for 1D flow" + "FEM_ElementFluid1D", "Creates a fluid section for 1D flow" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -371,10 +371,8 @@ class _ElementGeometry1D(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementGeometry1D", "Beam cross section") - self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_ElementGeometry1D", "Creates a FEM beam cross section" - ) + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementGeometry1D", "Beam Cross Section") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ElementGeometry1D", "Creates a beam cross section") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -384,9 +382,9 @@ class _ElementGeometry2D(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementGeometry2D", "Shell plate thickness") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementGeometry2D", "Shell Plate Thickness") self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_ElementGeometry2D", "Creates a FEM shell plate thickness" + "FEM_ElementGeometry2D", "Creates a shell plate thickness" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -397,8 +395,8 @@ class _ElementRotation1D(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementRotation1D", "Beam rotation") - self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ElementRotation1D", "Creates a FEM beam rotation") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementRotation1D", "Beam Rotation") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ElementRotation1D", "Creates a beam rotation") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_noset_edit" @@ -408,10 +406,10 @@ class _EquationDeformation(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationDeformation", "Deformation equation") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationDeformation", "Deformation Equation") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_EquationDeformation", - "Creates a FEM equation for deformation (nonlinear elasticity)", + "Creates an equation for deformation (nonlinear elasticity)", ) self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -422,9 +420,9 @@ class _EquationElasticity(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationElasticity", "Elasticity equation") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationElasticity", "Elasticity Equation") self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_EquationElasticity", "Creates a FEM equation for elasticity (stress)" + "FEM_EquationElasticity", "Creates an equation for elasticity (stress)" ) self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -435,9 +433,9 @@ class _EquationElectricforce(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationElectricforce", "Electricforce equation") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationElectricforce", "Electricforce Equation") self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_EquationElectricforce", "Creates a FEM equation for electric forces" + "FEM_EquationElectricforce", "Creates an equation for electric forces" ) self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -448,9 +446,9 @@ class _EquationElectrostatic(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationElectrostatic", "Electrostatic equation") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationElectrostatic", "Electrostatic Equation") self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_EquationElectrostatic", "Creates a FEM equation for electrostatic" + "FEM_EquationElectrostatic", "Creates an equation for electrostatic" ) self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -461,8 +459,8 @@ class _EquationFlow(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationFlow", "Flow equation") - self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_EquationFlow", "Creates a FEM equation for flow") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationFlow", "Flow Equation") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_EquationFlow", "Creates an equation for flow") self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -472,8 +470,8 @@ class _EquationFlux(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationFlux", "Flux equation") - self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_EquationFlux", "Creates a FEM equation for flux") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationFlux", "Flux Equation") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_EquationFlux", "Creates an equation for flux") self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -483,8 +481,8 @@ class _EquationHeat(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationHeat", "Heat equation") - self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_EquationHeat", "Creates a FEM equation for heat") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationHeat", "Heat Equation") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_EquationHeat", "Creates an equation for heat") self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -495,11 +493,11 @@ class _EquationMagnetodynamic(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_EquationMagnetodynamic", "Magnetodynamic equation" + "FEM_EquationMagnetodynamic", "Magnetodynamic Equation" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_EquationMagnetodynamic", - "Creates a FEM equation for magnetodynamic forces", + "Creates an equation for magnetodynamic forces", ) self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -511,11 +509,11 @@ class _EquationMagnetodynamic2D(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_EquationMagnetodynamic2D", "Magnetodynamic2D equation" + "FEM_EquationMagnetodynamic2D", "Magnetodynamic2D Equation" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_EquationMagnetodynamic2D", - "Creates a FEM equation for 2D magnetodynamic forces", + "Creates an equation for 2D magnetodynamic forces", ) self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -526,9 +524,9 @@ class _EquationStaticCurrent(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationStaticCurrent", "Static current equation") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationStaticCurrent", "Static Current Equation") self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_EquationStaticCurrent", "Creates a FEM equation for static current" + "FEM_EquationStaticCurrent", "Creates an equation for static current" ) self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_expand_noset_edit" @@ -540,7 +538,7 @@ class _Examples(CommandManager): def __init__(self): super().__init__() self.pixmap = "FemWorkbench" - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_Examples", "Open FEM examples") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_Examples", "FEM Examples") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_Examples", "Opens the FEM examples") self.is_active = "always" @@ -555,7 +553,7 @@ class _MaterialEditor(CommandManager): def __init__(self): super().__init__() self.pixmap = "Arch_Material_Group" - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialEditor", "Material editor") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialEditor", "Material Editor") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MaterialEditor", "Opens the FreeCAD material editor" ) @@ -571,8 +569,8 @@ class _MaterialFluid(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "Material for fluid") - self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "Creates a FEM material for fluid") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "Fluid Material") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "Creates a fluid material") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -583,10 +581,10 @@ class _MaterialMechanicalNonlinear(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_MaterialMechanicalNonlinear", "Nonlinear mechanical material" + "FEM_MaterialMechanicalNonlinear", "Non-Linear Mechanical Material" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_MaterialMechanicalNonlinear", "Creates a nonlinear mechanical material" + "FEM_MaterialMechanicalNonlinear", "Creates a non-linear mechanical material" ) self.is_active = "with_material_solid" @@ -650,7 +648,7 @@ class _MaterialReinforced(CommandManager): def __init__(self): super().__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_MaterialReinforced", "Reinforced material (concrete)" + "FEM_MaterialReinforced", "Reinforced Material (Concrete)" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MaterialReinforced", @@ -665,9 +663,9 @@ class _MaterialSolid(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialSolid", "Material for solid") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialSolid", "Solid Material") self.accel = "M, S" - self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MaterialSolid", "Creates a FEM material for solid") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MaterialSolid", "Creates a solid material") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -677,7 +675,7 @@ class _FEMMesh2Mesh(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_FEMMesh2Mesh", "FEM mesh to mesh") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_FEMMesh2Mesh", "FEM Mesh to Mesh") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_FEMMesh2Mesh", "Converts the surface of a FEM mesh to a mesh" ) @@ -719,9 +717,9 @@ class _MeshBoundaryLayer(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshBoundaryLayer", "FEM mesh boundary layer") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshBoundaryLayer", "Mesh Boundary Layer") self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_MeshBoundaryLayer", "Creates a FEM mesh boundary layer" + "FEM_MeshBoundaryLayer", "Creates a mesh boundary layer" ) self.is_active = "with_gmsh_femmesh" self.do_activated = "add_obj_on_gui_selobj_set_edit" @@ -732,8 +730,8 @@ class _MeshClear(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshClear", "Clear FEM mesh") - self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MeshClear", "Clears the Mesh of a FEM mesh object") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshClear", "Clear FEM Mesh") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MeshClear", "Clears the mesh of a FEM mesh object") self.is_active = "with_femmesh" def Activated(self): @@ -752,7 +750,7 @@ class _MeshDisplayInfo(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshDisplayInfo", "Display FEM mesh info") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshDisplayInfo", "Display Mesh Info") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MeshDisplayInfo", "Displays FEM mesh information") self.is_active = "with_femmesh" @@ -776,7 +774,7 @@ class _MeshGmshFromShape(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshGmshFromShape", "FEM mesh from shape by Gmsh") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshGmshFromShape", "Mesh From Shape by Gmsh") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MeshGmshFromShape", "Creates a FEM mesh from a shape by Gmsh mesher" ) @@ -826,8 +824,8 @@ class _MeshGroup(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshGroup", "FEM mesh group") - self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MeshGroup", "Creates a FEM mesh group") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshGroup", "Mesh Group") + self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MeshGroup", "Creates a mesh group") self.is_active = "with_gmsh_femmesh" self.do_activated = "add_obj_on_gui_selobj_set_edit" @@ -837,9 +835,7 @@ class _MeshNetgenFromShape(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP( - "FEM_MeshNetgenFromShape", "FEM mesh from shape by Netgen" - ) + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshNetgenFromShape", "Mesh From Shape by Netgen") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MeshNetgenFromShape", "Creates a FEM mesh from a solid or face shape by Netgen internal mesher", @@ -893,7 +889,7 @@ class _MeshRegion(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshRegion", "FEM mesh refinement") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshRegion", "Mesh Refinement") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MeshRegion", "Creates a FEM mesh refinement") self.is_active = "with_femmesh" self.do_activated = "add_obj_on_gui_selobj_set_edit" @@ -904,10 +900,10 @@ class _ResultShow(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ResultShow", "Show result") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ResultShow", "Show Result") self.accel = "R, S" self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_ResultShow", "Shows and visualizes selected result data" + "FEM_ResultShow", "Shows and visualizes the selected result data" ) self.is_active = "with_selresult" @@ -920,10 +916,10 @@ class _ResultsPurge(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ResultsPurge", "Purge results") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ResultsPurge", "Purge Results") self.accel = "R, P" self.tooltip = Qt.QT_TRANSLATE_NOOP( - "FEM_ResultsPurge", "Purges all results from active analysis" + "FEM_ResultsPurge", "Purges all results from the active analysis" ) self.is_active = "with_analysis" @@ -1091,7 +1087,7 @@ class _SolverControl(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverControl", "Solver job control") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverControl", "Solver Job Control") self.accel = "S, T" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_SolverControl", @@ -1159,7 +1155,7 @@ class _SolverRun(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverRun", "Run solver calculations") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverRun", "Run Solver") self.accel = "S, R" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_SolverRun", "Runs the calculations for the selected solver" @@ -1222,11 +1218,11 @@ class _PostFilterGlyph(CommandManager): def __init__(self): super().__init__() - self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_PostFilterGlyph", "Glyph filter") + self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_PostFilterGlyph", "Glyph Filter") self.accel = "F, G" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_PostFilterGlyph", - "Post processing filter that adds glyphs to the mesh vertices for vertex data visualization", + "Adds a post-processing filter that adds glyphs to the mesh vertices for vertex data visualization", ) self.is_active = "with_vtk_selresult" self.do_activated = "add_filter_set_edit" diff --git a/src/Mod/Fem/femguiutils/data_extraction.py b/src/Mod/Fem/femguiutils/data_extraction.py index dfe0cea7f8..7ff7bee9b2 100644 --- a/src/Mod/Fem/femguiutils/data_extraction.py +++ b/src/Mod/Fem/femguiutils/data_extraction.py @@ -105,7 +105,7 @@ class DataExtraction(_BasePostTaskPanel): def showSummary(self): dialog = QtGui.QDialog(self.widget) - dialog.setWindowTitle(f"Data summary of {self.Object.Label}") + dialog.setWindowTitle(f"Data Summary of {self.Object.Label}") widget = vtk_table_view.VtkTableView(self.summary_model) layout = QtGui.QVBoxLayout() layout.addWidget(widget) diff --git a/src/Mod/Fem/femguiutils/disambiguate_solid_selection.py b/src/Mod/Fem/femguiutils/disambiguate_solid_selection.py index 543885350f..c74fd82d75 100644 --- a/src/Mod/Fem/femguiutils/disambiguate_solid_selection.py +++ b/src/Mod/Fem/femguiutils/disambiguate_solid_selection.py @@ -142,9 +142,7 @@ def disambiguate_solid_selection( # Build menu menu_of_solids = QtGui.QMenu() - label = menu_of_solids.addAction( - "Selected entity belongs to multiple solids, please pick one ..." - ) + label = menu_of_solids.addAction("Selected entity belongs to multiple solids, pick one…") label.setDisabled(True) for index in solid_indices: diff --git a/src/Mod/Fem/femguiutils/extract_link_view.py b/src/Mod/Fem/femguiutils/extract_link_view.py index eec8ba6927..c5fcef014f 100644 --- a/src/Mod/Fem/femguiutils/extract_link_view.py +++ b/src/Mod/Fem/femguiutils/extract_link_view.py @@ -207,7 +207,7 @@ class _ElideToolButton(QtGui.QToolButton): # we add the margin between icon and text txt_size -= margin - txt_min = fm.boundingRect("...").width() + txt_min = fm.boundingRect("…").width() # should we center the icon? xpos = margin diff --git a/src/Mod/Fem/femguiutils/selection_widgets.py b/src/Mod/Fem/femguiutils/selection_widgets.py index 1c8df15e34..908a8932b1 100644 --- a/src/Mod/Fem/femguiutils/selection_widgets.py +++ b/src/Mod/Fem/femguiutils/selection_widgets.py @@ -292,7 +292,7 @@ class GeometryElementsSelection(QtGui.QWidget): def initUI(self): # ArchPanel is coded without ui-file too # title - self.setWindowTitle(self.tr("Geometry reference selector")) + self.setWindowTitle(self.tr("Geometry Reference Selector")) # button self.pushButton_Add = QtGui.QPushButton(self.tr("Add")) self.pushButton_Remove = QtGui.QPushButton(self.tr("Remove")) @@ -433,8 +433,8 @@ class GeometryElementsSelection(QtGui.QWidget): def references_list_right_clicked(self, QPos): self.contextMenu = QtGui.QMenu() - menu_item_remove_selected = self.contextMenu.addAction("Remove selected geometry") - menu_item_remove_all = self.contextMenu.addAction("Clear list") + menu_item_remove_selected = self.contextMenu.addAction("Remove Selected Geometry") + menu_item_remove_all = self.contextMenu.addAction("Clear List") if not self.references: menu_item_remove_selected.setDisabled(True) menu_item_remove_all.setDisabled(True) diff --git a/src/Mod/Fem/femtaskpanels/task_constraint_centrif.py b/src/Mod/Fem/femtaskpanels/task_constraint_centrif.py index bf7def12ab..5c158b5e6e 100644 --- a/src/Mod/Fem/femtaskpanels/task_constraint_centrif.py +++ b/src/Mod/Fem/femtaskpanels/task_constraint_centrif.py @@ -86,7 +86,7 @@ class _TaskPanel(base_femtaskpanel._BaseTaskPanel): msgBox.setText( f"Constraint Centrif requires exactly one line\n\nfound references: {items}" ) - msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Axis selection") + msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Axis Selection") retryButton = msgBox.addButton(QtGui.QMessageBox.Retry) ignoreButton = msgBox.addButton(QtGui.QMessageBox.Ignore) msgBox.exec_() @@ -110,7 +110,7 @@ class _TaskPanel(base_femtaskpanel._BaseTaskPanel): msgBox = QtGui.QMessageBox() msgBox.setIcon(QtGui.QMessageBox.Question) msgBox.setText("Constraint Centrif requires at least one solid") - msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Body selection") + msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Body Selection") retryButton = msgBox.addButton(QtGui.QMessageBox.Retry) ignoreButton = msgBox.addButton(QtGui.QMessageBox.Ignore) msgBox.exec_() @@ -126,7 +126,7 @@ class _TaskPanel(base_femtaskpanel._BaseTaskPanel): msgBox = QtGui.QMessageBox() msgBox.setIcon(QtGui.QMessageBox.Question) msgBox.setText("Rotational speed is zero") - msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Rotational speed setting") + msgBox.setWindowTitle("FreeCAD FEM Constraint Centrif - Rotational Speed Setting") retryButton = msgBox.addButton(QtGui.QMessageBox.Retry) ignoreButton = msgBox.addButton(QtGui.QMessageBox.Ignore) msgBox.exec_() diff --git a/src/Mod/Fem/femtaskpanels/task_post_extractor.py b/src/Mod/Fem/femtaskpanels/task_post_extractor.py index 9c54352f10..0fb683dcb2 100644 --- a/src/Mod/Fem/femtaskpanels/task_post_extractor.py +++ b/src/Mod/Fem/femtaskpanels/task_post_extractor.py @@ -45,10 +45,10 @@ class _ExtractorTaskPanel(base_fempostpanel._BasePostTaskPanel): # form is used to display individual task panels app = obj.ViewObject.Proxy.get_app_edit_widget(self) - app.setWindowTitle("Data extraction") + app.setWindowTitle("Data Extraction") app.setWindowIcon(obj.ViewObject.Icon) view = obj.ViewObject.Proxy.get_view_edit_widget(self) - view.setWindowTitle("Visualization settings") + view.setWindowTitle("Visualization Settings") view.setWindowIcon(obj.ViewObject.Icon) self.form = [app, view] diff --git a/src/Mod/Fem/femtaskpanels/task_post_histogram.py b/src/Mod/Fem/femtaskpanels/task_post_histogram.py index df70e2f18d..0cc7a820bf 100644 --- a/src/Mod/Fem/femtaskpanels/task_post_histogram.py +++ b/src/Mod/Fem/femtaskpanels/task_post_histogram.py @@ -53,10 +53,10 @@ class _TaskPanel(base_fempostpanel._BasePostTaskPanel): self.data_widget = QtGui.QWidget() hbox = QtGui.QHBoxLayout() self.data_widget.show_plot = QtGui.QPushButton() - self.data_widget.show_plot.setText(translate("FEM", "Show plot")) + self.data_widget.show_plot.setText(translate("FEM", "Show Plot")) hbox.addWidget(self.data_widget.show_plot) self.data_widget.show_table = QtGui.QPushButton() - self.data_widget.show_table.setText(translate("FEM", "Show data")) + self.data_widget.show_table.setText(translate("FEM", "Show Data")) hbox.addWidget(self.data_widget.show_table) vbox = QtGui.QVBoxLayout() vbox.addItem(hbox) @@ -66,14 +66,14 @@ class _TaskPanel(base_fempostpanel._BasePostTaskPanel): vbox.addWidget(extracts) self.data_widget.setLayout(vbox) - self.data_widget.setWindowTitle(translate("FEM", "Histogram data")) + self.data_widget.setWindowTitle(translate("FEM", "Histogram Data")) self.data_widget.setWindowIcon(FreeCADGui.getIcon(":/icons/FEM_PostHistogram.svg")) # histogram parameter widget self.view_widget = FreeCADGui.PySideUic.loadUi( FreeCAD.getHomePath() + "Mod/Fem/Resources/ui/TaskPostHistogram.ui" ) - self.view_widget.setWindowTitle(translate("FEM", "Histogram view settings")) + self.view_widget.setWindowTitle(translate("FEM", "Histogram View Settings")) self.view_widget.setWindowIcon(FreeCADGui.getIcon(":/icons/FEM_PostHistogram.svg")) self.__init_widgets() diff --git a/src/Mod/Fem/femtaskpanels/task_post_lineplot.py b/src/Mod/Fem/femtaskpanels/task_post_lineplot.py index f5598e1874..3857b15add 100644 --- a/src/Mod/Fem/femtaskpanels/task_post_lineplot.py +++ b/src/Mod/Fem/femtaskpanels/task_post_lineplot.py @@ -53,10 +53,10 @@ class _TaskPanel(base_fempostpanel._BasePostTaskPanel): self.data_widget = QtGui.QWidget() hbox = QtGui.QHBoxLayout() self.data_widget.show_plot = QtGui.QPushButton() - self.data_widget.show_plot.setText(translate("FEM", "Show plot")) + self.data_widget.show_plot.setText(translate("FEM", "Show Plot")) hbox.addWidget(self.data_widget.show_plot) self.data_widget.show_table = QtGui.QPushButton() - self.data_widget.show_table.setText(translate("FEM", "Show data")) + self.data_widget.show_table.setText(translate("FEM", "Show Data")) hbox.addWidget(self.data_widget.show_table) vbox = QtGui.QVBoxLayout() vbox.addItem(hbox) @@ -66,14 +66,14 @@ class _TaskPanel(base_fempostpanel._BasePostTaskPanel): vbox.addWidget(extracts) self.data_widget.setLayout(vbox) - self.data_widget.setWindowTitle(translate("FEM", "Lineplot data")) + self.data_widget.setWindowTitle(translate("FEM", "Lineplot Data")) self.data_widget.setWindowIcon(FreeCADGui.getIcon(":/icons/FEM_PostLineplot.svg")) # lineplot parameter widget self.view_widget = FreeCADGui.PySideUic.loadUi( FreeCAD.getHomePath() + "Mod/Fem/Resources/ui/TaskPostLineplot.ui" ) - self.view_widget.setWindowTitle(translate("FEM", "Lineplot view settings")) + self.view_widget.setWindowTitle(translate("FEM", "Lineplot View Settings")) self.view_widget.setWindowIcon(FreeCADGui.getIcon(":/icons/FEM_PostLineplot.svg")) self.__init_widgets() diff --git a/src/Mod/Fem/femtaskpanels/task_post_table.py b/src/Mod/Fem/femtaskpanels/task_post_table.py index 98fd1686d6..0125431d9f 100644 --- a/src/Mod/Fem/femtaskpanels/task_post_table.py +++ b/src/Mod/Fem/femtaskpanels/task_post_table.py @@ -51,7 +51,7 @@ class _TaskPanel(base_fempostpanel._BasePostTaskPanel): # data widget self.data_widget = QtGui.QWidget() self.data_widget.show_table = QtGui.QPushButton() - self.data_widget.show_table.setText(translate("FEM", "Show table")) + self.data_widget.show_table.setText(translate("FEM", "Show Table")) vbox = QtGui.QVBoxLayout() vbox.addWidget(self.data_widget.show_table) @@ -61,7 +61,7 @@ class _TaskPanel(base_fempostpanel._BasePostTaskPanel): vbox.addWidget(extracts) self.data_widget.setLayout(vbox) - self.data_widget.setWindowTitle(translate("FEM", "Table data")) + self.data_widget.setWindowTitle(translate("FEM", "Table Data")) self.data_widget.setWindowIcon(FreeCADGui.getIcon(":/icons/FEM_PostSpreadsheet.svg")) self.__init_widgets()