From fc9bbd7ca2bab2c0ebcd1da3fe867cd4de4ae6a1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 5 Oct 2019 12:09:53 +0530 Subject: [PATCH] String changes --- src/calibre/gui2/viewer/lookup.py | 2 +- src/pyj/read_book/goto.pyj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/calibre/gui2/viewer/lookup.py b/src/calibre/gui2/viewer/lookup.py index ac23d2b718..296d07789c 100644 --- a/src/calibre/gui2/viewer/lookup.py +++ b/src/calibre/gui2/viewer/lookup.py @@ -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('

' + _('Double click on a word in the viewer window' + self.view.setHtml('

' + _('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) diff --git a/src/pyj/read_book/goto.pyj b/src/pyj/read_book/goto.pyj index f02c1e51b9..884fec5a01 100644 --- a/src/pyj/read_book/goto.pyj +++ b/src/pyj/read_book/goto.pyj @@ -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() )))