This commit is contained in:
Kovid Goyal 2017-12-22 07:16:07 +05:30
parent 2b5c498b62
commit 3e68ad2c43
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -58,14 +58,15 @@ class AddDictionary(QDialog): # {{{
QDialog.__init__(self, parent) QDialog.__init__(self, parent)
self.setWindowTitle(_('Add a dictionary')) self.setWindowTitle(_('Add a dictionary'))
self.l = l = QFormLayout(self) self.l = l = QFormLayout(self)
l.setFieldGrowthPolicy(l.AllNonFixedFieldsGrow)
self.setLayout(l) self.setLayout(l)
self.la = la = QLabel('<p>' + _( self.la = la = QLabel('<p>' + _(
'''{0} supports the use of LibreOffice dictionaries for spell checking. You can '''{0} supports the use of LibreOffice dictionaries for spell checking. You can
download more dictionaries from <a href="{1}">the LibreOffice extensions repository</a>. download more dictionaries from <a href="{1}">the LibreOffice extensions repository</a>.
The dictionary will download as an .oxt file. Simply specify the path to the 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( 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'))+'<p>') # noqa __appname__, 'http://extensions.libreoffice.org/extension-center?getCategories=Dictionary&getCompatibility=any&sort_on=positive_ratings')+'<p>') # noqa
la.setWordWrap(True) la.setWordWrap(True)
la.setOpenExternalLinks(True) la.setOpenExternalLinks(True)
la.setMinimumWidth(450) la.setMinimumWidth(450)