From 66d462d28cfec854a96898949a257233a9c13e6e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 10 Dec 2013 11:11:57 +0530 Subject: [PATCH] Special help message for calibre_bookmarks.txt --- src/calibre/ebooks/oeb/polish/check/links.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/calibre/ebooks/oeb/polish/check/links.py b/src/calibre/ebooks/oeb/polish/check/links.py index 011c378768..5843b84cfd 100644 --- a/src/calibre/ebooks/oeb/polish/check/links.py +++ b/src/calibre/ebooks/oeb/polish/check/links.py @@ -54,6 +54,13 @@ class Unmanifested(BadLink): def __init__(self, name): BadLink.__init__(self, _( 'The file %s is not listed in the manifest') % name, name) + if name == 'META-INF/calibre_bookmarks.txt': + self.HELP = _( + 'This file stores the bookmarks and last opened information from' + ' the calibre ebook viewer. You can remove it if you do not' + ' need that information, or dont want to share it with' + ' other people you send this book to.') + def check_links(container): links_map = defaultdict(set)