From 9197b55d724df8b1937bb8ed1d425ac7cc9a5d2b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 11 Oct 2021 21:33:08 +0530 Subject: [PATCH] String changes --- src/calibre/gui2/library/annotations.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/calibre/gui2/library/annotations.py b/src/calibre/gui2/library/annotations.py index 269f1a85e0..1971c89890 100644 --- a/src/calibre/gui2/library/annotations.py +++ b/src/calibre/gui2/library/annotations.py @@ -536,11 +536,11 @@ class Restrictions(QWidget): def update_book_restrictions_text(self): if not self.restrict_to_book_ids: - t = _('Show results from only selected books') + t = _('&Show results from only selected books') else: t = ngettext( - 'Show results from only the selected book', - 'Show results from only the {} selected books', + '&Show results from only the selected book', + '&Show results from only the {} selected books', len(self.restrict_to_book_ids)).format(len(self.restrict_to_book_ids)) self.restrict_to_books_cb.setText(t) @@ -934,7 +934,7 @@ class AnnotationsBrowser(Dialog): return Dialog.keyPressEvent(self, ev) 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.setToolTip('

' + _( 'With this option searching for words will also match on any related English words. For'