String changes

This commit is contained in:
Kovid Goyal 2019-10-05 12:09:53 +05:30
parent 34d3011726
commit fc9bbd7ca2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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()
)))