summaryrefslogtreecommitdiff
path: root/lib/extensions/params.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-09-21 22:09:50 -0400
committerGitHub <noreply@github.com>2018-09-21 22:09:50 -0400
commit3ca3045328be5882bd3d8acb2e4e32d65c901ec6 (patch)
tree9155f4ad1770c8f06d34c1c05e12624a52e76dd6 /lib/extensions/params.py
parentd8560b60458da536d0236b0d80c4a25202d0dd99 (diff)
parentac77a72f3f60706e6394e827877b6a772b432519 (diff)
Merge pull request #321 from inkstitch/lexelby/ugettext
use ugettext() instead of gettext()
Diffstat (limited to 'lib/extensions/params.py')
-rw-r--r--lib/extensions/params.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py
index 784b6be7..b1db1b31 100644
--- a/lib/extensions/params.py
+++ b/lib/extensions/params.py
@@ -252,16 +252,16 @@ class ParamsTab(ScrolledPanel):
description = _("These settings will be applied to %d objects.") % len(self.nodes)
if any(len(param.values) > 1 for param in self.params):
- description += "\n • " + _("Some settings had different values across objects. Select a value from the dropdown or enter a new one.")
+ description += u"\n • " + _("Some settings had different values across objects. Select a value from the dropdown or enter a new one.")
if self.dependent_tabs:
if len(self.dependent_tabs) == 1:
- description += "\n • " + _("Disabling this tab will disable the following %d tabs.") % len(self.dependent_tabs)
+ description += u"\n • " + _("Disabling this tab will disable the following %d tabs.") % len(self.dependent_tabs)
else:
- description += "\n • " + _("Disabling this tab will disable the following tab.")
+ description += u"\n • " + _("Disabling this tab will disable the following tab.")
if self.paired_tab:
- description += "\n • " + _("Enabling this tab will disable %s and vice-versa.") % self.paired_tab.name
+ description += u"\n • " + _("Enabling this tab will disable %s and vice-versa.") % self.paired_tab.name
self.description_text = description