[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
reviewable/pr5962/r2
mergen3107 4 years ago committed by GitHub
parent 9ce22f53b9
commit 73f1b1aad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save