use self.getTranslation() for translations
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 10 Jul 2008 14:26:54 +0000 (14:26 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 10 Jul 2008 14:26:54 +0000 (14:26 +0000)
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"