From ac77a72f3f60706e6394e827877b6a772b432519 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 18 Sep 2018 20:39:54 -0400 Subject: bullets require unicode strings --- lib/extensions/install.py | 4 ++-- lib/extensions/params.py | 8 ++++---- 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 -- cgit v1.2.3