diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-11 10:32:37 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-11 10:32:37 +0000 |
| commit | c70d4282351bbe4cd09f07a246221e22652783a2 (patch) | |
| tree | e27a5e5a7062f568dbded7795d960f16388208cf /lib/python/Screens/Wizard.py | |
| parent | a86a756a1f185095b3ae3e39026eb76c16e07c1d (diff) | |
| download | enigma2-c70d4282351bbe4cd09f07a246221e22652783a2.tar.gz enigma2-c70d4282351bbe4cd09f07a246221e22652783a2.zip | |
some language-work
catch case of not available languages
Diffstat (limited to 'lib/python/Screens/Wizard.py')
| -rw-r--r-- | lib/python/Screens/Wizard.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 97b07bfd..e4f69290 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -29,7 +29,7 @@ class Wizard(Screen, HelpableScreen): self.lastStep = int(attrs.get('number')) self.wizard[self.lastStep] = {"text": "", "list": [], "config": {"screen": None, "args": None, "type": "" }, "code": ""} elif (name == "text"): - self.wizard[self.lastStep]["text"] = str(attrs.get('value')) + self.wizard[self.lastStep]["text"] = _(str(attrs.get('value'))) elif (name == "listentry"): self.wizard[self.lastStep]["list"].append((str(attrs.get('caption')), str(attrs.get('step')))) elif (name == "config"): @@ -160,7 +160,7 @@ class Wizard(Screen, HelpableScreen): self["step"].setText(_("Step ") + str(self.currStep) + "/" + str(self.numSteps)) self["stepslider"].setValue(self.currStep) - self["text"].setText(self.wizard[self.currStep]["text"]) + self["text"].setText(_(self.wizard[self.currStep]["text"])) if self.wizard[self.currStep]["code"] != "": print self.wizard[self.currStep]["code"] |
