Skip to content
Permalink
Browse files

fix utf8 python translation string

  • Loading branch information
jef-n committed Aug 11, 2017
1 parent ff3f84b commit 025a23451bbbc54e2f0cf7acd4e77808613ea9c0
Showing with 5 additions and 2 deletions.
  1. +5 −2 python/plugins/processing/gui/ParametersPanel.py
@@ -84,8 +84,11 @@ def layerRegistryChanged(self, layers):
wrapper.refresh()

def formatParameterTooltip(self, parameter):
return '<p><b>{}</b></p><p>{}</p>'.format(parameter.description(),
self.tr('Python identifier: ‘{}’').format('<i>{}</i>'.format(parameter.name())))
return '<p><b>{}</b></p><p>{}</p>'.format(
parameter.description(),
QCoreApplication.translate('ParametersPanel', 'Python identifier: ‘{}’')
k.format('<i>{}</i>'.format(parameter.name()))
)

def initWidgets(self):
# If there are advanced parameters — show corresponding groupbox

0 comments on commit 025a234

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