SomeGuy 2 weeks ago committed by GitHub
commit be60118bab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -211,7 +211,7 @@ function ReaderCoptListener:getAltStatusBarMenu()
separator = true,
sub_item_table = {
{
text = _("About alternate status bar"),
text = _("About alt status bar"),
keep_menu_open = true,
callback = function()
UIManager:show(InfoMessage:new{
@ -294,15 +294,18 @@ function ReaderCoptListener:getAltStatusBarMenu()
},
{
text_func = function()
local status = _("off")
local status = _("Battery status")
if self.battery == 1 then
if self.battery_percent == 1 then
status = _("percentage")
status = _("Battery status: percentage")
else
status = _("icon")
status = _("Battery status: icon")
end
end
return T(_("Battery status: %1"), status)
return T(_("%1"), status)
end,
checked_func = function()
return self.battery == 1 and ( self.battery_percent == 0 or self.battery_percent == 1 )
end,
sub_item_table = {
{

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save