mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-18 10:56:15 +01:00
Fix #1845416 [Repetition in error message](https://bugs.launchpad.net/calibre/+bug/1845416)
This commit is contained in:
parent
d83698bdd2
commit
ff162a2b8f
1 changed files with 2 additions and 2 deletions
|
|
@ -235,7 +235,7 @@ def got_manifest(self, book, end_type, xhr, ev):
|
|||
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 @@ def get_mathjax_manifest(self, mathjax_info, proceed):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue