mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Rationalize the add filters
This commit is contained in:
parent
9cf545b61a
commit
94909a30da
@ -30,15 +30,12 @@ from calibre.ptempfile import PersistentTemporaryFile
|
|||||||
def get_filters():
|
def get_filters():
|
||||||
return [
|
return [
|
||||||
(_('Books'), BOOK_EXTENSIONS),
|
(_('Books'), BOOK_EXTENSIONS),
|
||||||
(_('EPUB Books'), ['epub']),
|
(_('EPUB books'), ['epub', 'kepub']),
|
||||||
(_('LRF Books'), ['lrf']),
|
(_('Kindle books'), ['mobi', 'prc', 'azw', 'azw3', 'kfx', 'tpz', 'azw1', 'azw4']),
|
||||||
(_('HTML Books'), ['htm', 'html', 'xhtm', 'xhtml']),
|
(_('PDF books'), ['pdf', 'azw4']),
|
||||||
(_('LIT Books'), ['lit']),
|
(_('HTML books'), ['htm', 'html', 'xhtm', 'xhtml']),
|
||||||
(_('MOBI Books'), ['mobi', 'prc', 'azw', 'azw3']),
|
(_('LIT books'), ['lit']),
|
||||||
(_('Topaz books'), ['tpz','azw1']),
|
(_('Text books'), ['txt', 'text', 'rtf', 'md', 'markdown', 'textile', 'txtz']),
|
||||||
(_('Text books'), ['txt', 'text', 'rtf']),
|
|
||||||
(_('PDF Books'), ['pdf', 'azw4']),
|
|
||||||
(_('SNB Books'), ['snb']),
|
|
||||||
(_('Comics'), ['cbz', 'cbr', 'cbc']),
|
(_('Comics'), ['cbz', 'cbr', 'cbc']),
|
||||||
(_('Archives'), ['zip', 'rar']),
|
(_('Archives'), ['zip', 'rar']),
|
||||||
(_('Wordprocessor files'), ['odt', 'doc', 'docx']),
|
(_('Wordprocessor files'), ['odt', 'doc', 'docx']),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user