diff options
author | Matt Wilson <msw@redhat.com> | 2001-09-07 17:24:59 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-09-07 17:24:59 +0000 |
commit | 0e4c6a28fb5715bd79f1cc91c72d5a8a1e995bc3 (patch) | |
tree | d0f7083770a7997894907f5aebb2bcb4cb0ee45e | |
parent | 7db221245541f50bc9def87c7fd0e7df39c099cf (diff) | |
download | anaconda-0e4c6a28fb5715bd79f1cc91c72d5a8a1e995bc3.tar.gz anaconda-0e4c6a28fb5715bd79f1cc91c72d5a8a1e995bc3.tar.xz anaconda-0e4c6a28fb5715bd79f1cc91c72d5a8a1e995bc3.zip |
fix online help in text mode for foreign cd installs (from katzj, #53373)
-rw-r--r-- | text.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -147,6 +147,10 @@ class ProgressWindow: class InstallInterface: def helpWindow(self, screen, key): + lang = self.instLanguage.getCurrent() + lang = self.instLanguage.getLangNick(lang) + self.langSearchPath = expandLangs(lang) + ['C'] + if key == "helponhelp": if self.showingHelpOnHelp: return None @@ -163,7 +167,7 @@ class InstallInterface: fn = "/usr/share/anaconda/help/%s/s1-help-screens-%s.txt" \ % (lang, key) # uncomment to test help text installed in local directory instead -# fn = "./text-help/%s/s1-help-screens-%s.txt" % (lang, key) + fn = "./text-help/%s/s1-help-screens-%s.txt" % (lang, key) try: f = open(fn) @@ -349,6 +353,7 @@ class InstallInterface: id.instLanguage.setRuntimeLanguage(lang) lang = id.instLanguage.getLangNick(lang) self.langSearchPath = expandLangs(lang) + ['C'] + self.instLanguage = id.instLanguage id.fsset.registerMessageWindow(self.messageWindow) id.fsset.registerProgressWindow(self.progressWindow) |