mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix #1739668 [Lost in translation ;)](https://bugs.launchpad.net/calibre/+bug/1739668)
This commit is contained in:
parent
2b5c498b62
commit
3e68ad2c43
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user