From f9bf8b09b24775acbc7dc19394b33d259b94e33e Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 20 Oct 2008 20:45:06 +0000 Subject: [PATCH] translate menu title, thanks to Tero --- lib/python/Screens/Menu.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2