X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/be481547e9c93583098b54a37034ff164b5804f5..080c2a83b79af8afe48105bb0a1b69d3597a2e49:/lib/python/Components/Language.py diff --git a/lib/python/Components/Language.py b/lib/python/Components/Language.py index d825af95..6a224c8a 100644 --- a/lib/python/Components/Language.py +++ b/lib/python/Components/Language.py @@ -1,7 +1,6 @@ import gettext -import os -from Tools.Directories import * +from Tools.Directories import SCOPE_LANGUAGE, resolveFilename class Language: def __init__(self): @@ -14,17 +13,26 @@ class Language: self.addLanguage(_("English"), "en", "EN") self.addLanguage(_("German"), "de", "DE") self.addLanguage(_("Arabic"), "ar", "AE") + self.addLanguage(_("Catalan"), "ca", "AD") + self.addLanguage(_("Croatian"), "hr", "HR") + self.addLanguage(_("Czech"), "cs", "CZ") self.addLanguage(_("Danish"), "da", "DK") 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(_("Lithuanian"), "lt", "LT") self.addLanguage(_("Icelandic"), "is", "IS") self.addLanguage(_("Italian"), "it", "IT") self.addLanguage(_("Norwegian"), "no", "NO") + self.addLanguage(_("Polish"), "pl", "PL") + 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):