From 94909a30da6ebd0bbfe27e685d845bf6f400cc88 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 10 May 2017 08:55:13 +0530 Subject: [PATCH] Rationalize the add filters --- src/calibre/gui2/actions/add.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/calibre/gui2/actions/add.py b/src/calibre/gui2/actions/add.py index b83009fc2e..c263495cdc 100644 --- a/src/calibre/gui2/actions/add.py +++ b/src/calibre/gui2/actions/add.py @@ -30,15 +30,12 @@ from calibre.ptempfile import PersistentTemporaryFile def get_filters(): return [ (_('Books'), BOOK_EXTENSIONS), - (_('EPUB Books'), ['epub']), - (_('LRF Books'), ['lrf']), - (_('HTML Books'), ['htm', 'html', 'xhtm', 'xhtml']), - (_('LIT Books'), ['lit']), - (_('MOBI Books'), ['mobi', 'prc', 'azw', 'azw3']), - (_('Topaz books'), ['tpz','azw1']), - (_('Text books'), ['txt', 'text', 'rtf']), - (_('PDF Books'), ['pdf', 'azw4']), - (_('SNB Books'), ['snb']), + (_('EPUB books'), ['epub', 'kepub']), + (_('Kindle books'), ['mobi', 'prc', 'azw', 'azw3', 'kfx', 'tpz', 'azw1', 'azw4']), + (_('PDF books'), ['pdf', 'azw4']), + (_('HTML books'), ['htm', 'html', 'xhtm', 'xhtml']), + (_('LIT books'), ['lit']), + (_('Text books'), ['txt', 'text', 'rtf', 'md', 'markdown', 'textile', 'txtz']), (_('Comics'), ['cbz', 'cbr', 'cbc']), (_('Archives'), ['zip', 'rar']), (_('Wordprocessor files'), ['odt', 'doc', 'docx']),