enigma2: 4.3.1r16
[enigma2.git] / usr / lib / enigma2 / python / Screens / ConfigSetHelpDialog.py
1 from Screens.Screen import Screen
2 from Components.Label import Label
3
4 class ConfigSetHelpDialog(Screen):
5         def __init__(self, session, configSet):
6                 self._configSet = configSet
7                 Screen.__init__(self, session)
8                 self["help1"] = Label(text=_("Use left/right to iterate through all available values.\nUse any of the 0-9 or <> keys to enable or (disable)"))
9                 c = [str(x) for x in self._configSet.choices]
10                 allChoices = " ".join(c)
11                 self["help2"] = Label(text=_("Available values: %s" %(allChoices)))