mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #976813 ("Author Sort mismatch" error message dialog is too large)
This commit is contained in:
commit
c6265f4038
@ -68,8 +68,8 @@ class GenerateCatalogAction(InterfaceAction):
|
|||||||
# Subsequent strings are error messages
|
# Subsequent strings are error messages
|
||||||
dialog_title = job.result.pop(0)
|
dialog_title = job.result.pop(0)
|
||||||
if re.match('warning:', job.result[0].lower()):
|
if re.match('warning:', job.result[0].lower()):
|
||||||
job.result.append("Catalog generation complete.")
|
msg = _("Catalog generation complete, with warnings.")
|
||||||
warning_dialog(self.gui, dialog_title, '\n'.join(job.result), show=True)
|
warning_dialog(self.gui, dialog_title, msg, det_msg='\n'.join(job.result), show=True)
|
||||||
else:
|
else:
|
||||||
job.result.append("Catalog generation terminated.")
|
job.result.append("Catalog generation terminated.")
|
||||||
error_dialog(self.gui, dialog_title,'\n'.join(job.result),show=True)
|
error_dialog(self.gui, dialog_title,'\n'.join(job.result),show=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user