This commit is contained in:
Kovid Goyal 2016-07-14 09:16:03 +05:30
parent f623878892
commit 94b0d82029

View File

@ -436,9 +436,11 @@ class EPUBMetadataWriter(MetadataWriterPlugin):
set_metadata(stream, mi, apply_null=self.apply_null, force_identifiers=self.force_identifiers, add_missing_cover='disable-add-missing-cover' != q)
def customization_help(self, gui=False):
return _('Enter {0}{1}{2} below to have the EPUB metadata writer plugin not'
' add cover images to EPUB files that have no existing cover image.').format(
'<i>' if gui else '', 'disable-add-missing-cover', '</i>' if gui else '')
h = 'disable-add-missing-cover'
if gui:
h = '<i>' + h + '</i>'
return _('Enter {0} below to have the EPUB metadata writer plugin not'
' add cover images to EPUB files that have no existing cover image.').format(h)
class FB2MetadataWriter(MetadataWriterPlugin):