self["arrowup2"].startMoving()
self["arrowdown"].moveTo(740, 355, 1)
self["arrowdown"].startMoving()
-
</code>
</step>
<step number="4">
<text value="Please set up tuner B" />
<config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
<code>
-self["rc"].moveTo(800, 50, 1)
+self["rc"].moveTo(500, 50, 1)
self["rc"].startMoving()
-self["arrowup"].moveTo(800, 310, 1)
+self["arrowup"].moveTo(525, 320, 1)
self["arrowup"].startMoving()
-self["arrowup2"].moveTo(800, 310, 1)
+self["arrowup2"].moveTo(590, 320, 1)
self["arrowup2"].startMoving()
+self["arrowdown"].moveTo(740, 355, 1)
+self["arrowdown"].startMoving()
</code>
</step>
<step number="5">
<text value="Do you want to do a service scan?" />
+ <code>
+self["rc"].moveTo(800, 50, 1)
+self["rc"].startMoving()
+self["arrowup"].moveTo(800, 310, 1)
+self["arrowup"].startMoving()
+self["arrowup2"].moveTo(800, 310, 1)
+self["arrowup2"].startMoving()
+ </code>
<list>
<listentry caption="Yes, scan now" step="next" />
<listentry caption="No, scan later manually" step="7" />
<wizard>
<step number="1">
+ <text value="Do you want to view a tutorial?" />
+ <list>
+ <listentry caption="Yes, view the tutorial" step="next" />
+ <listentry caption="No, just start my dreambox" step="end" />
+ </list>
+ </step>
+
+ <step number="2">
<text value="By pressing the OK Button on your remote control, the info bar is being displayed." />
<code>
from Screens.InfoBar import InfoBar
</code>
</step>
- <step number="2">
+
+ <step number="3">
<text value="This is step number 2." />
</step>
</wizard>
class Language:
def __init__(self):
- gettext.install('enigma2', '/enigma2/po', unicode=1)
+ gettext.install('enigma2', resolveFilename(SCOPE_LANGUAGE, ""), unicode=0, codeset="utf-8")
self.activeLanguage = 0
self.lang = []
# FIXME make list dynamically
def __call__(self, selected): #needed by configlist
self.checkValues()
+ print "[config.py] orgstring: ", self.parent.vals[self.parent.value]
+ print "[config.py] translation: ", _(self.parent.vals[self.parent.value])
return ("text", _(self.parent.vals[self.parent.value]))
class configDateTime:
class TutorialWizard(Wizard):
skin = """
- <screen position="0,0" size="720,300" title="Welcome..." flags="wfNoBorder" >
+ <screen position="0,0" size="720,560" title="Welcome..." flags="wfNoBorder" >
<widget name="text" position="50,100" size="440,200" font="Arial;23" />
+ <widget name="list" position="50,300" zPosition="1" size="440,200" />
<widget name="rc" pixmap="/usr/share/enigma2/rc.png" position="500,600" zPosition="10" size="154,475" transparent="1" alphatest="on"/>
<widget name="arrowdown" pixmap="/usr/share/enigma2/arrowdown.png" position="0,0" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
<widget name="arrowup" pixmap="/usr/share/enigma2/arrowup.png" position="-100,-100" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
self.skin = TutorialWizard.skin
self.xmlfile = "tutorialwizard.xml"
- Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=False, showConfig=False)
+ Wizard.__init__(self, session, showSteps=False, showStepSlider=False, showList=True, showConfig=False)
self["rc"] = MovingPixmap()
self["arrowdown"] = MovingPixmap()
self["arrowup"] = MovingPixmap()