mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add languages to list of available fields for save templates
This commit is contained in:
parent
31d77b94da
commit
6ad8c353ee
@ -47,6 +47,7 @@ FORMAT_ARG_DESCS = dict(
|
|||||||
pubdate=_('The published date'),
|
pubdate=_('The published date'),
|
||||||
last_modified=_('The date when the metadata for this book record'
|
last_modified=_('The date when the metadata for this book record'
|
||||||
' was last modified'),
|
' was last modified'),
|
||||||
|
languages=_('The language(s) of this book'),
|
||||||
id=_('The calibre internal id')
|
id=_('The calibre internal id')
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -283,7 +284,6 @@ def save_book_to_disk(id_, db, root, opts, length):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def do_save_book_to_disk(id_, mi, cover, plugboards,
|
def do_save_book_to_disk(id_, mi, cover, plugboards,
|
||||||
format_map, root, opts, length):
|
format_map, root, opts, length):
|
||||||
from calibre.ebooks.metadata.meta import set_metadata
|
from calibre.ebooks.metadata.meta import set_metadata
|
||||||
|
Loading…
x
Reference in New Issue
Block a user