diff options
author | msivak <msivak> | 2007-08-23 06:59:21 +0000 |
---|---|---|
committer | msivak <msivak> | 2007-08-23 06:59:21 +0000 |
commit | 4bb57cf4b10e3fe48533efb87ec1c01b43d78566 (patch) | |
tree | 0e518046512e09cbf85d0e43814447645ad4733d /text.py | |
parent | 229ec26ea18efb0b03970bdd1fda02c57b28d143 (diff) | |
download | anaconda-4bb57cf4b10e3fe48533efb87ec1c01b43d78566.tar.gz anaconda-4bb57cf4b10e3fe48533efb87ec1c01b43d78566.tar.xz anaconda-4bb57cf4b10e3fe48533efb87ec1c01b43d78566.zip |
#244531 - Show the architecture during install
* loader2/loader.h: Add getProductArch method.
* loader2/loader.c: Populate productArch and define getProductArch.
Show the architecture in stage1.
* constants.py: add productArch
* product.py: populate productArch
* text.py: Show the architecture during text mode stage2.
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -467,7 +467,10 @@ class InstallInterface: def drawFrame(self): self.screen.drawRootText (0, 0, self.screen.width * " ") - self.screen.drawRootText (0, 0, _("Welcome to %s") % productName) + if productArch: + self.screen.drawRootText (0, 0, _("Welcome to %s for %s") % (productName, productArch,)) + else: + self.screen.drawRootText (0, 0, _("Welcome to %s") % productName) if (os.access("/usr/share/anaconda/help/C/s1-help-screens-lang.txt", os.R_OK)): self.screen.pushHelpLine(_(" <F1> for help | <Tab> between elements | <Space> selects | <F12> next screen")) |