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
885553d827
commit
a3f829a6fa
@ -739,9 +739,9 @@ class AnnotationsBrowser(Dialog):
|
|||||||
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(fill(_(
|
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'
|
||||||
' example: correction matches correcting and corrected as well')))
|
' example: <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.Unchecked))
|
us.stateChanged.connect(lambda state: gprefs.set('browse_annots_use_stemmer', state != Qt.Unchecked))
|
||||||
|
|
||||||
l = QVBoxLayout(self)
|
l = QVBoxLayout(self)
|
||||||
|
@ -722,7 +722,7 @@ class TagsView(QTreeView): # {{{
|
|||||||
# from selected books
|
# from selected books
|
||||||
if fm['datatype'] != 'rating':
|
if fm['datatype'] != 'rating':
|
||||||
m = self.context_menu.addMenu(self.edit_metadata_icon,
|
m = self.context_menu.addMenu(self.edit_metadata_icon,
|
||||||
_('Apply %s to selected books')%display_name(tag))
|
_('Add/remove %s to selected books')%display_name(tag))
|
||||||
m.addAction(self.plus_icon,
|
m.addAction(self.plus_icon,
|
||||||
_('Add %s to selected books') % display_name(tag),
|
_('Add %s to selected books') % display_name(tag),
|
||||||
partial(self.context_menu_handler, action='add_tag', index=index))
|
partial(self.context_menu_handler, action='add_tag', index=index))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user