cleanup
[enigma2.git] / lib / python / Components / Language.py
index 1bbf0bc04dbab57b475dbc8f3735fb56800ca4de..cbb2f639052cb004d8da61425e0a8058c7776893 100644 (file)
@@ -1,7 +1,6 @@
 import gettext
-import os
 
-from Tools.Directories import *
+from Tools.Directories import SCOPE_LANGUAGE, resolveFilename
 
 class Language:
        def __init__(self):
@@ -21,14 +20,17 @@ class Language:
                self.addLanguage(_("Dutch"), "nl", "NL")
                self.addLanguage(_("Finnish"), "fi", "FI")
                self.addLanguage(_("French"), "fr", "FR")
+               self.addLanguage(_("Greek"), "el", "GR")
                self.addLanguage(_("Hungarian"), "hu", "HU")
                self.addLanguage(_("Icelandic"), "is", "IS")
                self.addLanguage(_("Italian"), "it", "IT")
                self.addLanguage(_("Norwegian"), "no", "NO")
+               self.addLanguage(_("Portuguese"), "pt", "PT")
+               self.addLanguage(_("Russian"), "ru", "RU")
                self.addLanguage(_("Spanish"), "es", "ES")
                self.addLanguage(_("Swedish"), "sv", "SE")
                self.addLanguage(_("Turkish"), "tr", "TR")
-               
+
                self.callbacks = []
 
        def addLanguage(self, name, lang, country):