Screensaver: fix menu wordings (#11993)

This commit is contained in:
hius07
2024-06-10 15:47:06 +03:00
committed by GitHub
parent 0a021d5e5e
commit e1f2acf68f
2 changed files with 4 additions and 4 deletions

View File

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

View File

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