summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-01-09 19:46:11 +0000
committerMike Fulbright <msf@redhat.com>2001-01-09 19:46:11 +0000
commit6bbb4a4b05377dfadca2a46703e47164fe15ebcf (patch)
tree32d32d6d501ce584787a16831f490c3c787f7f92 /text.py
parent9253bbcae2e7496e6dda2c64c73a30a80803cd71 (diff)
downloadanaconda-6bbb4a4b05377dfadca2a46703e47164fe15ebcf.tar.gz
anaconda-6bbb4a4b05377dfadca2a46703e47164fe15ebcf.tar.xz
anaconda-6bbb4a4b05377dfadca2a46703e47164fe15ebcf.zip
allow tsting local help as well
Diffstat (limited to 'text.py')
-rw-r--r--text.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/text.py b/text.py
index 44c0d9994..d4b92b2ae 100644
--- a/text.py
+++ b/text.py
@@ -191,7 +191,7 @@ class LanguageDefaultWindow:
# ct.setCallback(self.updateSize, (la, todo, ct))
- g = GridFormHelp (screen, _("Language Support"), "langsupport", 1, 4)
+ g = GridFormHelp (screen, _("Default Language"), "langdefault", 1, 4)
g.add (tb, 0, 0, (0, 0, 0, 1), anchorLeft = 1)
g.add (ct, 0, 1, (0, 0, 0, 1))
@@ -861,6 +861,11 @@ 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)
+
try:
f = open(fn)
except IOError, msg: