Skip to content

Commit

Permalink
Screensaver: fix menu wordings (koreader#11993)
Browse files Browse the repository at this point in the history
  • Loading branch information
hius07 committed Jun 10, 2024
1 parent 0a021d5 commit e1f2acf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/ui/elements/screensaver_menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions frontend/ui/screensaver.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit e1f2acf

Please sign in to comment.