diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2008-10-20 20:45:06 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2008-10-20 20:45:06 +0000 |
| commit | f9bf8b09b24775acbc7dc19394b33d259b94e33e (patch) | |
| tree | 065e9e89a211c9e2a22cc4508c5103a12a9ea39c | |
| parent | 5d7942d9b3c1eecef5167ce470d61f52be904e0a (diff) | |
| download | enigma2-f9bf8b09b24775acbc7dc19394b33d259b94e33e.tar.gz enigma2-f9bf8b09b24775acbc7dc19394b33d259b94e33e.zip | |
translate menu title, thanks to Tero
| -rw-r--r-- | lib/python/Screens/Menu.py | 1 |
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) |
