Skip to content
Permalink
Browse files

[processing] corrected some issues with i18n names

  • Loading branch information
volaya committed Sep 21, 2015
1 parent d43176a commit 8ed71fbd38501449e86b774d2d94937bb07a777b
@@ -94,4 +94,4 @@ def getDisplayNameEn(alg):


def getDisplayName(alg):
return alg.i18n_name if alg.i18n_name else "[" + alg.name + "]"
return alg.i18n_name or alg.name
@@ -388,7 +388,7 @@ def populate(self):
groupItem = groups[alg.group]
else:
groupItem = QTreeWidgetItem()
name = alg.i18n_group if alg.i18n_group else "[" + alg.group + "]"
name = alg.i18n_group or alg.group
groupItem.setText(0, name)
groupItem.setToolTip(0, name)
groups[alg.group] = groupItem
@@ -571,7 +571,7 @@ def fillAlgorithmTreeUsingProviders(self):
groupItem = groups[alg.group]
else:
groupItem = QTreeWidgetItem()
name = alg.i18n_group
name = alg.i18n_group or alg.group
groupItem.setText(0, name)
groupItem.setToolTip(0, name)
groups[alg.group] = groupItem

0 comments on commit 8ed71fb

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