summaryrefslogtreecommitdiff
path: root/lib/extensions
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-21 20:50:14 -0400
committerLex Neva <github.com@lexneva.name>2018-08-21 20:50:14 -0400
commit94f391ab4262b5e1c8dace0263467a0ec1f17058 (patch)
tree8ce8836e5ac65e81b48d71615639bc0e7b9c08b9 /lib/extensions
parent038875f876d79d0f1e971886fe42f5bee4f9f31e (diff)
more pep8 fixes
Diffstat (limited to 'lib/extensions')
-rw-r--r--lib/extensions/install.py6
-rw-r--r--lib/extensions/print_pdf.py5
2 files changed, 8 insertions, 3 deletions
diff --git a/lib/extensions/install.py b/lib/extensions/install.py
index 2863bef0..0745eddc 100644
--- a/lib/extensions/install.py
+++ b/lib/extensions/install.py
@@ -27,8 +27,10 @@ class InstallerFrame(wx.Frame):
text_sizer = wx.BoxSizer(wx.HORIZONTAL)
- 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...)")
+ 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...)"))
static_text = wx.StaticText(panel, label=text)
font = wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL)
diff --git a/lib/extensions/print_pdf.py b/lib/extensions/print_pdf.py
index ee3dc316..90ca83ae 100644
--- a/lib/extensions/print_pdf.py
+++ b/lib/extensions/print_pdf.py
@@ -262,7 +262,10 @@ class PrintInfoFrame(wx.Frame):
panel = wx.Panel(self)
sizer = wx.BoxSizer(wx.VERTICAL)
- text = wx.StaticText(panel, label=_("A print preview has been opened in your web browser. This window will stay open in order to communicate with the JavaScript code running in your browser.\n\nThis window will close after you close the print preview in your browser, or you can close it manually if necessary."))
+ message = _("A print preview has been opened in your web browser. "
+ "This window will stay open in order to communicate with the JavaScript code running in your browser.\n\n"
+ "This window will close after you close the print preview in your browser, or you can close it manually if necessary.")
+ text = wx.StaticText(panel, label=message)
font = wx.Font(14, wx.DEFAULT, wx.NORMAL, wx.NORMAL)
text.SetFont(font)
sizer.Add(text, proportion=1, flag=wx.ALL | wx.EXPAND, border=20)