diff --git a/plugins/autosuspend.koplugin/_meta.lua b/plugins/autosuspend.koplugin/_meta.lua index 3d7bdadb2..b49bb1c04 100644 --- a/plugins/autosuspend.koplugin/_meta.lua +++ b/plugins/autosuspend.koplugin/_meta.lua @@ -2,5 +2,5 @@ local _ = require("gettext") return { name = "autosuspend", fullname = _("Auto power save"), - description = _([["Puts the device into standby, suspend or power off after specified periods of inactivity."]]), + description = _([[Puts the device into standby, suspend or power off after specified periods of inactivity.]]), } diff --git a/plugins/systemstat.koplugin/main.lua b/plugins/systemstat.koplugin/main.lua index 7808f46f2..8a268392b 100644 --- a/plugins/systemstat.koplugin/main.lua +++ b/plugins/systemstat.koplugin/main.lua @@ -44,14 +44,14 @@ function SystemStat:appendCounters() if self.resume_sec then self:put({_(" Last resume time"), os.date("%c", self.resume_sec)}) end - self:put({_(" Up time"), + self:put({" " .. _("Up time"), util.secondsToClockDuration("", os.difftime(os.time(), self.start_sec), false, true, true)}) if Device:canSuspend() then - self:put({_(" Time in suspend"), + self:put({" " .. _("Time in suspend"), util.secondsToClockDuration("", Device.total_suspend_tv:tonumber(), false, true, true)}) end if Device:canStandby() then - self:put({_(" Time in standby"), + self:put({" " .. _("Time in standby"), util.secondsToClockDuration("", Device.total_standby_tv:tonumber(), false, true, true)}) end self:put({_("Counters"), ""})