From b0cf2ca18adf89d342e9b86717a4a2717f253689 Mon Sep 17 00:00:00 2001 From: mwoz123 Date: Thu, 29 Jun 2017 20:40:42 +0200 Subject: [PATCH] News downloader settings menu entry (#2990) Placeholder with info. --- plugins/newsdownloader.koplugin/main.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/newsdownloader.koplugin/main.lua b/plugins/newsdownloader.koplugin/main.lua index a5036ea7b..2fc3e8d88 100644 --- a/plugins/newsdownloader.koplugin/main.lua +++ b/plugins/newsdownloader.koplugin/main.lua @@ -56,12 +56,20 @@ function NewsDownloader:addToMainMenu(menu_items) text = _("Set custom download directory"), callback = function() self:setCustomDownloadDirectory() end, }, + { + text = _("Settings"), + callback = function() + UIManager:show(InfoMessage:new{ + text = T(_("To change feed (Atom/RSS) sources please manually edit the configuration file:\n%1\n\nIt is very simple and contains comments as well as sample configuration."), + feed_config_path) + }) + end, + }, { text = _("Help"), callback = function() UIManager:show(InfoMessage:new{ - text = T(_("News downloader can be configured in the feeds config file:\n%1\n\nIt downloads news items to:\n%2.\n\nTo set you own news sources edit foregoing feeds config file. Items download limit can be set there."), - feed_config_path, + text = T(_("News downloader retrieves RSS and Atom news entries and stores them to:\n%1\n\nEach entry is a separate html file, that can be browsed by KOReader file manager.\nItems download limit can be configured in Settings."), news_download_dir_path) }) end,