diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-18 23:21:59 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-18 23:21:59 +0000 |
| commit | 04a6ffad0d1bd64cda7270ba0fcad74c33a20a51 (patch) | |
| tree | 8116a171ae8a38d3eb6658acc5e1ba53b4c4716a /lib/python/Components | |
| parent | 98208302bd3bdbf99ab801260bf8d023035d8d41 (diff) | |
| download | enigma2-04a6ffad0d1bd64cda7270ba0fcad74c33a20a51.tar.gz enigma2-04a6ffad0d1bd64cda7270ba0fcad74c33a20a51.zip | |
fix not-a-string when using english
add some wizard-stuff
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Language.py | 2 | ||||
| -rw-r--r-- | lib/python/Components/config.py | 2 |
2 files changed, 3 insertions, 1 deletions
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: |
