[processing] replace QCoreApplication.translate() with tr() in

ParametersPanel class
This commit is contained in:
Alexander Bruy 2018-03-09 14:57:37 +02:00
parent b0cd3fb5f0
commit 0079034945

View File

@ -91,7 +91,7 @@ class ParametersPanel(BASE, WIDGET):
def formatParameterTooltip(self, parameter):
return '<p><b>{}</b></p><p>{}</p>'.format(
parameter.description(),
QCoreApplication.translate('ParametersPanel', 'Python identifier: {}').format('<i>{}</i>'.format(parameter.name()))
self.tr('Python identifier: {}').format('<i>{}</i>'.format(parameter.name()))
)
def initWidgets(self):