Draft: tooltip uniformity fixes

This commit is contained in:
luzpaz
2017-11-13 11:49:55 -05:00
parent 7dac468b9b
commit e4d1d305ea
2 changed files with 3 additions and 3 deletions

View File

@@ -1185,7 +1185,7 @@ class Snapper:
self.gridbutton = QtGui.QAction(None)
self.gridbutton.setIcon(QtGui.QIcon(":/icons/Draft_Grid.svg"))
self.gridbutton.setText(QtCore.QCoreApplication.translate("Draft_ToggleGrid","Grid"))
self.gridbutton.setToolTip(QtCore.QCoreApplication.translate("Draft_ToggleGrid","Toggles the Draft grid on/off"))
self.gridbutton.setToolTip(QtCore.QCoreApplication.translate("Draft_ToggleGrid","Toggles the Draft grid On/Off"))
self.gridbutton.setObjectName("GridButton")
self.gridbutton.setWhatsThis("Draft_ToggleGrid")
QtCore.QObject.connect(self.gridbutton,QtCore.SIGNAL("triggered()"),self.toggleGrid)

View File

@@ -3705,7 +3705,7 @@ class Drawing(Modifier):
return {'Pixmap' : 'Draft_Drawing',
'Accel' : "D, D",
'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_Drawing", "Drawing"),
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_Drawing", "Puts the selected objects on a Drawing sheet.")}
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_Drawing", "Puts the selected objects on a Drawing sheet")}
def Activated(self):
Modifier.Activated(self,"Drawing")
@@ -5206,7 +5206,7 @@ class SetWorkingPlaneProxy():
def GetResources(self):
return {'Pixmap' : 'Draft_SelectPlane',
'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_SetWorkingPlaneProxy", "Create WP Proxy"),
'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_SetWorkingPlaneProxy", "Create Working Plane Proxy"),
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_SetWorkingPlaneProxy", "Creates a proxy object from the current working plane")}
def IsActive(self):