aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-10-20 20:45:06 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-10-20 20:45:06 +0000
commitf9bf8b09b24775acbc7dc19394b33d259b94e33e (patch)
tree065e9e89a211c9e2a22cc4508c5103a12a9ea39c /lib/python/Screens
parent5d7942d9b3c1eecef5167ce470d61f52be904e0a (diff)
downloadenigma2-f9bf8b09b24775acbc7dc19394b33d259b94e33e.tar.gz
enigma2-f9bf8b09b24775acbc7dc19394b33d259b94e33e.zip
translate menu title, thanks to Tero
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/Menu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/Screens/Menu.py b/lib/python/Screens/Menu.py
index ce7f2ea6..92039b42 100644
--- a/lib/python/Screens/Menu.py
+++ b/lib/python/Screens/Menu.py
@@ -238,6 +238,7 @@ class Menu(Screen):
})
a = parent.getAttribute("title").encode("UTF-8") or None
+ a = a and _(a)
if a is None:
a = _(parent.getAttribute("text").encode("UTF-8"))
self["title"] = StaticText(a)