X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FAbout.py;h=a2740101114fb30f6401061caf0a423d1fafb04f;hp=d0c54f6d156ad5604ec7b627a39175d293a83157;hb=9d9d69d8242d27915c95cb794bd4e7a93759b6db;hpb=b72c9852440926ac82fd4ca3186278edd7167427 diff --git a/lib/python/Screens/About.py b/lib/python/Screens/About.py index d0c54f6..a274010 100644 --- a/lib/python/Screens/About.py +++ b/lib/python/Screens/About.py @@ -43,43 +43,4 @@ class About(Screen): { "cancel": self.close, "ok": self.close, - "green": self.showTranslationInfo - }) - - def showTranslationInfo(self): - self.session.open(TranslationInfo) - -class TranslationInfo(Screen): - def __init__(self, session): - Screen.__init__(self, session) - # don't remove the string out of the _(), or it can't be "translated" anymore. - - # TRANSLATORS: Add here whatever should be shown in the "translator" about screen, up to 6 lines (use \n for newline) - info = _("TRANSLATOR_INFO") - - if info == "TRANSLATOR_INFO": - info = "(N/A)" - - infolines = _("").split("\n") - infomap = {} - for x in infolines: - l = x.split(': ') - if len(l) != 2: - continue - (type, value) = l - infomap[type] = value - print infomap - - self["TranslationInfo"] = StaticText(info) - - translator_name = infomap.get("Language-Team", "none") - if translator_name == "none": - translator_name = infomap.get("Last-Translator", "") - - self["TranslatorName"] = StaticText(translator_name) - - self["actions"] = ActionMap(["SetupActions"], - { - "cancel": self.close, - "ok": self.close, })