summaryrefslogtreecommitdiffstats
path: root/src/hci/tui
diff options
context:
space:
mode:
authorMichael Brown2015-02-11 14:02:52 +0100
committerMichael Brown2015-02-11 15:11:22 +0100
commit544a6a9769112661b7831e114db4bf06c13baa67 (patch)
tree57f179d752eea4c839e52740bfeafc7843476230 /src/hci/tui
parent[build] Move branding information to config/branding.h (diff)
downloadipxe-544a6a9769112661b7831e114db4bf06c13baa67.tar.gz
ipxe-544a6a9769112661b7831e114db4bf06c13baa67.tar.xz
ipxe-544a6a9769112661b7831e114db4bf06c13baa67.zip
[build] Use PRODUCT_SHORT_NAME for end-user visible strings
Use PRODUCT_SHORT_NAME instead of a hardcoded "iPXE" for strings which are typically shown in the user interface. Note that this only allows for customisation of the user interface. Where the "iPXE" string serves a technical purpose (such as in the HTTP User-Agent), the string cannot be customised. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/tui')
-rw-r--r--src/hci/tui/settings_ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hci/tui/settings_ui.c b/src/hci/tui/settings_ui.c
index 22183973..b2e019e7 100644
--- a/src/hci/tui/settings_ui.c
+++ b/src/hci/tui/settings_ui.c
@@ -30,6 +30,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/keys.h>
#include <ipxe/ansicol.h>
#include <ipxe/settings_ui.h>
+#include <config/branding.h>
/** @file
*
@@ -348,7 +349,7 @@ static void draw_title_row ( struct setting_widget *widget ) {
clearmsg ( TITLE_ROW );
name = settings_name ( widget->settings );
attron ( A_BOLD );
- msg ( TITLE_ROW, "iPXE configuration settings%s%s",
+ msg ( TITLE_ROW, PRODUCT_SHORT_NAME " configuration settings%s%s",
( name[0] ? " - " : "" ), name );
attroff ( A_BOLD );
}