summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
Diffstat (limited to 'loader2')
-rw-r--r--loader2/lang.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/loader2/lang.c b/loader2/lang.c
index d1efb1215..009e999d4 100644
--- a/loader2/lang.c
+++ b/loader2/lang.c
@@ -50,6 +50,7 @@ struct aString * strings = NULL;
int numStrings = 0, allocedStrings = 0;
static char * topLineWelcome = N_("Welcome to %s");
+static char * topLineWelcomeRescue = N_("Welcome to %s - Rescue Mode");
static char * bottomHelpLine = N_(" <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen ");
static int aStringCmp(const void * a, const void * b) {
@@ -249,7 +250,11 @@ static int setupLanguage(int choice, int flags) {
buf[i] = ' ';
newtDrawRootText(0, 0, buf);
- buf = sdupprintf(_(topLineWelcome), getProductName());
+ if (FL_RESCUE(flags))
+ buf = sdupprintf(_(topLineWelcomeRescue), getProductName());
+ else
+ buf = sdupprintf(_(topLineWelcome), getProductName());
+
newtDrawRootText(0, 0, buf);
free(buf);
newtPopHelpLine();