mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1845416 [Repetition in error message](https://bugs.launchpad.net/calibre/+bug/1845416)
This commit is contained in:
parent
d83698bdd2
commit
ff162a2b8f
@ -235,7 +235,7 @@ class ReadUI:
|
|||||||
return
|
return
|
||||||
if end_type is not 'load':
|
if end_type is not 'load':
|
||||||
return self.show_error(_('Failed to load book manifest'),
|
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)
|
xhr.error_html)
|
||||||
try:
|
try:
|
||||||
manifest = JSON.parse(xhr.responseText)
|
manifest = JSON.parse(xhr.responseText)
|
||||||
@ -370,7 +370,7 @@ class ReadUI:
|
|||||||
return
|
return
|
||||||
if end_type is not 'load':
|
if end_type is not 'load':
|
||||||
return self.show_error(_('Failed to load MathJax manifest'),
|
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)
|
xhr.error_html)
|
||||||
try:
|
try:
|
||||||
manifest = JSON.parse(xhr.responseText)
|
manifest = JSON.parse(xhr.responseText)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user