summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-09-18 20:39:54 -0400
committerLex Neva <github.com@lexneva.name>2018-09-18 20:39:54 -0400
commitac77a72f3f60706e6394e827877b6a772b432519 (patch)
treeccc5a22a7e6e5d32c44007c3a3a82f21b439065d
parent9203283081d255e20dc78839398fed9e038931b2 (diff)
bullets require unicode strings
-rw-r--r--lib/extensions/install.py4
-rw-r--r--lib/extensions/params.py8
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/extensions/install.py b/lib/extensions/install.py
index c6dadd42..f9ffe958 100644
--- a/lib/extensions/install.py
+++ b/lib/extensions/install.py
@@ -24,8 +24,8 @@ class InstallerFrame(wx.Frame):
text = (_('Ink/Stitch can install files ("add-ons") that make it easier to use Inkscape to create machine embroidery designs. '
'These add-ons will be installed:') +
- "\n\n • " + _("thread manufacturer color palettes") +
- "\n • " + _("Ink/Stitch visual commands (Object -> Symbols...)"))
+ u"\n\n • " + _("thread manufacturer color palettes") +
+ u"\n • " + _("Ink/Stitch visual commands (Object -> Symbols...)"))
static_text = wx.StaticText(panel, label=text)
font = wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL)
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