String changes

This commit is contained in:
Kovid Goyal 2019-06-06 09:13:18 +05:30
parent 5e2248fdce
commit 35169e2743
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 5 additions and 5 deletions

View File

@ -296,7 +296,7 @@
- title: "Content server: Fix heading for custom comments columns being duplicated in the book details page"
- title: "Fix editing of dates not working is the date format is set to iso."
- title: "Fix editing of dates not working if the date format is set to iso."
tickets: [1812560]
- title: "Version 3.39.1 fixes a bug in 3.39.0 that broke copy to library for books that have saved conversion options"

View File

@ -455,7 +455,7 @@ def cant_start(msg=_('If you are sure it is not running')+', ',
what = _('try deleting the file: "%s"') % path
info = base%(where, msg, what)
error_dialog(None, _('Cannot Start ')+__appname__,
error_dialog(None, _('Cannot start ')+__appname__,
'<p>'+(_('%s is already running.')%__appname__)+'</p>'+info, det_msg=det_msg, show=True)
raise SystemExit(1)

View File

@ -715,7 +715,7 @@ def do_copy_to_library(book_id, target_library_id, target_library_name):
return
if end_type is not 'load':
error_dialog(_('Failed to copy book'), _(
'Failed to copy the book "{}" click "Show details" for more information.').format(title),
'Failed to copy the book "{}". Click "Show details" for more information.').format(title),
xhr.error_html)
return
try:
@ -724,11 +724,11 @@ def do_copy_to_library(book_id, target_library_id, target_library_name):
raise Exception('bad')
except:
error_dialog(_('Failed to copy book'), _(
'Failed to copy the book "{}" got an invalid response from calibre').format(title))
'Failed to copy the book "{}" because of an invalid response from calibre').format(title))
return
if not response.ok:
error_dialog(_('Failed to copy book'), _(
'Failed to copy the book "{}" click "Show details" for more information.').format(title),
'Failed to copy the book "{}". Click "Show details" for more information.').format(title),
response.payload
)
return