From 02e5333e9be703ed6365d96f8f08c04e64cd7e9f Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 23 Feb 2006 18:21:10 +0000 Subject: * language.py: Use fixLang in a few more places. Set SYSFONT to selected lang's font in lang-table. Modified getCurrent to return selected lang. * text.py (InstallInterface.run): The Language class handles the non-working languages for text mode. Only call getFontFile to see if we should tell the user the selected lang won't work in text mode. * textw/language_text.py (LanguageWindow.__call__): None -> none --- textw/language_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'textw') diff --git a/textw/language_text.py b/textw/language_text.py index 8e481e940..aafd71b8b 100644 --- a/textw/language_text.py +++ b/textw/language_text.py @@ -46,7 +46,7 @@ class LanguageWindow: if button == TEXT_BACK_CHECK: return INSTALL_BACK - if ((instLanguage.getFontFile(choice) == "None")): + if ((instLanguage.getFontFile(choice) == "none")): ButtonChoiceWindow(screen, "Language Unavailable", "%s display is unavailable in text mode. The " "installation will continue in English." % (choice,), -- cgit