diff --git a/src/Mod/Fem/Gui/Command.cpp b/src/Mod/Fem/Gui/Command.cpp index 6e91e2c7d8..ead57e5533 100644 --- a/src/Mod/Fem/Gui/Command.cpp +++ b/src/Mod/Fem/Gui/Command.cpp @@ -177,8 +177,8 @@ CmdFemConstraintBearing::CmdFemConstraintBearing() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Constraint bearing"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a bearing"); + sMenuText = QT_TR_NOOP("Bearing constraint"); + sToolTipText = QT_TR_NOOP("Creates a bearing constraint"); sWhatsThis = "FEM_ConstraintBearing"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintBearing"; @@ -193,7 +193,7 @@ void CmdFemConstraintBearing::activated(int) std::string FeatName = getUniqueObjectName("ConstraintBearing"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint for bearing")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make bearing constraint")); doCommand( Doc, "App.activeDocument().addObject(\"Fem::ConstraintBearing\",\"%s\")", FeatName.c_str()); doCommand(Doc, @@ -222,8 +222,8 @@ CmdFemConstraintContact::CmdFemConstraintContact() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Constraint contact"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for contact between faces"); + sMenuText = QT_TR_NOOP("Contact constraint"); + sToolTipText = QT_TR_NOOP("Creates a contact constraint between faces"); sWhatsThis = "FEM_ConstraintContact"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintContact"; @@ -238,7 +238,7 @@ void CmdFemConstraintContact::activated(int) std::string FeatName = getUniqueObjectName("ConstraintContact"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint contact on face")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make contact constraint on a face")); doCommand( Doc, "App.activeDocument().addObject(\"Fem::ConstraintContact\",\"%s\")", FeatName.c_str()); doCommand(Doc, @@ -277,7 +277,7 @@ CmdFemConstraintDisplacement::CmdFemConstraintDisplacement() sGroup = QT_TR_NOOP("Fem"); sMenuText = QT_TR_NOOP("Constraint displacement"); sToolTipText = - QT_TR_NOOP("Creates a FEM constraint for a displacement acting on a geometric entity"); + QT_TR_NOOP("Creates a displacement boundary condition for a geometric entity"); sWhatsThis = "FEM_ConstraintDisplacement"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintDisplacement"; @@ -292,7 +292,7 @@ void CmdFemConstraintDisplacement::activated(int) std::string FeatName = getUniqueObjectName("ConstraintDisplacement"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint displacement on face")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make displacement boundary condition on face")); doCommand(Doc, "App.activeDocument().addObject(\"Fem::ConstraintDisplacement\",\"%s\")", FeatName.c_str()); @@ -325,7 +325,7 @@ CmdFemConstraintFixed::CmdFemConstraintFixed() sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); sMenuText = QT_TR_NOOP("Constraint fixed"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a fixed geometric entity"); + sToolTipText = QT_TR_NOOP("Creates a fixed boundary condition for a geometric entity"); sWhatsThis = "FEM_ConstraintFixed"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintFixed"; @@ -340,7 +340,7 @@ void CmdFemConstraintFixed::activated(int) std::string FeatName = getUniqueObjectName("ConstraintFixed"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint fixed geometry")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make fixed boundary condition for geometry")); doCommand( Doc, "App.activeDocument().addObject(\"Fem::ConstraintFixed\",\"%s\")", FeatName.c_str()); doCommand( @@ -421,7 +421,7 @@ CmdFemConstraintForce::CmdFemConstraintForce() sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); sMenuText = QT_TR_NOOP("Constraint force"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a force acting on a geometric entity"); + sToolTipText = QT_TR_NOOP("Creates a force load applied to a geometric entity"); sWhatsThis = "FEM_ConstraintForce"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintForce"; @@ -436,7 +436,7 @@ void CmdFemConstraintForce::activated(int) std::string FeatName = getUniqueObjectName("ConstraintForce"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint force on geometry")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make force load on geometry")); doCommand( Doc, "App.activeDocument().addObject(\"Fem::ConstraintForce\",\"%s\")", FeatName.c_str()); doCommand(Doc, @@ -473,8 +473,8 @@ CmdFemConstraintGear::CmdFemConstraintGear() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Constraint gear"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a gear"); + sMenuText = QT_TR_NOOP("Gear constraint"); + sToolTipText = QT_TR_NOOP("Creates a gear constraint"); sWhatsThis = "FEM_ConstraintGear"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintGear"; @@ -488,7 +488,7 @@ void CmdFemConstraintGear::activated(int) return; std::string FeatName = getUniqueObjectName("ConstraintGear"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint for gear")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make gear constraint")); doCommand( Doc, "App.activeDocument().addObject(\"Fem::ConstraintGear\",\"%s\")", FeatName.c_str()); doCommand(Doc, "App.activeDocument().%s.Diameter = 100.0", FeatName.c_str()); @@ -518,8 +518,8 @@ CmdFemConstraintHeatflux::CmdFemConstraintHeatflux() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Constraint heatflux"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a heatflux acting on a face"); + 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; sPixmap = "FEM_ConstraintHeatflux"; @@ -534,7 +534,7 @@ void CmdFemConstraintHeatflux::activated(int) std::string FeatName = getUniqueObjectName("ConstraintHeatflux"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint heatflux on face")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make heat flux load on face")); doCommand(Doc, "App.activeDocument().addObject(\"Fem::ConstraintHeatflux\",\"%s\")", FeatName.c_str()); @@ -572,8 +572,8 @@ CmdFemConstraintInitialTemperature::CmdFemConstraintInitialTemperature() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Constraint initial temperature"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for initial temperature acting on a body"); + sMenuText = QT_TR_NOOP("Initial temperature"); + sToolTipText = QT_TR_NOOP("Creates an initial temperature acting on a body"); sWhatsThis = "FEM_ConstraintInitialTemperature"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintInitialTemperature"; @@ -588,7 +588,7 @@ void CmdFemConstraintInitialTemperature::activated(int) std::string FeatName = getUniqueObjectName("ConstraintInitialTemperature"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint initial temperature on body")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make initial temperature condition on body")); doCommand(Doc, "App.activeDocument().addObject(\"Fem::ConstraintInitialTemperature\",\"%s\")", FeatName.c_str()); @@ -620,8 +620,8 @@ CmdFemConstraintPlaneRotation::CmdFemConstraintPlaneRotation() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Constraint plane rotation"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for plane rotation face"); + 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; sPixmap = "FEM_ConstraintPlaneRotation"; @@ -636,7 +636,7 @@ void CmdFemConstraintPlaneRotation::activated(int) std::string FeatName = getUniqueObjectName("ConstraintPlaneRotation"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint Plane Rotation face")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make plane multi-point constraint on face")); doCommand(Doc, "App.activeDocument().addObject(\"Fem::ConstraintPlaneRotation\",\"%s\")", FeatName.c_str()); @@ -669,7 +669,7 @@ CmdFemConstraintPressure::CmdFemConstraintPressure() sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); sMenuText = QT_TR_NOOP("Constraint pressure"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a pressure acting on a face"); + sToolTipText = QT_TR_NOOP("Creates a pressure load acting on a face"); sWhatsThis = "FEM_ConstraintPressure"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintPressure"; @@ -684,7 +684,7 @@ void CmdFemConstraintPressure::activated(int) std::string FeatName = getUniqueObjectName("ConstraintPressure"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint pressure on face")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make pressure load on face")); doCommand(Doc, "App.activeDocument().addObject(\"Fem::ConstraintPressure\",\"%s\")", FeatName.c_str()); @@ -722,8 +722,8 @@ CmdFemConstraintSpring::CmdFemConstraintSpring() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Constraint spring"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a spring acting on a face"); + sMenuText = QT_TR_NOOP("Spring"); + sToolTipText = QT_TR_NOOP("Creates a spring acting on a face"); sWhatsThis = "FEM_ConstraintSpring"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintSpring"; @@ -738,7 +738,7 @@ void CmdFemConstraintSpring::activated(int) std::string FeatName = getUniqueObjectName("ConstraintSpring"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint spring on face")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make spring on face")); doCommand( Doc, "App.activeDocument().addObject(\"Fem::ConstraintSpring\",\"%s\")", FeatName.c_str()); doCommand(Doc, @@ -775,8 +775,8 @@ CmdFemConstraintPulley::CmdFemConstraintPulley() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Constraint pulley"); - sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a pulley"); + sMenuText = QT_TR_NOOP("Pulley constraint"); + sToolTipText = QT_TR_NOOP("Creates a pulley constraint"); sWhatsThis = "FEM_ConstraintPulley"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintPulley"; @@ -791,7 +791,7 @@ void CmdFemConstraintPulley::activated(int) std::string FeatName = getUniqueObjectName("ConstraintPulley"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint for pulley")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make pulley constraint")); doCommand( Doc, "App.activeDocument().addObject(\"Fem::ConstraintPulley\",\"%s\")", FeatName.c_str()); doCommand(Doc, "App.activeDocument().%s.Diameter = 300.0", FeatName.c_str()); @@ -827,7 +827,7 @@ CmdFemConstraintTemperature::CmdFemConstraintTemperature() sGroup = QT_TR_NOOP("Fem"); sMenuText = QT_TR_NOOP("Constraint temperature"); sToolTipText = QT_TR_NOOP( - "Creates a FEM constraint for a temperature/concentrated heat flux acting on a face"); + "Creates a temperature/concentrated heat flux load acting on a face"); sWhatsThis = "FEM_ConstraintTemperature"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintTemperature"; @@ -842,7 +842,7 @@ void CmdFemConstraintTemperature::activated(int) std::string FeatName = getUniqueObjectName("ConstraintTemperature"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint temperature on face")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make temperature boundary condition on face")); doCommand(Doc, "App.activeDocument().addObject(\"Fem::ConstraintTemperature\",\"%s\")", FeatName.c_str()); @@ -875,7 +875,7 @@ CmdFemConstraintTransform::CmdFemConstraintTransform() sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); sMenuText = QT_TR_NOOP("Constraint transform"); - sToolTipText = QT_TR_NOOP("Create FEM constraint for transforming a face"); + sToolTipText = QT_TR_NOOP("Create a local coordinate system on a face"); sWhatsThis = "FEM_ConstraintTransform"; sStatusTip = sToolTipText; sPixmap = "FEM_ConstraintTransform"; @@ -890,7 +890,7 @@ void CmdFemConstraintTransform::activated(int) std::string FeatName = getUniqueObjectName("ConstraintTransform"); - openCommand(QT_TRANSLATE_NOOP("Command", "Make FEM constraint transform on face")); + openCommand(QT_TRANSLATE_NOOP("Command", "Make local coordinate system on face")); doCommand(Doc, "App.activeDocument().addObject(\"Fem::ConstraintTransform\",\"%s\")", FeatName.c_str()); @@ -1136,8 +1136,8 @@ CmdFemCompEmConstraints::CmdFemCompEmConstraints() { sAppModule = "Fem"; sGroup = QT_TR_NOOP("Fem"); - sMenuText = QT_TR_NOOP("Electromagnetic constraints"); - sToolTipText = QT_TR_NOOP("Electromagnetic constraints"); + sMenuText = QT_TR_NOOP("Electromagnetic boundary conditions"); + sToolTipText = QT_TR_NOOP("Electromagnetic boundary conditions"); sWhatsThis = ""; sStatusTip = sToolTipText; } diff --git a/src/Mod/Fem/Gui/DlgSettingsFemExportAbaqus.ui b/src/Mod/Fem/Gui/DlgSettingsFemExportAbaqus.ui index 48dc4b0763..ad7edd3b1c 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemExportAbaqus.ui +++ b/src/Mod/Fem/Gui/DlgSettingsFemExportAbaqus.ui @@ -80,9 +80,9 @@ not belonging to faces and faces not belonging to volumes. Mesh groups are exported too. -Every constraint and, if there are different materials, material -consists of two mesh groups, faces and nodes where the -constraint or material is applied. +Every analysis feature and, if there are different materials, +material consists of two mesh groups, faces and nodes where +the constraint or material is applied. diff --git a/src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui b/src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui index e4dc20eefe..63ec752603 100644 --- a/src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui +++ b/src/Mod/Fem/Gui/DlgSettingsFemGeneral.ui @@ -351,11 +351,11 @@ with the last used dialog settings true - All constraints are hidden in the model view + All analysis features are hidden in the model view when the results dialog is opened - Hide constraints when open result dialog + Hide analysis features when open result dialog true diff --git a/src/Mod/Fem/Gui/Resources/ui/BodyHeatSource.ui b/src/Mod/Fem/Gui/Resources/ui/BodyHeatSource.ui index 76f049dffa..e263d118a6 100644 --- a/src/Mod/Fem/Gui/Resources/ui/BodyHeatSource.ui +++ b/src/Mod/Fem/Gui/Resources/ui/BodyHeatSource.ui @@ -11,7 +11,7 @@ - Constraint Properties + Analysis feature properties diff --git a/src/Mod/Fem/Gui/Resources/ui/CurrentDensity.ui b/src/Mod/Fem/Gui/Resources/ui/CurrentDensity.ui index f5ea8fa32e..3047b66c32 100644 --- a/src/Mod/Fem/Gui/Resources/ui/CurrentDensity.ui +++ b/src/Mod/Fem/Gui/Resources/ui/CurrentDensity.ui @@ -11,7 +11,7 @@ - Constraint Properties + Analysis feature properties diff --git a/src/Mod/Fem/Gui/Resources/ui/ElectrostaticPotential.ui b/src/Mod/Fem/Gui/Resources/ui/ElectrostaticPotential.ui index 8c93b67813..de694f8fa3 100644 --- a/src/Mod/Fem/Gui/Resources/ui/ElectrostaticPotential.ui +++ b/src/Mod/Fem/Gui/Resources/ui/ElectrostaticPotential.ui @@ -11,7 +11,7 @@ - Constraint Properties + Analysis feature properties @@ -528,7 +528,7 @@ Note: has no effect if a solid was selected - Whether the constraint defines a constant potential + Whether the boundary condition defines a constant potential Potential Constant @@ -541,7 +541,7 @@ Note: has no effect if a solid was selected true - Whether the constraint defines a farfield potential + Whether the boundary condition defines a farfield potential Farfield / Electric infinity @@ -551,7 +551,7 @@ Note: has no effect if a solid was selected - Whether the constraint is for the electric force + Whether the boundary condition is for the electric force Calculate Electric Force diff --git a/src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui b/src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui index 088c802cc8..8f02645e72 100644 --- a/src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui +++ b/src/Mod/Fem/Gui/Resources/ui/FlowVelocity.ui @@ -11,7 +11,7 @@ - Constraint Properties + Analysis feature properties diff --git a/src/Mod/Fem/Gui/Resources/ui/InitialFlowVelocity.ui b/src/Mod/Fem/Gui/Resources/ui/InitialFlowVelocity.ui index de26fc3c75..2df9fc21bf 100644 --- a/src/Mod/Fem/Gui/Resources/ui/InitialFlowVelocity.ui +++ b/src/Mod/Fem/Gui/Resources/ui/InitialFlowVelocity.ui @@ -11,7 +11,7 @@ - Constraint Properties + Analysis feature properties diff --git a/src/Mod/Fem/Gui/Resources/ui/InitialPressure.ui b/src/Mod/Fem/Gui/Resources/ui/InitialPressure.ui index 8bf1c8fee2..741dc19567 100644 --- a/src/Mod/Fem/Gui/Resources/ui/InitialPressure.ui +++ b/src/Mod/Fem/Gui/Resources/ui/InitialPressure.ui @@ -11,7 +11,7 @@ - Constraint Properties + Analysis feature properties diff --git a/src/Mod/Fem/Gui/Resources/ui/Magnetization.ui b/src/Mod/Fem/Gui/Resources/ui/Magnetization.ui index d2296c4524..4569891b8d 100644 --- a/src/Mod/Fem/Gui/Resources/ui/Magnetization.ui +++ b/src/Mod/Fem/Gui/Resources/ui/Magnetization.ui @@ -11,7 +11,7 @@ - Constraint Properties + Analysis feature properties diff --git a/src/Mod/Fem/Gui/TaskAnalysisInfo.ui b/src/Mod/Fem/Gui/TaskAnalysisInfo.ui index e47d00978b..a331f2d928 100644 --- a/src/Mod/Fem/Gui/TaskAnalysisInfo.ui +++ b/src/Mod/Fem/Gui/TaskAnalysisInfo.ui @@ -45,7 +45,7 @@ - Constraints + Analysis features diff --git a/src/Mod/Fem/Gui/TaskFemConstraint.cpp b/src/Mod/Fem/Gui/TaskFemConstraint.cpp index 00d103a0c3..fbc94b2445 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraint.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraint.cpp @@ -51,7 +51,7 @@ using namespace Gui; /* TRANSLATOR FemGui::TaskFemConstraint */ TaskFemConstraint::TaskFemConstraint(ViewProviderFemConstraint *ConstraintView,QWidget *parent,const char* pixmapname) - : TaskBox(Gui::BitmapFactory().pixmap(pixmapname),tr("FEM constraint parameters"),true, parent) + : TaskBox(Gui::BitmapFactory().pixmap(pixmapname),tr("Analysis feature parameters"),true, parent) , proxy(nullptr) , deleteAction(nullptr) , ConstraintView(ConstraintView) diff --git a/src/Mod/Fem/Gui/TaskFemConstraintContact.cpp b/src/Mod/Fem/Gui/TaskFemConstraintContact.cpp index 19c9c38152..13c4dd6842 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintContact.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintContact.cpp @@ -454,7 +454,7 @@ void TaskDlgFemConstraintContact::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint Contact"); + QString msg = QObject::tr("Contact constraint"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::runCommand( diff --git a/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp b/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp index 0455bce2d9..eb636db99f 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.cpp @@ -343,7 +343,7 @@ void TaskFemConstraintDisplacement::addToSelection() for (const auto & SubElement : SubElements) { if (SubElement.find(searchStr) == std::string::npos) { QString msg = tr( - "Only one type of selection (vertex,face or edge) per constraint allowed!"); + "Only one type of selection (vertex,face or edge) per analysis feature allowed!"); QMessageBox::warning(this, tr("Selection error"), msg); addMe = false; break; @@ -609,7 +609,7 @@ void TaskDlgFemConstraintDisplacement::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint displacement"); + QString msg = QObject::tr("Displacement boundary condition"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::doCommand( diff --git a/src/Mod/Fem/Gui/TaskFemConstraintFixed.cpp b/src/Mod/Fem/Gui/TaskFemConstraintFixed.cpp index 054f9ebc82..30d2466248 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintFixed.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintFixed.cpp @@ -149,7 +149,7 @@ void TaskFemConstraintFixed::addToSelection() for (const auto & SubElement : SubElements) { if (SubElement.find(searchStr) == std::string::npos) { QString msg = tr( - "Only one type of selection (vertex,face or edge) per constraint allowed!"); + "Only one type of selection (vertex, face or edge) per analysis feature allowed!"); QMessageBox::warning(this, tr("Selection error"), msg); addMe = false; break; @@ -275,7 +275,7 @@ void TaskDlgFemConstraintFixed::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint fixed"); + QString msg = QObject::tr("Fixed boundary condition"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::doCommand( diff --git a/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp b/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp index e7865615d1..fe8b0c1703 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp @@ -826,7 +826,7 @@ void TaskFemConstraintFluidBoundary::addToSelection() for (const auto & SubElement : SubElements) { if (SubElement.find(searchStr) == std::string::npos) { QString msg = tr( - "Only one type of selection (vertex,face or edge) per constraint allowed!"); + "Only one type of selection (vertex, face or edge) per analysis feature allowed!"); QMessageBox::warning(this, tr("Selection error"), msg); addMe = false; break; @@ -957,7 +957,7 @@ void TaskDlgFemConstraintFluidBoundary::open() { // a transaction is already open when creating this panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint fluid boundary"); + QString msg = QObject::tr("Fluid boundary condition"); Gui::Command::openCommand((const char*)msg.toUtf8()); } } diff --git a/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp b/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp index 40783aaf23..d8c3097231 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintForce.cpp @@ -173,7 +173,7 @@ void TaskFemConstraintForce::addToSelection() for (const auto & SubElement : SubElements) { if (SubElement.find(searchStr) == std::string::npos) { QString msg = tr( - "Only one type of selection (vertex,face or edge) per constraint allowed!"); + "Only one type of selection (vertex, face or edge) per analysis feature allowed!"); QMessageBox::warning(this, tr("Selection error"), msg); addMe = false; break; @@ -434,7 +434,7 @@ void TaskDlgFemConstraintForce::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint force"); + QString msg = QObject::tr("Force load"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::doCommand( diff --git a/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.cpp b/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.cpp index de43337a76..9f05ca7f64 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.cpp @@ -421,7 +421,7 @@ void TaskDlgFemConstraintHeatflux::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint heat flux"); + QString msg = QObject::tr("Heat flux load"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::doCommand( diff --git a/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui b/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui index 79b8adbbec..36edf5bb0f 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui +++ b/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui @@ -11,7 +11,7 @@ - TaskFemConstraintHeatflux + Task Fem Heat flux Load diff --git a/src/Mod/Fem/Gui/TaskFemConstraintPlaneRotation.cpp b/src/Mod/Fem/Gui/TaskFemConstraintPlaneRotation.cpp index 0cf696b228..c8608e1c8c 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintPlaneRotation.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintPlaneRotation.cpp @@ -113,7 +113,7 @@ void TaskFemConstraintPlaneRotation::addToSelection() if (rows == 1) { QMessageBox::warning(this, tr("Selection error"), - tr("Only one face can be selected for a plane rotation constraint!")); + tr("Only one face can be selected for a plane multi-point constraint!")); Gui::Selection().clearSelection(); return; } @@ -182,7 +182,7 @@ void TaskFemConstraintPlaneRotation::addToSelection() QMessageBox::warning( this, tr("Selection error"), - tr("Only one face can be selected for a plane rotation constraint!")); + tr("Only one face can be selected for a plane multi-point constraint!")); Gui::Selection().clearSelection(); return; } @@ -293,7 +293,7 @@ void TaskDlgFemConstraintPlaneRotation::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint planerotation"); + QString msg = QObject::tr("Plane multi-point constraint"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::doCommand( diff --git a/src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp b/src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp index 94304b2bf6..c17312ae44 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintPressure.cpp @@ -292,7 +292,7 @@ void TaskDlgFemConstraintPressure::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint pressure"); + QString msg = QObject::tr("Pressure load"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::doCommand( diff --git a/src/Mod/Fem/Gui/TaskFemConstraintTemperature.cpp b/src/Mod/Fem/Gui/TaskFemConstraintTemperature.cpp index 95dc613db4..cd87620454 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintTemperature.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintTemperature.cpp @@ -330,7 +330,7 @@ void TaskDlgFemConstraintTemperature::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint temperature"); + QString msg = QObject::tr("Temperature boundary condition"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::doCommand( diff --git a/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp b/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp index 99bc1d5e48..6ff3e9bf65 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp @@ -159,7 +159,7 @@ TaskFemConstraintTransform::TaskFemConstraintTransform( if ((p == 0) && (!Objects.empty())) { QMessageBox::warning(this, - tr("Constraint update error"), + tr("Analysis feature update error"), tr("The transformable faces have changed. Please add only the " "transformable faces and remove non-transformable faces!")); return; @@ -270,14 +270,14 @@ void TaskFemConstraintTransform::addToSelection() if (rows == 1) { QMessageBox::warning( - this, tr("Selection error"), tr("Only one face for rectangular transform constraint!")); + this, tr("Selection error"), tr("Only one face for rectangular local coordinate system!")); Gui::Selection().clearSelection(); return; } if ((rows == 0) && (selection.size() >= 2)) { QMessageBox::warning( - this, tr("Selection error"), tr("Only one face for rectangular transform constraint!")); + this, tr("Selection error"), tr("Only one face for rectangular local coordinate system!")); Gui::Selection().clearSelection(); return; } @@ -298,7 +298,7 @@ void TaskFemConstraintTransform::addToSelection() App::DocumentObject* obj = it.getObject(); if (subNames.size() != 1) { QMessageBox::warning( - this, tr("Selection error"), tr("Only one face for transform constraint!")); + this, tr("Selection error"), tr("Only one face for local coordinate system!")); Gui::Selection().clearSelection(); return; } @@ -357,8 +357,8 @@ void TaskFemConstraintTransform::addToSelection() QMessageBox::warning( this, tr("Selection error"), - tr("Only transformable faces can be selected! Apply displacement " - "constraint to surface first then apply constraint to surface")); + tr("Only transformable faces can be selected! Apply displacement boundary " + "condition to surface first then apply local coordinate system to surface")); Gui::Selection().clearSelection(); return; } @@ -560,7 +560,7 @@ void TaskDlgFemConstraintTransform::open() { // a transaction is already open at creation time of the panel if (!Gui::Command::hasPendingCommand()) { - QString msg = QObject::tr("Constraint transform"); + QString msg = QObject::tr("Local coordinate system"); Gui::Command::openCommand((const char*)msg.toUtf8()); ConstraintView->setVisible(true); Gui::Command::doCommand( diff --git a/src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp b/src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp index 687be8ee22..18fd18e0f1 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemConstraint.cpp @@ -136,7 +136,7 @@ std::vector ViewProviderFemConstraint::claimChildren()cons void ViewProviderFemConstraint::setupContextMenu(QMenu *menu, QObject *receiver, const char *member) { QAction *act; - act = menu->addAction(QObject::tr("Edit constraint"), receiver, member); + act = menu->addAction(QObject::tr("Edit analysis feature"), receiver, member); act->setData(QVariant((int)ViewProvider::Default)); ViewProviderDocumentObject::setupContextMenu(menu, receiver, member);// clazy:exclude=skipped-base-method diff --git a/src/Mod/Fem/Gui/Workbench.cpp b/src/Mod/Fem/Gui/Workbench.cpp index 7e58d0cb9a..ea948bcbf5 100755 --- a/src/Mod/Fem/Gui/Workbench.cpp +++ b/src/Mod/Fem/Gui/Workbench.cpp @@ -46,22 +46,20 @@ using namespace FemGui; qApp->translate("Workbench", "&Materials"); qApp->translate("Workbench", "Element Geometry"); qApp->translate("Workbench", "&Element Geometry"); - qApp->translate("Workbench", "Electrostatic Constraints"); - qApp->translate("Workbench", "&Electrostatic Constraints"); - qApp->translate("Workbench", "Electromagnetic Constraints"); - qApp->translate("Workbench", "&Electromagnetic Constraints"); - qApp->translate("Workbench", "Fluid Constraints"); - qApp->translate("Workbench", "&Fluid Constraints"); - qApp->translate("Workbench", "Electromagnetic Constraints"); - qApp->translate("Workbench", "&Electromagnetic Constraints"); - qApp->translate("Workbench", "Geometrical Constraints"); - qApp->translate("Workbench", "&Geometrical Constraints"); - qApp->translate("Workbench", "Mechanical Constraints"); - qApp->translate("Workbench", "&Mechanical Constraints"); - qApp->translate("Workbench", "Thermal Constraints"); - qApp->translate("Workbench", "&Thermal Constraints"); - qApp->translate("Workbench", "Constraints without solver"); - qApp->translate("Workbench", "&Constraints 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"); // @@ -117,12 +115,12 @@ Gui::ToolBarItem* Workbench::setupToolBars() const << "FEM_ElementFluid1D"; Gui::ToolBarItem* electromag = new Gui::ToolBarItem(root); - electromag->setCommand("Electromagnetic Constraints"); + electromag->setCommand("Electromagnetic boundary conditions"); *electromag << "FEM_CompEmConstraints"; Gui::ToolBarItem* fluid = new Gui::ToolBarItem(root); - fluid->setCommand("Fluid Constraints"); + fluid->setCommand("Fluid boundary conditions"); *fluid << "FEM_ConstraintInitialFlowVelocity" << "FEM_ConstraintInitialPressure" @@ -130,14 +128,14 @@ Gui::ToolBarItem* Workbench::setupToolBars() const << "FEM_ConstraintFlowVelocity"; Gui::ToolBarItem* geom = new Gui::ToolBarItem(root); - geom->setCommand("Geometrical Constraints"); + geom->setCommand("Geometrical analysis features"); *geom << "FEM_ConstraintPlaneRotation" << "FEM_ConstraintSectionPrint" << "FEM_ConstraintTransform"; Gui::ToolBarItem* mech = new Gui::ToolBarItem(root); - mech->setCommand("Mechanical Constraints"); + mech->setCommand("Mechanical boundary conditions and loads"); *mech << "FEM_ConstraintFixed" << "FEM_ConstraintDisplacement" @@ -151,7 +149,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const << "FEM_ConstraintSelfWeight"; Gui::ToolBarItem* thermal = new Gui::ToolBarItem(root); - thermal->setCommand("Thermal Constraints"); + thermal->setCommand("Thermal boundary conditions and loads"); *thermal << "FEM_ConstraintInitialTemperature" << "Separator" @@ -253,14 +251,14 @@ Gui::MenuItem* Workbench::setupMenuBar() const << "FEM_ElementFluid1D"; Gui::MenuItem* elec = new Gui::MenuItem; - elec->setCommand("&Electromagnetic Constraints"); + elec->setCommand("&Electromagnetic boundary conditions"); *elec << "FEM_ConstraintElectrostaticPotential" << "FEM_ConstraintCurrentDensity" << "FEM_ConstraintMagnetization"; Gui::MenuItem* fluid = new Gui::MenuItem; - fluid->setCommand("&Fluid Constraints"); + fluid->setCommand("&Fluid boundary conditions"); *fluid << "FEM_ConstraintInitialFlowVelocity" << "FEM_ConstraintInitialPressure" @@ -268,14 +266,14 @@ Gui::MenuItem* Workbench::setupMenuBar() const << "FEM_ConstraintFlowVelocity"; Gui::MenuItem* geom = new Gui::MenuItem; - geom->setCommand("&Geometrical Constraints"); + geom->setCommand("&Geometrical analysis features"); *geom << "FEM_ConstraintPlaneRotation" << "FEM_ConstraintSectionPrint" << "FEM_ConstraintTransform"; Gui::MenuItem* mech = new Gui::MenuItem; - mech->setCommand("&Mechanical Constraints"); + mech->setCommand("&Mechanical boundary conditions and loads"); *mech << "FEM_ConstraintFixed" << "FEM_ConstraintDisplacement" @@ -289,7 +287,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const << "FEM_ConstraintSelfWeight"; Gui::MenuItem* thermal = new Gui::MenuItem; - thermal->setCommand("&Thermal Constraints"); + thermal->setCommand("&Thermal boundary conditions and loads"); *thermal << "FEM_ConstraintInitialTemperature" << "Separator" @@ -298,7 +296,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const << "FEM_ConstraintBodyHeatSource"; // Gui::MenuItem* nosolver = new Gui::MenuItem; -// nosolver->setCommand("&Constraints without solver"); +// nosolver->setCommand("&Analysis features without solver"); // *nosolver // << "FEM_ConstraintFluidBoundary" // << "Separator" diff --git a/src/Mod/Fem/femcommands/commands.py b/src/Mod/Fem/femcommands/commands.py index 0c747ef1e4..7e81ff373c 100644 --- a/src/Mod/Fem/femcommands/commands.py +++ b/src/Mod/Fem/femcommands/commands.py @@ -152,7 +152,7 @@ class _ClippingPlaneRemoveAll(CommandManager): ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ClippingPlaneRemoveAll", - "Remove all clipping planes" + "Removes all clipping planes" ) self.is_active = "with_document" @@ -193,11 +193,11 @@ class _ConstraintBodyHeatSource(CommandManager): self.pixmap = "FEM_ConstraintBodyHeatSource" self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintBodyHeatSource", - "Constraint body heat source" + "Body heat source" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintBodyHeatSource", - "Creates a FEM constraint body heat source" + "Creates a body heat source" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -210,11 +210,11 @@ class _ConstraintCentrif(CommandManager): super(_ConstraintCentrif, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintCentrif", - "Constraint centrif" + "Centrifigual load" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintCentrif", - "Creates a FEM constraint centrif" + "Creates a centrifugal load" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -228,11 +228,11 @@ class _ConstraintCurrentDensity(CommandManager): self.pixmap = "FEM_ConstraintCurrentDensity" self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintCurrentDensity", - "Constraint current density" + "Current density boundary condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintCurrentDensity", - "Creates a FEM constraint current density" + "Creates a current density boundary condition" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -245,11 +245,11 @@ class _ConstraintElectrostaticPotential(CommandManager): super(_ConstraintElectrostaticPotential, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintElectrostaticPotential", - "Constraint electrostatic potential" + "Electrostatic potential boundary condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintElectrostaticPotential", - "Creates a FEM constraint electrostatic potential" + "Creates an electrostatic potential boundary condition" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -262,11 +262,11 @@ class _ConstraintFlowVelocity(CommandManager): super(_ConstraintFlowVelocity, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintFlowVelocity", - "Constraint flow velocity" + "Flow velocity boundary condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintFlowVelocity", - "Creates a FEM constraint flow velocity" + "Creates a flow velocity boundary condition" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -279,11 +279,11 @@ class _ConstraintInitialFlowVelocity(CommandManager): super(_ConstraintInitialFlowVelocity, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintInitialFlowVelocity", - "Constraint initial flow velocity" + "Initial flow velocity condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintInitialFlowVelocity", - "Creates a FEM constraint initial flow velocity" + "Creates initial flow velocity condition" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -296,11 +296,11 @@ class _ConstraintInitialPressure(CommandManager): super(_ConstraintInitialPressure, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintInitialPressure", - "Constraint initial pressure" + "Initial pressure condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintInitialPressure", - "Creates a FEM constraint initial pressure" + "Creates an initial pressure condition" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -313,11 +313,11 @@ class _ConstraintMagnetization(CommandManager): super(_ConstraintMagnetization, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintMagnetization", - "Constraint magnetization" + "Magnetization boundary condition" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintMagnetization", - "Creates a FEM constraint magnetization" + "Creates a magnetization boundary condition" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -330,11 +330,11 @@ class _ConstraintSectionPrint(CommandManager): super(_ConstraintSectionPrint, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintSectionPrint", - "Constraint sectionprint" + "Section print feature" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintSectionPrint", - "Creates a FEM constraint sectionprint" + "Creates a section print feature" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -347,11 +347,11 @@ class _ConstraintSelfWeight(CommandManager): super(_ConstraintSelfWeight, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintSelfWeight", - "Constraint self weight" + "Gravity load" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintSelfWeight", - "Creates a FEM constraint self weight" + "Creates a gravity load" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_noset_edit" @@ -364,11 +364,11 @@ class _ConstraintTie(CommandManager): super(_ConstraintTie, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintTie", - "Constraint tie" + "Tie constraint" ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintTie", - "Creates a FEM constraint tie" + "Creates a tie constraint" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit" @@ -607,7 +607,7 @@ class _Examples(CommandManager): ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_Examples", - "Open FEM examples" + "Opens the FEM examples" ) self.is_active = "always" @@ -771,7 +771,7 @@ class _FEMMesh2Mesh(CommandManager): ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_FEMMesh2Mesh", - "Convert the surface of a FEM mesh to a mesh" + "Converts the surface of a FEM mesh to a mesh" ) self.is_active = "with_femmesh_andor_res" @@ -836,7 +836,7 @@ class _MeshClear(CommandManager): ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MeshClear", - "Clear the Mesh of a FEM mesh object" + "Clears the Mesh of a FEM mesh object" ) self.is_active = "with_femmesh" @@ -862,7 +862,7 @@ class _MeshDisplayInfo(CommandManager): ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MeshDisplayInfo", - "Display FEM mesh info" + "Displays FEM mesh information" ) self.is_active = "with_femmesh" @@ -892,7 +892,7 @@ class _MeshGmshFromShape(CommandManager): ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MeshGmshFromShape", - "Create a FEM mesh from a shape by Gmsh mesher" + "Creates a FEM mesh from a shape by Gmsh mesher" ) self.is_active = "with_part_feature" @@ -955,7 +955,7 @@ class _MeshNetgenFromShape(CommandManager): ) self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MeshNetgenFromShape", - "Create a FEM mesh from a solid or face shape by Netgen internal mesher" + "Creates a FEM mesh from a solid or face shape by Netgen internal mesher" ) self.is_active = "with_part_feature"