diff options
author | Erik Troan <ewt@redhat.com> | 2001-06-20 01:53:47 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-06-20 01:53:47 +0000 |
commit | b3cbb577dbe4ecda19f50f9b297b9c3e23a7a951 (patch) | |
tree | 689b6e27ac9fc7b6b1c3209ca60c8fae4190e85f /loader/lang.c | |
parent | 0dd8714cdfddff257b075afb37e5001f9c81f64c (diff) | |
download | anaconda-b3cbb577dbe4ecda19f50f9b297b9c3e23a7a951.tar.gz anaconda-b3cbb577dbe4ecda19f50f9b297b9c3e23a7a951.tar.xz anaconda-b3cbb577dbe4ecda19f50f9b297b9c3e23a7a951.zip |
merge from (now defunct) anaconda-dispatch branch
added telnet server support (not turned on) along with support for cramfs'd
files in many places
Diffstat (limited to 'loader/lang.c')
-rw-r--r-- | loader/lang.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/loader/lang.c b/loader/lang.c index 1effb6d44..8f4a3900b 100644 --- a/loader/lang.c +++ b/loader/lang.c @@ -37,6 +37,9 @@ struct aString { struct aString * strings = NULL; int numStrings = 0, allocedStrings = 0; +static char * topLineWelcome = N_("Welcome to Red Hat Linux"); +static char * bottomHelpLine = N_(" <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen "); + static int aStringCmp(const void * a, const void * b) { const struct aString * first = a; const struct aString * second = b; @@ -305,6 +308,10 @@ int chooseLanguage(char ** lang, int flags) { free(strings), strings = NULL; numStrings = allocedStrings = 0; } + + newtDrawRootText(0, 0, _(topLineWelcome)); + newtPushHelpLine(_(bottomHelpLine)); + return 0; } @@ -341,8 +348,8 @@ int chooseLanguage(char ** lang, int flags) { if (languages[choice].map) loadFont(languages[choice].map, flags); - newtDrawRootText(0, 0, _("Welcome to Red Hat Linux")); - newtPushHelpLine(_(" <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen ")); + newtDrawRootText(0, 0, _(topLineWelcome)); + newtPushHelpLine(_(bottomHelpLine)); return 0; } |