Skip to content

Commit

Permalink
Add an extra option to the inactivity timer for half an hour
Browse files Browse the repository at this point in the history
  • Loading branch information
Littlesat committed Jan 17, 2024
1 parent 5e657a5 commit 8f73cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Components/UsageConfig.py
Expand Up @@ -180,7 +180,7 @@ def alternativeNumberModeChange(configElement):
config.usage.poweroff_day[i] = ConfigEnableDisable(default=False)
config.usage.poweroff_time[i] = ConfigClock(default=((1 * 60 + 0) * 60))

choicelist = [("0", _("Do nothing"))]
choicelist = [("0", _("Do nothing")), ("1800", _("Standby in ") + _("half an hour"))]
for i in range(3600, 21601, 3600):
h = abs(i / 3600)
h = ngettext("%d hour", "%d hours", h) % h
Expand Down

0 comments on commit 8f73cd5

Please sign in to comment.