use self.getTranslation() for translations
[enigma2.git] / lib / python / Screens / WizardLanguage.py
index 698d0b9..ec9758d 100644 (file)
@@ -24,7 +24,7 @@ class WizardLanguage(Wizard):
 
        def updateLanguageDescription(self):
                print language.getLanguageList()[language.getActiveLanguageIndex()]
-               self["languagetext"].setText(_(language.getLanguageList()[language.getActiveLanguageIndex()][1][0]))
+               self["languagetext"].setText(self.getTranslation(language.getLanguageList()[language.getActiveLanguageIndex()][1][0]))
                
        def updateTexts(self):
                print "updateTexts"