aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-21 00:00:07 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-21 00:00:07 +0000
commit4cc1f7a05166715c19c965e3bbbe74a43835a754 (patch)
treec71e76447af9af1dfa2f049890e39bac4d5b7295 /lib/python
parent2be64a9bb186ac02e095d65e627fcb499df8606b (diff)
downloadenigma2-4cc1f7a05166715c19c965e3bbbe74a43835a754.tar.gz
enigma2-4cc1f7a05166715c19c965e3bbbe74a43835a754.zip
translate the movie player
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/DiskInfo.py2
-rw-r--r--lib/python/Screens/MovieSelection.py10
-rw-r--r--lib/python/Screens/StartWizard.py2
-rw-r--r--lib/python/Screens/TutorialWizard.py2
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/python/Components/DiskInfo.py b/lib/python/Components/DiskInfo.py
index 9bd774b1..6f16b053 100644
--- a/lib/python/Components/DiskInfo.py
+++ b/lib/python/Components/DiskInfo.py
@@ -26,7 +26,7 @@ class DiskInfo(GUIComponent, VariableText):
if self.type == self.FREE:
free = stat.f_bfree / 1000 * stat.f_bsize / 1000
- self.setText("%dMB free diskspace" % (free))
+ self.setText("%dMB " + _("free diskspace") % (free))
def createWidget(self, parent):
return eLabel(parent)
diff --git a/lib/python/Screens/MovieSelection.py b/lib/python/Screens/MovieSelection.py
index 86d25473..e9dc5b38 100644
--- a/lib/python/Screens/MovieSelection.py
+++ b/lib/python/Screens/MovieSelection.py
@@ -15,9 +15,9 @@ class ChannelContextMenu(FixedMenu):
self.csel = csel
self.service = service
- menu = [("back", self.close), ("delete...", self.delete)]
+ menu = [(_("back"), self.close), (_("delete..."), self.delete)]
- FixedMenu.__init__(self, session, "Movie Menu", menu)
+ FixedMenu.__init__(self, session, _("Movie Menu"), menu)
self.skinName = "Menu"
def delete(self):
@@ -30,9 +30,9 @@ class ChannelContextMenu(FixedMenu):
result = True
if result == True:
- self.session.openWithCallback(self.deleteConfirmed, MessageBox, "Do you really want to delete this recording?")
+ self.session.openWithCallback(self.deleteConfirmed, MessageBox, _("Do you really want to delete this recording?"))
else:
- self.session.openWithCallback(self.close, MessageBox, "You cannot delete this!")
+ self.session.openWithCallback(self.close, MessageBox, _("You cannot delete this!"))
def deleteConfirmed(self, confirmed):
if not confirmed:
@@ -47,7 +47,7 @@ class ChannelContextMenu(FixedMenu):
result = True
if result == False:
- self.session.openWithCallback(self.close, MessageBox, "Delete failed!")
+ self.session.openWithCallback(self.close, MessageBox, _("Delete failed!"))
else:
list = self.csel["list"]
currentIndex = list.getCurrentIndex()
diff --git a/lib/python/Screens/StartWizard.py b/lib/python/Screens/StartWizard.py
index 81856ceb..f96d38d1 100644
--- a/lib/python/Screens/StartWizard.py
+++ b/lib/python/Screens/StartWizard.py
@@ -9,7 +9,7 @@ config.misc.firstrun = configElementBoolean("config.misc.firstrun", 1);
class StartWizard(Wizard):
skin = """
- <screen position="0,0" size="720,560" title="Welcome..." flags="wfNoBorder" >
+ <screen position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder" >
<widget name="text" position="153,50" size="340,270" font="Arial;23" />
<widget name="list" position="50,300" zPosition="1" size="440,200" />
<widget name="config" position="50,300" zPosition="1" size="440,200" transparent="1" />
diff --git a/lib/python/Screens/TutorialWizard.py b/lib/python/Screens/TutorialWizard.py
index 95318724..68a7d84a 100644
--- a/lib/python/Screens/TutorialWizard.py
+++ b/lib/python/Screens/TutorialWizard.py
@@ -10,7 +10,7 @@ config.misc.firstruntutorial = configElementBoolean("config.misc.firstruntutoria
class TutorialWizard(Wizard):
skin = """
- <screen position="0,0" size="720,560" title="Welcome..." flags="wfNoBorder" >
+ <screen position="0,0" size="720,576" 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"/>