From 3e68ad2c43f353d83224cf9b6d2e5f4e265ad8be Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 22 Dec 2017 07:16:07 +0530 Subject: [PATCH] Fix #1739668 [Lost in translation ;)](https://bugs.launchpad.net/calibre/+bug/1739668) --- src/calibre/gui2/tweak_book/spell.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/tweak_book/spell.py b/src/calibre/gui2/tweak_book/spell.py index a5bc25a7a2..9325b4c505 100644 --- a/src/calibre/gui2/tweak_book/spell.py +++ b/src/calibre/gui2/tweak_book/spell.py @@ -58,14 +58,15 @@ class AddDictionary(QDialog): # {{{ QDialog.__init__(self, parent) self.setWindowTitle(_('Add a dictionary')) self.l = l = QFormLayout(self) + l.setFieldGrowthPolicy(l.AllNonFixedFieldsGrow) self.setLayout(l) self.la = la = QLabel('

' + _( '''{0} supports the use of LibreOffice dictionaries for spell checking. You can download more dictionaries from the LibreOffice extensions repository. The dictionary will download as an .oxt file. Simply specify the path to the - downloaded .oxt file here to add the dictionary to {0}.'''.format( - __appname__, 'http://extensions.libreoffice.org/extension-center?getCategories=Dictionary&getCompatibility=any&sort_on=positive_ratings'))+'

') # noqa + downloaded .oxt file here to add the dictionary to {0}.''').format( + __appname__, 'http://extensions.libreoffice.org/extension-center?getCategories=Dictionary&getCompatibility=any&sort_on=positive_ratings')+'

') # noqa la.setWordWrap(True) la.setOpenExternalLinks(True) la.setMinimumWidth(450)