from Components.config import configSelection
from Components.ConfigList import ConfigList
from Components.Label import Label
+from Components.Pixmap import Pixmap
import xml.dom.minidom
from xml.dom import EMPTY_NAMESPACE
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 == "":
self["config"] = ConfigList(list)
- self["title"] = Label(myTitle);
-
- self["ok"] = Label("OK")
- self["cancel"] = Label("Cancel")
+ self["title"] = Label(_(myTitle));
+ self["oktext"] = Label(_("OK"))
+ self["canceltext"] = Label(_("Cancel"))
+ self["ok"] = Pixmap()
+ self["cancel"] = Pixmap()
+
self["actions"] = NumberActionMap(["SetupActions"],
{
"cancel": self.keyCancel,