2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

Align wording of AltStatusBar menu to the bottom one (#7130)

Also change to "Font size (%1)"
This commit is contained in:
zwim 2021-01-10 19:37:51 +01:00 committed by GitHub
parent 47568ae9b4
commit 8991ec1372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -21,6 +21,7 @@ function ReaderCoptListener:onReadSettings(config)
end)
end
-- crengine top status bar can only show author and title together
self.title = G_reader_settings:readSetting("cre_header_title") or 1
self.clock = G_reader_settings:readSetting("cre_header_clock") or 1
self.page_number = G_reader_settings:readSetting("cre_header_page_number") or 1
@ -76,7 +77,7 @@ function ReaderCoptListener:getAltStatusBarMenu()
separator = true,
},
{
text = _("Title"),
text = _("Book author and title"),
checked_func = function()
return self.title == 1
end,
@ -86,7 +87,7 @@ function ReaderCoptListener:getAltStatusBarMenu()
end,
},
{
text = _("Clock"),
text = _("Current time"),
checked_func = function()
return self.clock == 1
end,
@ -96,7 +97,7 @@ function ReaderCoptListener:getAltStatusBarMenu()
end,
},
{
text = _("Page number"),
text = _("Current page"),
checked_func = function()
return self.page_number == 1
end,
@ -106,7 +107,7 @@ function ReaderCoptListener:getAltStatusBarMenu()
end,
},
{
text = _("Page count"),
text = _("Total pages"),
checked_func = function()
return self.page_count == 1
end,
@ -116,7 +117,7 @@ function ReaderCoptListener:getAltStatusBarMenu()
end,
},
{
text = _("Reading percentage"),
text = _("Progress percentage"),
checked_func = function()
return self.reading_percent == 1
end,
@ -126,7 +127,7 @@ function ReaderCoptListener:getAltStatusBarMenu()
end,
},
{
text = _("Battery"),
text = _("Battery status"),
checked_func = function()
return self.battery == 1
end,
@ -161,7 +162,7 @@ function ReaderCoptListener:getAltStatusBarMenu()
},
{
text_func = function()
return T(_("Top status bar font size (%1)"), G_reader_settings:readSetting("cre_header_status_font_size") or 20 )
return T(_("Font size (%1)"), G_reader_settings:readSetting("cre_header_status_font_size") or 20 )
end,
callback = function(touchmenu_instance)
local SpinWidget = require("ui/widget/spinwidget")

View File

@ -799,7 +799,7 @@ function ReaderFooter:textOptionTitles(option)
pages_left = T(_("Pages left in chapter (%1)"), symbol_prefix[symbol].pages_left),
battery = T(_("Battery status (%1)"), symbol_prefix[symbol].battery),
percentage = symbol_prefix[symbol].percentage
and T(_("Progress percentage (%1)"), symbol_prefix[symbol].percentage) or ("Progress percentage"),
and T(_("Progress percentage (%1)"), symbol_prefix[symbol].percentage) or _("Progress percentage"),
book_time_to_read = T(_("Book time to read (%1)"),symbol_prefix[symbol].book_time_to_read),
chapter_time_to_read = T(_("Chapter time to read (%1)"), symbol_prefix[symbol].chapter_time_to_read),
frontlight = T(_("Frontlight level (%1)"), symbol_prefix[symbol].frontlight),