This commit is contained in:
Kovid Goyal 2011-11-08 12:42:24 +05:30
parent 82db59b2ad
commit df6beb6e09
2 changed files with 6 additions and 1 deletions

View File

@ -122,6 +122,11 @@ class Kobo(Device):
output_format = 'EPUB'
id = 'kobo'
class KoboVox(Kobo):
name = 'Kobo Vox'
output_profile = 'tablet'
id = 'kobo_vox'
class Booq(Device):
name = 'bq Classic'
manufacturer = 'Booq'

View File

@ -173,7 +173,7 @@ def get_components(template, mi, id, timefmt='%b %Y', length=250,
tsorder = tweaks['save_template_title_series_sorting']
format_args = FORMAT_ARGS.copy()
format_args.update(mi.all_non_none_fields())
if mi.is_null('author_sort'):
if mi.author_sort == _('Unknown'):
format_args['author_sort'] = _('Unknown')
if mi.title:
if tsorder == 'strictly_alphabetic':