Change some text to reflect the fact that stemming works for multiple languages not just English

This commit is contained in:
Kovid Goyal 2021-11-23 15:24:13 +05:30
parent 66dd933fad
commit 2d66fa4e68
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -934,11 +934,11 @@ class AnnotationsBrowser(Dialog):
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)