menu.xml and setup.xml are now translatable
[enigma2.git] / lib / python / Screens / Setup.py
index c6df96a1998c91b71210d1869d0bdc31a7b29ad4..b47418d825c9eadd9e52311e34161ee7628ba1f6 100644 (file)
@@ -38,7 +38,7 @@ class Setup(Screen):
                        if x.nodeType != xml.dom.minidom.Element.nodeType:
                                continue
                        elif x.tagName == 'item':
-                               ItemText = getValbyAttr(x, "text")
+                               ItemText = _(getValbyAttr(x, "text"))
                                b = eval(XMLTools.mergeText(x.childNodes));
                                print "item " + ItemText + " " + b.configPath
                                if b == "":