mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
d509d5c453
commit
9197b55d72
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user