From ff162a2b8f5c1b623da5ebfd62ec613115f0a751 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 26 Sep 2019 09:30:32 +0530 Subject: [PATCH] Fix #1845416 [Repetition in error message](https://bugs.launchpad.net/calibre/+bug/1845416) --- src/pyj/read_book/ui.pyj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyj/read_book/ui.pyj b/src/pyj/read_book/ui.pyj index 189380951f..bc5914ce4e 100644 --- a/src/pyj/read_book/ui.pyj +++ b/src/pyj/read_book/ui.pyj @@ -235,7 +235,7 @@ class ReadUI: return if end_type is not 'load': return self.show_error(_('Failed to load book manifest'), - _('Could not open {title} as the book manifest failed to load, click "Show Details" for more information.').format(title=self.current_metadata.title), + _('The book manifest failed to load, click "Show Details" for more information.').format(title=self.current_metadata.title), xhr.error_html) try: manifest = JSON.parse(xhr.responseText) @@ -370,7 +370,7 @@ class ReadUI: return if end_type is not 'load': return self.show_error(_('Failed to load MathJax manifest'), - _('Could not open {title} as the MathJax manifest failed to load, click "Show Details" for more information.').format(title=self.current_metadata.title), + _('The MathJax manifest failed to load, click "Show Details" for more information.').format(title=self.current_metadata.title), xhr.error_html) try: manifest = JSON.parse(xhr.responseText)