diff options
author | Matt Wilson <msw@redhat.com> | 2001-03-07 16:24:13 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-03-07 16:24:13 +0000 |
commit | 24394effa38fa21cef8e7c31855f17e5a57b26bc (patch) | |
tree | b798cbbacfc9115466b065f563696310ac0e13eb /iw/language_gui.py | |
parent | f37142c15140db161f058a859b7fb546fcae9cfe (diff) | |
download | anaconda-24394effa38fa21cef8e7c31855f17e5a57b26bc.tar.gz anaconda-24394effa38fa21cef8e7c31855f17e5a57b26bc.tar.xz anaconda-24394effa38fa21cef8e7c31855f17e5a57b26bc.zip |
1) mark timezone comments for translation (#30869) (po/Makefile)
2) use them in the timezone widget (gnome-map/timezonemapmodule.c)
3) mark languages for translation (#30865) (po/Makefile)
4) use them in installtime language selection (iw/language_gui.py)
5) ran make update-po on po files to pull in empty translations
Diffstat (limited to 'iw/language_gui.py')
-rw-r--r-- | iw/language_gui.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/iw/language_gui.py b/iw/language_gui.py index c5e879caa..d461965d7 100644 --- a/iw/language_gui.py +++ b/iw/language_gui.py @@ -30,8 +30,7 @@ class LanguageWindow (InstallWindow): def select_row (self, clist, row, col, event): if self.running: - lang = clist.get_text (clist.selection[0], 0) - self.lang = lang + self.lang = clist.get_row_data (clist.selection[0]) # LanguageWindow tag="lang" def getScreen (self): @@ -49,7 +48,9 @@ class LanguageWindow (InstallWindow): default = -1 n = 0 for locale in self.languages: - row = self.language.append ((locale,)) + row = self.language.append ((_(locale),)) + self.language.set_row_data (row, locale) + if locale == self.todo.instTimeLanguage.getCurrent(): self.lang = locale default = n |