X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d2b1dcb3466ed5476094d9ff445d1df1b4ed14ff..72c8ba6c4d1cceadae9e12d79d3532258614a97e:/lib/python/Screens/Setup.py diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py index b47418d8..d6215afd 100644 --- a/lib/python/Screens/Setup.py +++ b/lib/python/Screens/Setup.py @@ -4,6 +4,7 @@ from Components.config import config #global config instance 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 @@ -103,11 +104,13 @@ class Setup(Screen): 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,