Skip to content

Commit 025a234

Browse files
committedAug 11, 2017
fix utf8 python translation string
1 parent ff3f84b commit 025a234

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,11 @@ def layerRegistryChanged(self, layers):
8484
wrapper.refresh()
8585

8686
def formatParameterTooltip(self, parameter):
87-
return '<p><b>{}</b></p><p>{}</p>'.format(parameter.description(),
88-
self.tr('Python identifier: ‘{}’').format('<i>{}</i>'.format(parameter.name())))
87+
return '<p><b>{}</b></p><p>{}</p>'.format(
88+
parameter.description(),
89+
QCoreApplication.translate('ParametersPanel', 'Python identifier: ‘{}’')
90+
k.format('<i>{}</i>'.format(parameter.name()))
91+
)
8992

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

0 commit comments

Comments
 (0)
Please sign in to comment.