git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6933710
)
make hidden... translateable
author
acid-burn
<acidburn@opendreambox.org>
Fri, 14 Nov 2008 08:54:41 +0000
(09:54 +0100)
committer
acid-burn
<acidburn@opendreambox.org>
Fri, 14 Nov 2008 08:54:41 +0000
(09:54 +0100)
lib/python/Screens/NetworkSetup.py
patch
|
blob
|
history
diff --git
a/lib/python/Screens/NetworkSetup.py
b/lib/python/Screens/NetworkSetup.py
index 32e2dafd7f85278a4cea7461328d3b93d91e0210..5cb4d3903fda5db774a386aabe26c7c8220dbd0e 100755
(executable)
--- a/
lib/python/Screens/NetworkSetup.py
+++ b/
lib/python/Screens/NetworkSetup.py
@@
-426,10
+426,10
@@
class AdapterSetup(Screen, ConfigListScreen, HelpableScreen):
if a['active']:
if a['essid'] == "":
a['essid'] = a['bssid']
if a['active']:
if a['essid'] == "":
a['essid'] = a['bssid']
- self.nwlist.append(
a['essid']
)
+ self.nwlist.append(
(a['essid'],a['essid'])
)
self.nwlist.sort(key = lambda x: x[0])
except:
self.nwlist.sort(key = lambda x: x[0])
except:
- self.nwlist.append(
"No Networks found"
)
+ self.nwlist.append(
("No Networks found",_("No Networks found"))
)
self.wsconfig = self.ws.loadConfig()
if self.essid is not None: # ssid from wlan scan
self.wsconfig = self.ws.loadConfig()
if self.essid is not None: # ssid from wlan scan
@@
-438,10
+438,9
@@
class AdapterSetup(Screen, ConfigListScreen, HelpableScreen):
self.default = self.wsconfig['ssid']
if "hidden..." not in self.nwlist:
self.default = self.wsconfig['ssid']
if "hidden..." not in self.nwlist:
- self.nwlist.append(
"hidden..."
)
+ self.nwlist.append(
("hidden...",_("hidden network"))
)
if self.default not in self.nwlist:
if self.default not in self.nwlist:
- self.nwlist.append(self.default)
-
+ self.nwlist.append((self.default,self.default))
config.plugins.wlan.essid = NoSave(ConfigSelection(self.nwlist, default = self.default ))
config.plugins.wlan.hiddenessid = NoSave(ConfigText(default = self.wsconfig['hiddenessid'], visible_width = 50, fixed_size = False))
config.plugins.wlan.essid = NoSave(ConfigSelection(self.nwlist, default = self.default ))
config.plugins.wlan.hiddenessid = NoSave(ConfigText(default = self.wsconfig['hiddenessid'], visible_width = 50, fixed_size = False))