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
34d3011726
commit
fc9bbd7ca2
@ -233,7 +233,7 @@ class Lookup(QWidget):
|
||||
l.addWidget(self.view)
|
||||
self.populate_sources()
|
||||
self.source_box.currentIndexChanged.connect(self.source_changed)
|
||||
self.view.setHtml('<p>' + _('Double click on a word in the viewer window'
|
||||
self.view.setHtml('<p>' + _('Double click on a word in the book\'s text'
|
||||
' to look it up.'))
|
||||
self.add_button = b = QPushButton(QIcon(I('plus.png')), _('Add more sources'))
|
||||
b.clicked.connect(self.add_sources)
|
||||
|
@ -24,8 +24,8 @@ def create_goto_list(onclick, current_cfi):
|
||||
items.push(create_item(_('Next section'), icon='caret-right', subtitle=after.title, action=onclick.bind(None, after.dest, after.frag)))
|
||||
if before:
|
||||
items.push(create_item(_('Previous section'), icon='caret-left', subtitle=before.title, action=onclick.bind(None, before.dest, before.frag)))
|
||||
items.push(create_item(_('Document start'), action=onclick.bind(None, def(view): view.goto_doc_boundary(True);)))
|
||||
items.push(create_item(_('Document end'), action=onclick.bind(None, def(view): view.goto_doc_boundary(False);)))
|
||||
items.push(create_item(_('Book start'), action=onclick.bind(None, def(view): view.goto_doc_boundary(True);)))
|
||||
items.push(create_item(_('Book end'), action=onclick.bind(None, def(view): view.goto_doc_boundary(False);)))
|
||||
items.push(create_item(_('Metadata'), subtitle=_('Details about this book'), action=onclick.bind(None, def(view):
|
||||
view.overlay.show_metadata()
|
||||
)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user