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

This reverts commit 007903494582b1e71273e7b801b928d32eb2f330.
This commit is contained in:
Alexander Bruy 2018-03-09 18:31:10 +02:00
parent ad4d0a17d5
commit 7eb7e9361e

View File

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