mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 05:46:21 +02:00
Change some text to reflect the fact that stemming works for multiple languages not just English
This commit is contained in:
parent
66dd933fad
commit
2d66fa4e68
1 changed files with 3 additions and 3 deletions
|
|
@ -934,11 +934,11 @@ def keyPressEvent(self, ev):
|
||||||
return Dialog.keyPressEvent(self, ev)
|
return Dialog.keyPressEvent(self, ev)
|
||||||
|
|
||||||
def setup_ui(self):
|
def setup_ui(self):
|
||||||
self.use_stemmer = us = QCheckBox(_('&Match on related English words'))
|
self.use_stemmer = us = QCheckBox(_('&Match on related words'))
|
||||||
us.setChecked(gprefs['browse_annots_use_stemmer'])
|
us.setChecked(gprefs['browse_annots_use_stemmer'])
|
||||||
us.setToolTip('<p>' + _(
|
us.setToolTip('<p>' + _(
|
||||||
'With this option searching for words will also match on any related English words. For'
|
'With this option searching for words will also match on any related words (supported in several languages). For'
|
||||||
' example: <i>correction</i> matches <i>correcting</i> and <i>corrected</i> as well'))
|
' example, in the English language: <i>correction</i> matches <i>correcting</i> and <i>corrected</i> as well'))
|
||||||
us.stateChanged.connect(lambda state: gprefs.set('browse_annots_use_stemmer', state != Qt.CheckState.Unchecked))
|
us.stateChanged.connect(lambda state: gprefs.set('browse_annots_use_stemmer', state != Qt.CheckState.Unchecked))
|
||||||
|
|
||||||
l = QVBoxLayout(self)
|
l = QVBoxLayout(self)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue