Skip to content

Commit

Permalink
[UsageConfig] fix localization errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Jul 5, 2022
1 parent 5cbe5f3 commit fbcbe0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Components/UsageConfig.py
Expand Up @@ -254,7 +254,7 @@ def showsecondinfobarChanged(configElement):
("shutdown", _("Immediate shutdown")),
("standby", _("Standby"))])

choicelist = [("0", "Disabled")]
choicelist = [("0", _("Disabled"))]
for i in (5, 30, 60, 300, 600, 900, 1200, 1800, 2700, 3600):
if i < 60:
m = ngettext("%d second", "%d seconds", i) % i
Expand Down Expand Up @@ -849,7 +849,7 @@ def set12VOutput(configElement):
config.softwareupdate.showinextensions = ConfigSelection(default="no", choices=[("no", _("no")), ("yes", _("yes")), ("available", _("only when available"))])

config.timeshift = ConfigSubsection()
choicelist = [("0", "Disabled")]
choicelist = [("0", _("Disabled"))]
for i in (2, 3, 4, 5, 10, 20, 30):
choicelist.append(("%d" % i, ngettext("%d second", "%d seconds", i) % i))
for i in (60, 120, 300):
Expand Down

0 comments on commit fbcbe0d

Please sign in to comment.