String changes

This commit is contained in:
Kovid Goyal 2021-10-11 21:33:08 +05:30
parent d509d5c453
commit 9197b55d72
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -536,11 +536,11 @@ class Restrictions(QWidget):
def update_book_restrictions_text(self): def update_book_restrictions_text(self):
if not self.restrict_to_book_ids: if not self.restrict_to_book_ids:
t = _('Show results from only selected books') t = _('&Show results from only selected books')
else: else:
t = ngettext( t = ngettext(
'Show results from only the selected book', '&Show results from only the selected book',
'Show results from only the {} selected books', '&Show results from only the {} selected books',
len(self.restrict_to_book_ids)).format(len(self.restrict_to_book_ids)) len(self.restrict_to_book_ids)).format(len(self.restrict_to_book_ids))
self.restrict_to_books_cb.setText(t) self.restrict_to_books_cb.setText(t)
@ -934,7 +934,7 @@ 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 English 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 English words. For'