Draft: Applied patch from nahshon - fixes misc errors from translation fixes
This commit is contained in:
@@ -235,8 +235,6 @@ class CubicBezCurve(gui_lines.Line):
|
||||
|
||||
def GetResources(self):
|
||||
"""Set icon, menu and tooltip."""
|
||||
_menu = ""
|
||||
_tip = ()
|
||||
|
||||
return {'Pixmap': 'Draft_CubicBezCurve',
|
||||
# 'Accel': "B, Z",
|
||||
|
||||
@@ -163,10 +163,8 @@ class SelectGroup(gui_base.GuiCommandNeedsSelection):
|
||||
|
||||
d = {'Pixmap': 'Draft_SelectGroup',
|
||||
'MenuText': QT_TRANSLATE_NOOP("Draft_SelectGroup","Select group"),
|
||||
'ToolTip': QT_TRANSLATE_NOOP("Draft_SelectGroup","If the selection is a group, it selects all objects that are inside this group, "
|
||||
"including those in nested sub-groups.\n\nIf the selection is a simple object "
|
||||
"inside a group, it will select the \"brother\" objects, that is,\nthose that are "
|
||||
"at the same level as this object, including the upper group that contains them all.")}
|
||||
'ToolTip': QT_TRANSLATE_NOOP("Draft_SelectGroup","If the selection is a group, it selects all objects that are inside this group, including those in nested sub-groups.\n\nIf the selection is a simple object inside a group, it will select the \"brother\" objects, that is,\nthose that are at the same level as this object, including the upper group that contains them all.")}
|
||||
|
||||
return d
|
||||
|
||||
def Activated(self):
|
||||
|
||||
@@ -54,8 +54,6 @@ class Shape2DView(gui_base_original.Modifier):
|
||||
|
||||
def GetResources(self):
|
||||
"""Set icon, menu and tooltip."""
|
||||
_menu = ""
|
||||
_tip = ()
|
||||
|
||||
return {'Pixmap': 'Draft_2DShapeView',
|
||||
'MenuText': QT_TRANSLATE_NOOP("Draft_Shape2DView", "Shape 2D view"),
|
||||
|
||||
@@ -62,8 +62,6 @@ class ShapeString(gui_base_original.Creator):
|
||||
|
||||
def GetResources(self):
|
||||
"""Set icon, menu and tooltip."""
|
||||
_menu = ""
|
||||
_tip = ()
|
||||
|
||||
d = {'Pixmap': 'Draft_ShapeString',
|
||||
'Accel': "S, S",
|
||||
|
||||
@@ -567,7 +567,6 @@ class ShowSnapBar(gui_base.GuiCommandSimplest):
|
||||
|
||||
def GetResources(self):
|
||||
"""Set icon, menu and tooltip."""
|
||||
_tip = ""
|
||||
|
||||
return {'Pixmap': 'Draft_Snap',
|
||||
'MenuText': QT_TRANSLATE_NOOP("Draft_ShowSnapBar","Show snap toolbar"),
|
||||
|
||||
@@ -54,8 +54,6 @@ class SubelementHighlight(gui_base_original.Modifier):
|
||||
|
||||
def GetResources(self):
|
||||
"""Set icon, menu and tooltip."""
|
||||
_menu = ""
|
||||
_tip = ()
|
||||
|
||||
return {'Pixmap': 'Draft_SubelementHighlight',
|
||||
'Accel': "H, S",
|
||||
|
||||
Reference in New Issue
Block a user