Skip to content

Commit

Permalink
[processing] replace QCoreApplication.translate() with tr() in
Browse files Browse the repository at this point in the history
ParametersPanel class
  • Loading branch information
alexbruy committed Mar 9, 2018
1 parent b0cd3fb commit 0079034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/ParametersPanel.py
Expand Up @@ -91,7 +91,7 @@ def layerRegistryChanged(self, layers):
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):
Expand Down

1 comment on commit 0079034

@jef-n
Copy link
Member

@jef-n jef-n commented on 0079034 Mar 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.