From 9a22185fd9157616fbe1de131716984000e85526 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 4 Nov 2016 10:36:09 +0530 Subject: [PATCH] ... --- src/calibre/web/feeds/news.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py index 4d85b1dc30..54e8f9966d 100644 --- a/src/calibre/web/feeds/news.py +++ b/src/calibre/web/feeds/news.py @@ -1239,7 +1239,9 @@ class BasicNewsRecipe(Recipe): for req in self.jobs: tp.putRequest(req, block=True, timeout=0) - self.report_progress(0, _('Starting download [%d thread(s)]...')%self.simultaneous_downloads) + self.report_progress(0, ngettext( + 'Starting download in a single thread...', + 'Starting download [{} threads]...', self.simultaneous_downloads).format(self.simultaneous_downloads)) while True: try: tp.poll() @@ -1799,4 +1801,3 @@ class CalibrePeriodical(BasicNewsRecipe): except: self.log.exception('Failed to compile downloaded recipe') return os.path.abspath('index.html') -