From 81b303aa18226194d55b6966950085d3776e3e6c Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Fri, 24 May 2019 01:40:09 +0200 Subject: [PATCH] Tweak help messages a bit --- src/calibre/devices/kobo/driver.py | 5 ++--- src/calibre/devices/kobo/kobotouch_config.py | 10 ++++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index b3d31f4376..ed85aceb29 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -1442,7 +1442,7 @@ class KOBOTOUCH(KOBO): # NOTE: Values pulled from Nickel by @geek1011, # c.f., this handy recap: https://github.com/shermp/Kobo-UNCaGED/issues/16#issuecomment-494229994 # Only the N3_FULL values differ, as they should match the screen's effective resolution. - # Note that All Kobo devices share a common AR at roughly 0.75, + # Note that all Kobo devices share a common AR at roughly 0.75, # so results should be similar, no matter the exact device. COVER_FILE_ENDINGS = { # Used for screensaver, home screen @@ -2683,12 +2683,11 @@ class KOBOTOUCH(KOBO): :param kobo_size: Size of the cover image on the device. :param upload_grayscale: boolean True if driver configured to send grayscale thumbnails :param dithered_covers: boolean True if driver configured to quantize to 16-col grayscale - at calibre end :param keep_cover_aspect: boolean - True if the aspect ratio of the cover in the library is to be kept. :param is_full_size: True if this is the kobo_size is for the full size cover image Passed to allow ability to process screensaver differently to smaller thumbnails - :param letterbox: True if we were asked to handle the letterboxing at calibre end + :param letterbox: True if we were asked to handle the letterboxing :param png_covers: True if we were asked to encode those images in PNG instead of JPG ''' diff --git a/src/calibre/devices/kobo/kobotouch_config.py b/src/calibre/devices/kobo/kobotouch_config.py index 6f6c8a8e51..aafad31e58 100644 --- a/src/calibre/devices/kobo/kobotouch_config.py +++ b/src/calibre/devices/kobo/kobotouch_config.py @@ -316,9 +316,7 @@ class CoversGroupBox(DeviceOptionsGroupBox): _('Upload dithered covers'), _('Dither cover images to the appropriate 16c grayscale palette for an eInk screen.' ' This usually ensures greater accuracy and avoids banding, making sleep covers look better.' - ' Note that in some cases, you might want to leave this disabled,' - ' as Nickel will do a better job than Calibre, especially on newer FW versions (>= 4.11)!' - ' Unfortunately, this desirable behavior appears to depend on the exact device and FW version combo...' + ' On FW >= 4.11, Nickel itself may sometimes do a decent job of it.' ' Has no effect without "Upload black and white covers"!'), device.get_pref('dithered_covers') ) @@ -337,10 +335,10 @@ class CoversGroupBox(DeviceOptionsGroupBox): self.letterbox_fs_covers_checkbox = create_checkbox( _('Letterbox full-screen covers'), - _('Do it on our end, instead of letting nickel handle it.' + _('Do it on our end, instead of letting Nickel handle it.' ' Provides pixel-perfect results on devices where Nickel does not do extra processing.' ' Obviously has no effect without "Keep cover aspect ratio".' - ' This is also probably undesirable if you disable the "Show book covers full screen"' + ' This is probably undesirable if you disable the "Show book covers full screen"' ' setting on your device.'), device.get_pref('letterbox_fs_covers')) # Make it visually depend on AR being enabled! @@ -355,7 +353,7 @@ class CoversGroupBox(DeviceOptionsGroupBox): ' Higher quality, especially with "Upload dithered covers" enabled,' ' which will also help generate potentially smaller files.' ' Behavior completely unknown on "old" Kobo firmwares,' - ' last tested on FW 4.9 to 4.12.' + ' known to behave on FW >= 4.9.' ' Has no effect without "Upload black and white covers"!'), device.get_pref('png_covers')) # Make it visually depend on B&W being enabled, to avoid storing ridiculously large color PNGs.