Tweak help messages a bit

This commit is contained in:
NiLuJe 2019-05-24 01:40:09 +02:00
parent 5e7907b0aa
commit 81b303aa18
2 changed files with 6 additions and 9 deletions

View File

@ -1442,7 +1442,7 @@ class KOBOTOUCH(KOBO):
# NOTE: Values pulled from Nickel by @geek1011, # NOTE: Values pulled from Nickel by @geek1011,
# c.f., this handy recap: https://github.com/shermp/Kobo-UNCaGED/issues/16#issuecomment-494229994 # 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. # 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. # so results should be similar, no matter the exact device.
COVER_FILE_ENDINGS = { COVER_FILE_ENDINGS = {
# Used for screensaver, home screen # Used for screensaver, home screen
@ -2683,12 +2683,11 @@ class KOBOTOUCH(KOBO):
:param kobo_size: Size of the cover image on the device. :param kobo_size: Size of the cover image on the device.
:param upload_grayscale: boolean True if driver configured to send grayscale thumbnails :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 :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 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 :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 Passed to allow ability to process screensaver differently
to smaller thumbnails 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 :param png_covers: True if we were asked to encode those images in PNG instead of JPG
''' '''

View File

@ -316,9 +316,7 @@ class CoversGroupBox(DeviceOptionsGroupBox):
_('Upload dithered covers'), _('Upload dithered covers'),
_('Dither cover images to the appropriate 16c grayscale palette for an eInk screen.' _('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.' ' 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,' ' On FW >= 4.11, Nickel itself may sometimes do a decent job of it.'
' 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...'
' Has no effect without "Upload black and white covers"!'), ' Has no effect without "Upload black and white covers"!'),
device.get_pref('dithered_covers') device.get_pref('dithered_covers')
) )
@ -337,10 +335,10 @@ class CoversGroupBox(DeviceOptionsGroupBox):
self.letterbox_fs_covers_checkbox = create_checkbox( self.letterbox_fs_covers_checkbox = create_checkbox(
_('Letterbox full-screen covers'), _('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.' ' Provides pixel-perfect results on devices where Nickel does not do extra processing.'
' Obviously has no effect without "Keep cover aspect ratio".' ' 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.'), ' setting on your device.'),
device.get_pref('letterbox_fs_covers')) device.get_pref('letterbox_fs_covers'))
# Make it visually depend on AR being enabled! # Make it visually depend on AR being enabled!
@ -355,7 +353,7 @@ class CoversGroupBox(DeviceOptionsGroupBox):
' Higher quality, especially with "Upload dithered covers" enabled,' ' Higher quality, especially with "Upload dithered covers" enabled,'
' which will also help generate potentially smaller files.' ' which will also help generate potentially smaller files.'
' Behavior completely unknown on "old" Kobo firmwares,' ' 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"!'), ' Has no effect without "Upload black and white covers"!'),
device.get_pref('png_covers')) device.get_pref('png_covers'))
# Make it visually depend on B&W being enabled, to avoid storing ridiculously large color PNGs. # Make it visually depend on B&W being enabled, to avoid storing ridiculously large color PNGs.