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
@@ -43,19 +43,20 @@ namespace sp = std::placeholders;
|
||||
qApp->translate("Workbench", "&Sketch");
|
||||
//
|
||||
qApp->translate("Workbench", "&Part Design");
|
||||
qApp->translate("Workbench", "Create a datum");
|
||||
qApp->translate("Workbench", "Create an additive feature");
|
||||
qApp->translate("Workbench", "Create a subtractive feature");
|
||||
qApp->translate("Workbench", "Apply a pattern");
|
||||
qApp->translate("Workbench", "Apply a dress-up feature");
|
||||
qApp->translate("Workbench", "Sprocket...");
|
||||
qApp->translate("Workbench", "Involute gear...");
|
||||
qApp->translate("Workbench", "Shaft design wizard");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Face tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Edge tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Boolean tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Helper tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Modeling tools");
|
||||
qApp->translate("Workbench", "Datums");
|
||||
qApp->translate("Workbench", "Additive Features");
|
||||
qApp->translate("Workbench", "Subtractive Features");
|
||||
qApp->translate("Workbench", "Dress-Up Features");
|
||||
qApp->translate("Workbench", "Transformation Features");
|
||||
qApp->translate("Workbench", "Sprocket…");
|
||||
qApp->translate("Workbench", "Involute Gear");
|
||||
|
||||
qApp->translate("Workbench", "Shaft Design Wizard");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Face Tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Edge Tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Boolean Tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Helper Tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Modeling Tools");
|
||||
qApp->translate("Gui::TaskView::TaskWatcherCommands", "Create Geometry");
|
||||
//
|
||||
qApp->translate("Workbench", "Measure");
|
||||
@@ -158,7 +159,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT Part::Feature SUBELEMENT Vertex COUNT 1..",
|
||||
Vertex,
|
||||
"Vertex tools",
|
||||
"Vertex Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -173,7 +174,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT Part::Feature SUBELEMENT Edge COUNT 1..",
|
||||
Edge,
|
||||
"Edge tools",
|
||||
"Edge Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -191,7 +192,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT Part::Feature SUBELEMENT Face COUNT 1",
|
||||
Face,
|
||||
"Face tools",
|
||||
"Face Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -201,7 +202,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::Body COUNT 1",
|
||||
Body,
|
||||
"Helper tools",
|
||||
"Helper Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -211,7 +212,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::Body COUNT 1..",
|
||||
Body2,
|
||||
"Boolean tools",
|
||||
"Boolean Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -225,7 +226,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT App::Plane COUNT 1",
|
||||
Plane1,
|
||||
"Helper tools",
|
||||
"Helper Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
const char* Plane2[] = {
|
||||
@@ -238,7 +239,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::Plane COUNT 1",
|
||||
Plane2,
|
||||
"Helper tools",
|
||||
"Helper Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -250,7 +251,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::Line COUNT 1",
|
||||
Line,
|
||||
"Helper tools",
|
||||
"Helper Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -263,7 +264,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::Point COUNT 1",
|
||||
Point,
|
||||
"Helper tools",
|
||||
"Helper Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -285,7 +286,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT Part::Feature SUBELEMENT Face COUNT 2..",
|
||||
Faces,
|
||||
"Face tools",
|
||||
"Face Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -306,7 +307,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT Sketcher::SketchObject COUNT 1",
|
||||
Sketch,
|
||||
"Modeling tools",
|
||||
"Modeling Tools",
|
||||
"PartDesign_Body"
|
||||
));
|
||||
|
||||
@@ -319,7 +320,7 @@ void Workbench::activated()
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::SketchBased",
|
||||
Transformed,
|
||||
"Transformation tools",
|
||||
"Transformation Tools",
|
||||
"PartDesign_MultiTransform"
|
||||
));
|
||||
|
||||
@@ -361,7 +362,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
|
||||
// additives
|
||||
Gui::MenuItem* additives = new Gui::MenuItem;
|
||||
additives->setCommand("Create an additive feature");
|
||||
additives->setCommand("Additive Features");
|
||||
|
||||
*additives << "PartDesign_Pad"
|
||||
<< "PartDesign_Revolution"
|
||||
@@ -371,7 +372,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
|
||||
// subtractives
|
||||
Gui::MenuItem* subtractives = new Gui::MenuItem;
|
||||
subtractives->setCommand("Create a subtractive feature");
|
||||
subtractives->setCommand("Subtractive Features");
|
||||
|
||||
*subtractives << "PartDesign_Pocket"
|
||||
<< "PartDesign_Hole"
|
||||
@@ -382,7 +383,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
|
||||
// transformations
|
||||
Gui::MenuItem* transformations = new Gui::MenuItem;
|
||||
transformations->setCommand("Apply a pattern");
|
||||
transformations->setCommand("Transformation Features");
|
||||
|
||||
*transformations << "PartDesign_Mirrored"
|
||||
<< "PartDesign_LinearPattern"
|
||||
@@ -391,7 +392,7 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
|
||||
// dressups
|
||||
Gui::MenuItem* dressups = new Gui::MenuItem;
|
||||
dressups->setCommand("Apply a dress-up feature");
|
||||
dressups->setCommand("Dress-Up Features");
|
||||
|
||||
*dressups << "PartDesign_Fillet"
|
||||
<< "PartDesign_Chamfer"
|
||||
@@ -410,15 +411,15 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
<< subtractives
|
||||
<< "PartDesign_CompPrimitiveSubtractive"
|
||||
<< "Separator"
|
||||
<< dressups
|
||||
<< "Separator"
|
||||
<< transformations
|
||||
<< "Separator"
|
||||
<< dressups
|
||||
<< "PartDesign_Boolean"
|
||||
<< "Separator"
|
||||
<< "Materials_InspectAppearance"
|
||||
<< "Materials_InspectMaterial"
|
||||
<< "Separator"
|
||||
<< "PartDesign_Boolean"
|
||||
<< "Separator"
|
||||
<< "Part_CheckGeometry"
|
||||
<< "Separator"
|
||||
<< "PartDesign_InvoluteGear"
|
||||
@@ -452,7 +453,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
{
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
Gui::ToolBarItem* part = new Gui::ToolBarItem(root);
|
||||
part->setCommand("Part Design Helper");
|
||||
part->setCommand("Part Design Helper Features");
|
||||
|
||||
*part << "PartDesign_Body"
|
||||
<< "PartDesign_CompSketches"
|
||||
@@ -462,7 +463,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
<< "PartDesign_Clone";
|
||||
|
||||
part = new Gui::ToolBarItem(root);
|
||||
part->setCommand("Part Design Modeling");
|
||||
part->setCommand("Part Design Modeling Features");
|
||||
|
||||
*part << "PartDesign_Pad"
|
||||
<< "PartDesign_Revolution"
|
||||
@@ -483,14 +484,14 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
|
||||
part = new Gui::ToolBarItem(root);
|
||||
|
||||
part->setCommand("Part Design Dressup");
|
||||
part->setCommand("Part Design Dress-Up Features");
|
||||
*part << "PartDesign_Fillet"
|
||||
<< "PartDesign_Chamfer"
|
||||
<< "PartDesign_Draft"
|
||||
<< "PartDesign_Thickness";
|
||||
|
||||
part = new Gui::ToolBarItem(root);
|
||||
part->setCommand("Part Design Patterns");
|
||||
part->setCommand("Part Design Transformation Features");
|
||||
|
||||
*part << "PartDesign_Mirrored"
|
||||
<< "PartDesign_LinearPattern"
|
||||
|
||||
Reference in New Issue
Block a user