Skip to content

Commit 0079034

Browse files
committedMar 9, 2018
[processing] replace QCoreApplication.translate() with tr() in
ParametersPanel class
1 parent b0cd3fb commit 0079034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/gui/ParametersPanel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def layerRegistryChanged(self, layers):
9191
def formatParameterTooltip(self, parameter):
9292
return '<p><b>{}</b></p><p>{}</p>'.format(
9393
parameter.description(),
94-
QCoreApplication.translate('ParametersPanel', 'Python identifier: ‘{}’').format('<i>{}</i>'.format(parameter.name()))
94+
self.tr('Python identifier: ‘{}’').format('<i>{}</i>'.format(parameter.name()))
9595
)
9696

9797
def initWidgets(self):

1 commit comments

Comments
 (1)

jef-n commented on Mar 9, 2018

@jef-n
Member

This was intentionally changed as pylupdate5 doesn't work with UTF-8 strings otherwise.

Please sign in to comment.