fixes 0003734: Image Scaling tooltip is untranslatable and should be reworded

This commit is contained in:
wmayer
2018-12-16 11:15:06 +01:00
parent fd050c6f1d
commit 5a028e4578

View File

@@ -60,9 +60,9 @@ class _CommandImageScaling:
"Command to Scale an Image to an Image Plane"
def GetResources(self):
return {'Pixmap': ":/icons/image-scale.svg",
'MenuText': QtCore.QT_TRANSLATE_NOOP("Image_Scaling", "Image Scaling to an Image Plane"),
'MenuText': QtCore.QT_TRANSLATE_NOOP("Image_Scaling", "Scale image plane"),
'Accel': "",
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Image_Scaling", "Image Scaling to an Image Plane")}
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Image_Scaling", "Scales an image plane by defining a distance between two points")}
def Activated(self):
cmdCreateImageScaling(name="ImageScaling")
@@ -131,7 +131,7 @@ def cmdCreateImageScaling(name):
self.dialog.show()
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
Dialog.setWindowTitle(_translate("Dialog", "Scale image plane", None))
self.label.setText(_translate("Dialog", "Distance", None))
self.label1.setText(_translate("Dialog", "Select first point", None))