From 4608a1d991d4a1866096b03a0fe8c11f55982868 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 17 Oct 2016 15:46:21 +0530 Subject: [PATCH] Add an entry for Onyx to the welcome wizard --- src/calibre/gui2/wizard/__init__.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/calibre/gui2/wizard/__init__.py b/src/calibre/gui2/wizard/__init__.py index 718e5e700c..57775ffb94 100644 --- a/src/calibre/gui2/wizard/__init__.py +++ b/src/calibre/gui2/wizard/__init__.py @@ -191,6 +191,14 @@ class BooqCervantes(Booq): name = 'bq Cervantes' +class BOOX(Device): + name = 'BOOX MAX, N96, i86, C67ML, M96, etc.' + manufacturer = 'Onyx' + output_profile = 'generic_eink_hd' + output_format = 'EPUB' + id = 'boox_eink' + + class Sony300(Sony505): name = 'SONY Reader Pocket Edition' @@ -831,11 +839,11 @@ class Wizard(QWizard): } # The latter is simply to mark the texts for translation if False: - _('&Next >') - _('< &Back') - _('Cancel') - _('&Finish') - _('Commit') + _('&Next >') + _('< &Back') + _('Cancel') + _('&Finish') + _('Commit') def __init__(self, parent): QWizard.__init__(self, parent) @@ -891,4 +899,3 @@ if __name__ == '__main__': from calibre.gui2 import Application app = Application([]) wizard().exec_() -