mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-27 15:26:52 +01:00
...
This commit is contained in:
parent
f623878892
commit
94b0d82029
1 changed files with 5 additions and 3 deletions
|
|
@ -436,9 +436,11 @@ def set_metadata(self, stream, mi, type):
|
|||
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):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue