From 73f1b1aad6115aa8758975569d523395507e24b3 Mon Sep 17 00:00:00 2001 From: mergen3107 <6279855+mergen3107@users.noreply.github.com> Date: Sun, 15 Mar 2020 06:40:24 -0400 Subject: [PATCH] [UX] More compact dictionary download window (#5960) Dictionary download window: combine the first two titles to save space and fit 3x complete dictionary selections on one page (Kindle PW3) Closes #5955 --- frontend/apps/reader/modules/readerdictionary.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/apps/reader/modules/readerdictionary.lua b/frontend/apps/reader/modules/readerdictionary.lua index 902c8f050..d44ebe011 100644 --- a/frontend/apps/reader/modules/readerdictionary.lua +++ b/frontend/apps/reader/modules/readerdictionary.lua @@ -832,8 +832,6 @@ end function ReaderDictionary:showDownload(downloadable_dicts) local kv_pairs = {} - table.insert(kv_pairs, {_("Tap dictionary name to download"), ""}) - table.insert(kv_pairs, "----------------------------") for dummy, dict in ipairs(downloadable_dicts) do table.insert(kv_pairs, {dict.name, "", callback = function() @@ -855,7 +853,7 @@ function ReaderDictionary:showDownload(downloadable_dicts) table.insert(kv_pairs, "----------------------------") end self.download_window = KeyValuePage:new{ - title = _("Download dictionaries"), + title = _("Tap dictionary name to download"), kv_pairs = kv_pairs, } UIManager:show(self.download_window)