git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some changes to the configSelection stuff
[enigma2.git]
/
lib
/
python
/
Plugins
/
update.py
diff --git
a/lib/python/Plugins/update.py
b/lib/python/Plugins/update.py
index 01e986e8bd2e60466f68c170a127c948ff61d3f2..3653472adf581069fe9a383bbff42d0218b34188 100644
(file)
--- a/
lib/python/Plugins/update.py
+++ b/
lib/python/Plugins/update.py
@@
-16,7
+16,7
@@
class Example(Screen):
self.skin = Example.skin
Screen.__init__(self, session)
self.skin = Example.skin
Screen.__init__(self, session)
- self["text"] = Label(
"Please press OK!"
)
+ self["text"] = Label(
_("Please press OK!")
)
self["actions"] = ActionMap(["WizardActions"],
{
self["actions"] = ActionMap(["WizardActions"],
{
@@
-30,12
+30,11
@@
class Example(Screen):
def doUpdate(self, val = False):
if val:
def doUpdate(self, val = False):
if val:
- print "updating"
lines = os.popen("ipkg update && ipkg upgrade", "r").readlines()
string = ""
for x in lines:
string += x
lines = os.popen("ipkg update && ipkg upgrade", "r").readlines()
string = ""
for x in lines:
string += x
- self["text"].setText(
"Updating finished. Here is the result:
\n\n" + string)
+ self["text"].setText(
_("Updating finished. Here is the result:") + "
\n\n" + string)
else:
self.close()
else:
self.close()