def __call__(self, selected): #needed by configlist
self.checkValues()
- return ("text", self.parent.vals[self.parent.value])
+ return ("text", _(self.parent.vals[self.parent.value]))
class configDateTime:
def __init__(self, parent):
"9": 19 }
config = Config();
+
configfile = configFile()
class ConfigSlider:
b = element
item = b.controlType(b)
return ((description, item))
+
+
+def configElementBoolean(name, default, texts=(_("Enable"), _("Disable"))):
+ return configElement(name, configSelection, default, texts)
+
+config.misc = ConfigSubsection()