summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-04-13 17:34:08 +0000
committerChris Lumens <clumens@redhat.com>2005-04-13 17:34:08 +0000
commit2e1d6920edb7b4e226c691fca61c35b2961e0b45 (patch)
treeaf9b5525c09f90ef18bed94677afd324bdf74814 /installclass.py
parentb13598a8e4ffeba4deeaa15453cf23cb37238b31 (diff)
downloadanaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.tar.gz
anaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.tar.xz
anaconda-2e1d6920edb7b4e226c691fca61c35b2961e0b45.zip
Support setting the system's runtime language even if it's not supported
by a translation in anaconda. Set LC_COLLATE=C in the loader.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/installclass.py b/installclass.py
index 379c84eb9..882191ce0 100644
--- a/installclass.py
+++ b/installclass.py
@@ -345,15 +345,14 @@ class BaseInstallClass:
if wepkey:
dev.set(("wepkey", wepkey))
- def setLanguageSupport(self, id, langlist):
- if len (langlist) == 0:
+ def setLanguageSupport(self, id, nickList):
+ if len (nickList) == 0:
id.instLanguage.setSupported(id.instLanguage.getAllSupported())
else:
newlist = []
- for lang in langlist:
- name = id.instLanguage.getLangNameByNick (lang)
- if name not in newlist:
- newlist.append(name)
+ for nick in nickList:
+ if nick not in newlist:
+ newlist.append(nick)
default = id.instLanguage.getDefault()
if default not in newlist: