fixes 0003756: Tooltips should not start with the internal name of the tool
This commit is contained in:
@@ -185,7 +185,7 @@ class CommandConnect:
|
||||
return {'Pixmap' : getIconPath("Part_JoinConnect.svg"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Part_JoinConnect","Connect objects"),
|
||||
'Accel': "",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_JoinConnect","Part_JoinConnect: Fuses objects, taking care to preserve voids.")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_JoinConnect","Fuses objects, taking care to preserve voids.")}
|
||||
|
||||
def Activated(self):
|
||||
if len(FreeCADGui.Selection.getSelectionEx()) >= 1 :
|
||||
|
||||
@@ -173,7 +173,7 @@ class CommandBooleanFragments:
|
||||
return {'Pixmap' : getIconPath("Part_BooleanFragments.svg"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Boolean Fragments"),
|
||||
'Accel': "",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Part_BooleanFragments: split objects where they intersect")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Split objects where they intersect")}
|
||||
|
||||
def Activated(self):
|
||||
if len(FreeCADGui.Selection.getSelectionEx()) >= 1 :
|
||||
@@ -309,7 +309,7 @@ class CommandSlice:
|
||||
return {'Pixmap' : getIconPath("Part_Slice.svg"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Slice to compound"),
|
||||
'Accel': "",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Part_Slice: split object by intersections with other objects, and pack the pieces into a compound.")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Split object by intersections with other objects, and pack the pieces into a compound.")}
|
||||
|
||||
def Activated(self):
|
||||
if len(FreeCADGui.Selection.getSelectionEx()) > 1 :
|
||||
@@ -333,7 +333,7 @@ class CommandSliceApart:
|
||||
return {'Pixmap' : getIconPath("Part_SliceApart.svg"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Slice apart"),
|
||||
'Accel': "",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Part_SliceApart: split object by intersections with other objects.")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Split object by intersections with other objects.")}
|
||||
|
||||
def Activated(self):
|
||||
if len(FreeCADGui.Selection.getSelectionEx()) > 1 :
|
||||
@@ -467,7 +467,7 @@ class CommandXOR:
|
||||
return {'Pixmap' : getIconPath("Part_XOR.svg"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Boolean XOR"),
|
||||
'Accel': "",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Part_XOR: remove intersection fragments")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Part_SplitFeatures","Remove intersection fragments")}
|
||||
|
||||
def Activated(self):
|
||||
if len(FreeCADGui.Selection.getSelectionEx()) >= 1 :
|
||||
|
||||
@@ -1332,7 +1332,7 @@ CmdPartMakeFace::CmdPartMakeFace()
|
||||
sAppModule = "Part";
|
||||
sGroup = QT_TR_NOOP("Part");
|
||||
sMenuText = QT_TR_NOOP("Make face from wires");
|
||||
sToolTipText = QT_TR_NOOP("Part_MakeFace: Make face from set of wires (e.g. from a sketch)");
|
||||
sToolTipText = QT_TR_NOOP("Make face from set of wires (e.g. from a sketch)");
|
||||
sWhatsThis = "Part_MakeFace";
|
||||
sStatusTip = sToolTipText;
|
||||
}
|
||||
@@ -1621,7 +1621,7 @@ CmdPartOffset::CmdPartOffset()
|
||||
sAppModule = "Part";
|
||||
sGroup = QT_TR_NOOP("Part");
|
||||
sMenuText = QT_TR_NOOP("3D Offset...");
|
||||
sToolTipText = QT_TR_NOOP("Part_Offset: Utility to offset in 3D");
|
||||
sToolTipText = QT_TR_NOOP("Utility to offset in 3D");
|
||||
sWhatsThis = "Part_Offset";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Part_Offset";
|
||||
@@ -1671,7 +1671,7 @@ CmdPartOffset2D::CmdPartOffset2D()
|
||||
sAppModule = "Part";
|
||||
sGroup = QT_TR_NOOP("Part");
|
||||
sMenuText = QT_TR_NOOP("2D Offset...");
|
||||
sToolTipText = QT_TR_NOOP("Part_Offset2D: Utility to offset planar shapes");
|
||||
sToolTipText = QT_TR_NOOP("Utility to offset planar shapes");
|
||||
sWhatsThis = "Part_Offset2D";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Part_Offset2D";
|
||||
|
||||
Reference in New Issue
Block a user