Skip to content
Permalink
Browse files

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

ParametersPanel class
  • Loading branch information
alexbruy committed Mar 9, 2018
1 parent b0cd3fb commit 007903494582b1e71273e7b801b928d32eb2f330
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/ParametersPanel.py
@@ -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):

1 comment on commit 0079034

@jef-n

This comment has been minimized.

Copy link
Member

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

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

Please sign in to comment.
You can’t perform that action at this time.