add french translations
[enigma2-plugins.git] / networkwizard / src / networkwizard.xml
1 <wizard>
2                 <step id="welcome" nextstep="selectinterface">
3                         <text value="Welcome.\n\nIf you want to connect your Dreambox to the Internet, this wizard will guide you through the basic network setup of your Dreambox.\n\nPress OK to start configuring your network" />
4                         <displaytext value="Network Wizard" />
5                         <code>
6 self.clearSelectedKeys()
7 self.selectKey("OK")
8                         </code>
9                 </step>
10
11                 <step id="selectinterface">
12                         <text value="Please select the network interface that you want to use for your internet connection.\n\nPlease press OK to continue." />
13                         <displaytext value="Select interface" />
14                         <list type="dynamic" source="listInterfaces" evaluation="InterfaceSelectionMade" onselect="InterfaceSelectionMoved" />
15                         <code>
16 self.clearSelectedKeys()
17 self.selectKey("OK")
18 self.selectKey("UP")
19 self.selectKey("DOWN")
20                         </code>
21                         <code pos="after">
22 self.checkInterface(self.selectedInterface)                         
23 self.currStep = self.getStepWithID(self.NextStep)
24                         </code> 
25                 </step>
26
27                 <step id="nwconfig" nextstep="confdns">
28                         <text value="Please configure your internet connection by filling out the required values.\nWhen you are ready press OK to continue." />
29                         <displaytext value="Configure interface" />
30                         <config screen="AdapterSetup" module="NetworkSetup" args="self.selectedInterface" type="ConfigList" />
31                         <code>
32 self.clearSelectedKeys()
33 self.selectKey("OK")
34 self.selectKey("UP")
35 self.selectKey("DOWN")
36 self.selectKey("LEFT")
37 self.selectKey("RIGHT")
38                         </code>
39                 </step>
40
41                 <step id="confdns" nextstep="checklanstatusend">
42                         <text value="Please configure or verify your Nameservers by filling out the required values.\nWhen you are ready press OK to continue." />
43                         <displaytext value="Configure nameservers" />
44                         <config screen="NameserverSetup" module="NetworkSetup" type="ConfigList" />
45                         <code>
46 self.clearSelectedKeys()
47 self.selectKey("OK")
48                         </code>
49                         <code pos="after">
50 self.checkNetwork()
51                         </code> 
52                 </step>
53
54                 <step id="checklanstatusend" nextstep="end">
55                 <condition>
56 self.condition = (self.InterfaceState == True )
57                 </condition>
58                         <text value="Your Dreambox is now ready to use.\n\nYour internet connection is working now.\n\nPlease press OK to continue." />
59                         <displaytext value="Please follow the instructions on the TV" />
60                         <code>
61 self.clearSelectedKeys()
62 self.selectKey("OK")
63                         </code>
64                         <code pos="after">
65 currStep = self.numSteps                                
66 self.wizard[currStep]["nextstep"] = None
67 self.markDone()
68 self.close()
69                         </code> 
70                 </step>
71
72                 <step id="checklanstatusend">
73                 <condition>
74 self.condition = (self.InterfaceState == False )
75                 </condition>
76                         <text value="Your internet connection is not working!\nPlease choose what you want to do next." />
77                         <displaytext value="Please follow the instructions on the TV" />
78                         <code>
79 self.clearSelectedKeys()
80 self.selectKey("OK")
81 self.selectKey("UP")
82 self.selectKey("DOWN")
83                         </code>
84                         <list>
85                                 <listentry caption="Configure your network again" step="selectinterface" />
86                                 <listentry caption="Exit wizard and configure later manually" step="end" />
87                         </list>
88                 </step>
89
90                 <step id="scanwlan" nextstep="nwconfig">
91                 <condition>
92 self.checkInterface(self.selectedInterface)                     
93 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == True)
94                 </condition>
95                         <text value="Please select the wireless LAN network that you want to connect to.\n\nPlease press OK to continue." />
96                         <displaytext value="Select wireless network" />
97                         <list type="dynamic" source="listModes" evaluation="modeSelectionMade" onselect="modeSelectionMoved" />
98                         <code>
99 self.clearSelectedKeys()
100 self.selectKey("OK")
101 self.selectKey("UP")
102 self.selectKey("DOWN")
103 self.selectKey("LEFT")
104 self.selectKey("RIGHT")
105                         </code>
106                         <code pos="after">
107 self.saveAccessPoint(self.ap)
108                         </code>
109                 </step>
110
111                 <step id="scanwlan">
112                 <condition>
113 self.checkInterface(self.selectedInterface)                             
114 self.condition = (self.isInterfaceUp == False and self.WlanPluginInstalled == True)
115                 </condition>
116                         <text value="Your wireless LAN internet connection could not be started!\nHave you attached your USB WLAN Stick?\n\nPlease choose what you want to do next." />
117                         <displaytext value="Please follow the instructions on the TV" />
118                         <list>
119                                 <listentry caption="Configure your wireless LAN again" step="scanwlan" />
120                                 <listentry caption="Configure your internal LAN" step="selectinterface" />
121                                 <listentry caption="Exit wizard and configure later manually" step="end" />
122                         </list>
123                         <code>
124 self.clearSelectedKeys()
125 self.selectKey("OK")
126 self.selectKey("UP")
127 self.selectKey("DOWN")
128                         </code>
129                 </step>
130
131                 <step id="scanwlan">
132                 <condition>
133 self.checkInterface(self.selectedInterface)                             
134 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == False)
135                 </condition>
136                         <text value="The wireless LAN plugin is not installed!\nPlease install it and choose what you want to do next." />
137                         <displaytext value="Please follow the instructions on the TV" />
138                         <list>
139                                 <listentry caption="Configure your internal LAN" step="selectinterface" />
140                                 <listentry caption="Exit wizard and configure later manually" step="end" />
141                         </list>
142                         <code>
143 self.clearSelectedKeys()
144 self.selectKey("OK")
145 self.selectKey("UP")
146 self.selectKey("DOWN")
147                         </code>
148                 </step>
149
150                 <step id="end">
151                         <text value="Thank you for using the wizard.\nPlease press OK to continue." />
152                         <code>
153 self.clearSelectedKeys()
154 self.selectKey("OK")
155                         </code>
156                 </step>
157 </wizard>
158
159