From 82addc8653b2054e53904f862922941c72f8f8c2 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 28 May 2016 14:21:38 +0200 Subject: [PATCH 1/2] Correct spelling of tolino shine and vision devices --- src/calibre/devices/eb600/driver.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/calibre/devices/eb600/driver.py b/src/calibre/devices/eb600/driver.py index 699f62c53c..1a2c7a6ea1 100644 --- a/src/calibre/devices/eb600/driver.py +++ b/src/calibre/devices/eb600/driver.py @@ -51,9 +51,9 @@ class EB600(USBMS): class TOLINO(EB600): - name = 'Tolino Shine Device Interface' - gui_name = 'Tolino Shine' - description = _('Communicate with the Tolino Shine and Vision readers') + name = 'tolino shine Device Interface' + gui_name = 'tolino shine' + description = _('Communicate with the tolino shine and vision readers') FORMATS = ['epub', 'pdf', 'txt'] PRODUCT_ID = EB600.PRODUCT_ID + [0x6033, 0x6052, 0x6053] BCD = [0x226, 0x9999] @@ -64,7 +64,7 @@ class TOLINO(EB600): _('Swap main and card A') + ':::' + _('Check this box if the device\'s main memory is being seen as card a and the card ' - 'is being seen as main memory. Some Tolino devices may need this option.'), + 'is being seen as main memory. Some tolino devices may need this option.'), ] EXTRA_CUSTOMIZATION_DEFAULT = [ @@ -110,7 +110,7 @@ class TOLINO(EB600): return names def post_open_callback(self): - # The Tolino Vision only handles books inside the Books folder + # The tolino vision only handles books inside the Books folder product_id, bcd = self.device_being_opened[1], self.device_being_opened[2] is_tolino = product_id in (0x6033, 0x6052, 0x6053) or (product_id == 0x1688 and bcd == 0x226) self.ebook_dir_for_upload = 'Books' if is_tolino else '' From 168e5a79d69d030a86d1d4808a97cc41dc51bc0b Mon Sep 17 00:00:00 2001 From: probonopd Date: Wed, 1 Jun 2016 00:29:17 +0200 Subject: [PATCH 2/2] As per https://github.com/kovidgoyal/calibre/pull/508#issuecomment-222839885 --- src/calibre/devices/eb600/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/eb600/driver.py b/src/calibre/devices/eb600/driver.py index 1a2c7a6ea1..4e166ed48b 100644 --- a/src/calibre/devices/eb600/driver.py +++ b/src/calibre/devices/eb600/driver.py @@ -51,7 +51,7 @@ class EB600(USBMS): class TOLINO(EB600): - name = 'tolino shine Device Interface' + name = 'Tolino Shine Device Interface' gui_name = 'tolino shine' description = _('Communicate with the tolino shine and vision readers') FORMATS = ['epub', 'pdf', 'txt']