PartDesign: Update UI strings for consistency and correct for new fuctions and typos
Closes: #22128
This commit is contained in:
committed by
Kacper Donat
parent
b267203e67
commit
bee89d0447
@@ -66,8 +66,8 @@ CmdPrimtiveCompAdditive::CmdPrimtiveCompAdditive()
|
||||
{
|
||||
sAppModule = "PartDesign";
|
||||
sGroup = QT_TR_NOOP("PartDesign");
|
||||
sMenuText = QT_TR_NOOP("Create an additive primitive");
|
||||
sToolTipText = QT_TR_NOOP("Create an additive primitive");
|
||||
sMenuText = QT_TR_NOOP("Additive Primitive");
|
||||
sToolTipText = QT_TR_NOOP("Creates an additive primitive");
|
||||
sWhatsThis = "PartDesign_CompPrimitiveAdditive";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = ForEdit;
|
||||
@@ -195,35 +195,35 @@ void CmdPrimtiveCompAdditive::languageChange()
|
||||
|
||||
QAction* arc1 = a[0];
|
||||
arc1->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Box"));
|
||||
arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive box by its width, height, and length"));
|
||||
arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Creates an additive box by its width, height, and length"));
|
||||
arc1->setStatusTip(arc1->toolTip());
|
||||
QAction* arc2 = a[1];
|
||||
arc2->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Cylinder"));
|
||||
arc2->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive cylinder by its radius, height, and angle"));
|
||||
arc2->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Creates an additive cylinder by its radius, height, and angle"));
|
||||
arc2->setStatusTip(arc2->toolTip());
|
||||
QAction* arc3 = a[2];
|
||||
arc3->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Sphere"));
|
||||
arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive sphere by its radius and various angles"));
|
||||
arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Creates an additive sphere by its radius and various angles"));
|
||||
arc3->setStatusTip(arc3->toolTip());
|
||||
QAction* arc4 = a[3];
|
||||
arc4->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Cone"));
|
||||
arc4->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive cone"));
|
||||
arc4->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Creates an additive cone"));
|
||||
arc4->setStatusTip(arc4->toolTip());
|
||||
QAction* arc5 = a[4];
|
||||
arc5->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Ellipsoid"));
|
||||
arc5->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive ellipsoid"));
|
||||
arc5->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Creates an additive ellipsoid"));
|
||||
arc5->setStatusTip(arc5->toolTip());
|
||||
QAction* arc6 = a[5];
|
||||
arc6->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Torus"));
|
||||
arc6->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive torus"));
|
||||
arc6->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Creates an additive torus"));
|
||||
arc6->setStatusTip(arc6->toolTip());
|
||||
QAction* arc7 = a[6];
|
||||
arc7->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Prism"));
|
||||
arc7->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive prism"));
|
||||
arc7->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Creates an additive prism"));
|
||||
arc7->setStatusTip(arc7->toolTip());
|
||||
QAction* arc8 = a[7];
|
||||
arc8->setText(QApplication::translate("CmdPrimtiveCompAdditive","Additive Wedge"));
|
||||
arc8->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Create an additive wedge"));
|
||||
arc8->setToolTip(QApplication::translate("PartDesign_CompPrimitiveAdditive","Creates an additive wedge"));
|
||||
arc8->setStatusTip(arc8->toolTip());
|
||||
}
|
||||
|
||||
@@ -239,8 +239,8 @@ CmdPrimtiveCompSubtractive::CmdPrimtiveCompSubtractive()
|
||||
{
|
||||
sAppModule = "PartDesign";
|
||||
sGroup = QT_TR_NOOP("PartDesign");
|
||||
sMenuText = QT_TR_NOOP("Create a subtractive primitive");
|
||||
sToolTipText = QT_TR_NOOP("Create a subtractive primitive");
|
||||
sMenuText = QT_TR_NOOP("Subtractive Primitive");
|
||||
sToolTipText = QT_TR_NOOP("Creates a subtractive primitive");
|
||||
sWhatsThis = "PartDesign_CompPrimitiveSubtractive";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = ForEdit;
|
||||
@@ -347,35 +347,35 @@ void CmdPrimtiveCompSubtractive::languageChange()
|
||||
|
||||
QAction* arc1 = a[0];
|
||||
arc1->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Box"));
|
||||
arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive box by its width, height and length"));
|
||||
arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Creates a subtractive box by its width, height and length"));
|
||||
arc1->setStatusTip(arc1->toolTip());
|
||||
QAction* arc2 = a[1];
|
||||
arc2->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Cylinder"));
|
||||
arc2->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive cylinder by its radius, height and angle"));
|
||||
arc2->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Creates a subtractive cylinder by its radius, height and angle"));
|
||||
arc2->setStatusTip(arc2->toolTip());
|
||||
QAction* arc3 = a[2];
|
||||
arc3->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Sphere"));
|
||||
arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive sphere by its radius and various angles"));
|
||||
arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Creates a subtractive sphere by its radius and various angles"));
|
||||
arc3->setStatusTip(arc3->toolTip());
|
||||
QAction* arc4 = a[3];
|
||||
arc4->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Cone"));
|
||||
arc4->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive cone"));
|
||||
arc4->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Creates a subtractive cone"));
|
||||
arc4->setStatusTip(arc4->toolTip());
|
||||
QAction* arc5 = a[4];
|
||||
arc5->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Ellipsoid"));
|
||||
arc5->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive ellipsoid"));
|
||||
arc5->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Creates a subtractive ellipsoid"));
|
||||
arc5->setStatusTip(arc5->toolTip());
|
||||
QAction* arc6 = a[5];
|
||||
arc6->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Torus"));
|
||||
arc6->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive torus"));
|
||||
arc6->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Creates a subtractive torus"));
|
||||
arc6->setStatusTip(arc6->toolTip());
|
||||
QAction* arc7 = a[6];
|
||||
arc7->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Prism"));
|
||||
arc7->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive prism"));
|
||||
arc7->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Creates a subtractive prism"));
|
||||
arc7->setStatusTip(arc7->toolTip());
|
||||
QAction* arc8 = a[7];
|
||||
arc8->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Wedge"));
|
||||
arc8->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive wedge"));
|
||||
arc8->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Creates a subtractive wedge"));
|
||||
arc8->setStatusTip(arc8->toolTip());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user