diff options
author | Chris Lumens <clumens@redhat.com> | 2005-03-29 19:47:14 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-03-29 19:47:14 +0000 |
commit | 00ca3f0f4c30945c42b313716ef3a3189d43ddfa (patch) | |
tree | f0c5f75355f52ed11d7c310e1dab0c4303267884 /scripts/getlangnames.py | |
parent | c5c389047f0895675c11746b7b8316826f99e4b8 (diff) | |
download | anaconda-00ca3f0f4c30945c42b313716ef3a3189d43ddfa.tar.gz anaconda-00ca3f0f4c30945c42b313716ef3a3189d43ddfa.tar.xz anaconda-00ca3f0f4c30945c42b313716ef3a3189d43ddfa.zip |
Corrected getlangnames.py for change in lang-table file format.
Diffstat (limited to 'scripts/getlangnames.py')
-rw-r--r-- | scripts/getlangnames.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/scripts/getlangnames.py b/scripts/getlangnames.py index a1cae80f2..99ebda514 100644 --- a/scripts/getlangnames.py +++ b/scripts/getlangnames.py @@ -7,8 +7,13 @@ import language rhpl.translate.cat.setunicode(1) langs = language.InstallTimeLanguage() -for lang in langs.available(): - langs.setRuntimeLanguage(lang) - print lang, _(lang) +names = {} +for k in langs.localeInfo.keys(): + langs.setRuntimeLanguage(k) + names[langs.localeInfo[k][0]] = _(langs.localeInfo[k][0]) - +nameList = names.keys() +nameList.sort() + +for k in nameList: + print k, names[k] |