From 04a6ffad0d1bd64cda7270ba0fcad74c33a20a51 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sun, 18 Dec 2005 23:21:59 +0000 Subject: fix not-a-string when using english add some wizard-stuff --- lib/python/Components/Language.py | 2 +- lib/python/Components/config.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/python/Components') diff --git a/lib/python/Components/Language.py b/lib/python/Components/Language.py index c60b39b2..d6e43a5d 100644 --- a/lib/python/Components/Language.py +++ b/lib/python/Components/Language.py @@ -5,7 +5,7 @@ from Tools.Directories import * class Language: def __init__(self): - gettext.install('enigma2', '/enigma2/po', unicode=1) + gettext.install('enigma2', resolveFilename(SCOPE_LANGUAGE, ""), unicode=0, codeset="utf-8") self.activeLanguage = 0 self.lang = [] # FIXME make list dynamically diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 3bbdde10..9400565d 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -78,6 +78,8 @@ class configSelection: def __call__(self, selected): #needed by configlist self.checkValues() + print "[config.py] orgstring: ", self.parent.vals[self.parent.value] + print "[config.py] translation: ", _(self.parent.vals[self.parent.value]) return ("text", _(self.parent.vals[self.parent.value])) class configDateTime: -- cgit v1.2.3