mirror of
https://github.com/koreader/koreader
synced 2024-11-11 19:11:14 +00:00
Screensaver: fix menu wordings (#11993)
This commit is contained in:
parent
0a021d5e5e
commit
e1f2acf68f
@ -85,7 +85,7 @@ return {
|
||||
end,
|
||||
sub_item_table = {
|
||||
{
|
||||
text = _("Select image or document cover"),
|
||||
text = _("Choose image or document cover"),
|
||||
enabled_func = function()
|
||||
return G_reader_settings:readSetting("screensaver_type") == "document_cover"
|
||||
end,
|
||||
@ -95,7 +95,7 @@ return {
|
||||
end,
|
||||
},
|
||||
{
|
||||
text = _("Select random image folder"),
|
||||
text = _("Choose random image folder"),
|
||||
enabled_func = function()
|
||||
return G_reader_settings:readSetting("screensaver_type") == "random_image"
|
||||
end,
|
||||
|
@ -265,7 +265,7 @@ local function addOverlayMessage(widget, widget_height, text)
|
||||
end
|
||||
|
||||
function Screensaver:chooseFolder()
|
||||
local title_header = _("Current screensaver folder:")
|
||||
local title_header = _("Current random image folder:")
|
||||
local current_path = G_reader_settings:readSetting("screensaver_dir")
|
||||
local caller_callback = function(path)
|
||||
G_reader_settings:saveSetting("screensaver_dir", path)
|
||||
@ -275,7 +275,7 @@ end
|
||||
|
||||
function Screensaver:chooseFile()
|
||||
local title_header, current_path, file_filter, caller_callback
|
||||
title_header = _("Current sleep screen image or document cover:")
|
||||
title_header = _("Current image or document cover:")
|
||||
current_path = G_reader_settings:readSetting("screensaver_document_cover")
|
||||
file_filter = function(filename)
|
||||
return DocumentRegistry:hasProvider(filename)
|
||||
|
Loading…
Reference in New Issue
Block a user