Update readercoptlistener.lua

reviewable/pr11678/r12
SomeGuy 2 weeks ago committed by GitHub
parent 2a67ff4972
commit 35727c33fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -294,15 +294,15 @@ function ReaderCoptListener:getAltStatusBarMenu()
},
{
text_func = function()
local status = _(" ")
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 )

Loading…
Cancel
Save