diff --git a/src/Gui/CommandLink.cpp b/src/Gui/CommandLink.cpp index ad249eb07d..10b8c50a2e 100644 --- a/src/Gui/CommandLink.cpp +++ b/src/Gui/CommandLink.cpp @@ -206,11 +206,12 @@ StdCmdLinkMake::StdCmdLinkMake() { sGroup = "Link"; sMenuText = QT_TR_NOOP("Make link"); - sToolTipText = QT_TR_NOOP("
An App::Link is a type of object that references or links" - " to another object, in the same document, or in another document. Unlike Clones, Link" - " references directly the original Shape, so it is more memory efficient which helps " - "with the creation of complex assemblies from smaller subassemblies, and from multiple" - " reusable components like screws, nuts, and similar fasteners.
"); + static std::string toolTip = std::string("") + + QT_TR_NOOP("A Link is an object that references or links to another object in the same " + "document, or in another document.Unlike Clones, Links reference the original Shape directly, " + " making them more memory efficient which helps with the creation of complex assemblies.") + + "
"; + sToolTipText = toolTip.c_str(); sWhatsThis = "Std_LinkMake"; sStatusTip = sToolTipText; eType = AlterDoc; diff --git a/src/Gui/CommandStructure.cpp b/src/Gui/CommandStructure.cpp index 674a455858..4c0c597f8b 100644 --- a/src/Gui/CommandStructure.cpp +++ b/src/Gui/CommandStructure.cpp @@ -49,11 +49,13 @@ StdCmdPart::StdCmdPart() { sGroup = "Structure"; sMenuText = QT_TR_NOOP("Create part"); - sToolTipText = QT_TR_NOOP("An App::Part is is a general purpose container that keeps together a " - "group of objects so that they can be moved together as a unit in the 3D view.\n" - "it is meant to arrange objects that have a Part TopoShape, like Part Primitives, PartDesign" - " Bodies, and other Part Features. In addition, Std Parts may be nested inside other" - " Std Parts to create a big assembly from smaller sub-assemblies.
"); + static std::string toolTip = std::string("") + + QT_TR_NOOP("A Part is is a general purpose container to keep together a " + "group of objects so that they act as a unit in the 3D view.\n" + "It is meant to arrange objects that have a Part TopoShape, like Part Primitives, PartDesign" + " Bodies, and other Parts.") + + "
"; + sToolTipText = toolTip.c_str(); sWhatsThis = "Std_Part"; sStatusTip = sToolTipText; sPixmap = "Geofeaturegroup"; @@ -94,10 +96,13 @@ StdCmdGroup::StdCmdGroup() { sGroup = "Structure"; sMenuText = QT_TR_NOOP("Create group"); - sToolTipText = QT_TR_NOOP("Group is a general purpose container that allows you to " - "group different types of objects in the Tree view, regardless of their data type. " - "It is used as a simple folder to categorize and organize the objects in your model, " - "in order to keep a logical structure. Std Groups may be nested inside other Std Groups.
"); + static std::string toolTip = std::string("") + + QT_TR_NOOP("A Group is a general purpose container to group objects in the " + "Tree view, regardless of their data type. It is a simple folder to organize " + "the objects in a model.") + + "
"; + + sToolTipText = toolTip.c_str(); sWhatsThis = "Std_Group"; sStatusTip = sToolTipText; sPixmap = "folder"; diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index 948b12832c..49c9fe0301 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -3578,9 +3578,11 @@ StdCmdSelBack::StdCmdSelBack() { sGroup = "View"; sMenuText = QT_TR_NOOP("Selection Back"); - sToolTipText = QT_TR_NOOP("The Std SelBack command restores the previous" - " recorded Tree view selection. Note that selections are only recorded if" - " Tree RecordSelection mode is switched on.
"); + static std::string toolTip = std::string("") + + QT_TR_NOOP("Restore the previous Tree view selection. " + "Only works if Tree RecordSelection mode is switched on.") + + "
"; + sToolTipText = toolTip.c_str(); sWhatsThis = "Std_SelBack"; sStatusTip = sToolTipText; sPixmap = "sel-back"; @@ -3610,9 +3612,11 @@ StdCmdSelForward::StdCmdSelForward() { sGroup = "View"; sMenuText = QT_TR_NOOP("Selection Forward"); - sToolTipText = QT_TR_NOOP("The Std SelForward command restores the next " - "recorded Tree view selection. Note that selections are only recorded if " - "Tree RecordSelection mode is switched on.
"); + static std::string toolTip = std::string("") + + QT_TR_NOOP("Restore the next Tree view selection. " + "Only works if Tree RecordSelection mode is switched on.") + + "
"; + sToolTipText = toolTip.c_str(); sWhatsThis = "Std_SelForward"; sStatusTip = sToolTipText; sPixmap = "sel-forward";