Commit 7c788802 authored by Alessandro Rubini's avatar Alessandro Rubini

kconfig: trivially write "WRPC" in place of "Linux Kernel"

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 881e1ee4
...@@ -266,7 +266,7 @@ void init_main_window(const gchar * glade_file) ...@@ -266,7 +266,7 @@ void init_main_window(const gchar * glade_file)
/*"style", PANGO_STYLE_OBLIQUE, */ /*"style", PANGO_STYLE_OBLIQUE, */
NULL); NULL);
sprintf(title, _("Linux Kernel v%s Configuration"), sprintf(title, _("WRPC v%s Configuration"),
getenv("KERNELVERSION")); getenv("KERNELVERSION"));
gtk_window_set_title(GTK_WINDOW(main_wnd), title); gtk_window_set_title(GTK_WINDOW(main_wnd), title);
...@@ -719,7 +719,7 @@ void on_introduction1_activate(GtkMenuItem * menuitem, gpointer user_data) ...@@ -719,7 +719,7 @@ void on_introduction1_activate(GtkMenuItem * menuitem, gpointer user_data)
GtkWidget *dialog; GtkWidget *dialog;
const gchar *intro_text = _( const gchar *intro_text = _(
"Welcome to gkc, the GTK+ graphical kernel configuration tool\n" "Welcome to gkc, the GTK+ graphical kernel configuration tool\n"
"for Linux.\n" "for WRPC software support.\n"
"For each option, a blank box indicates the feature is disabled, a\n" "For each option, a blank box indicates the feature is disabled, a\n"
"check indicates it is enabled, and a dot indicates that it is to\n" "check indicates it is enabled, and a dot indicates that it is to\n"
"be compiled as a module. Clicking on the box will cycle through the three states.\n" "be compiled as a module. Clicking on the box will cycle through the three states.\n"
......
...@@ -31,7 +31,7 @@ extern "C" { ...@@ -31,7 +31,7 @@ extern "C" {
#define SRCTREE "srctree" #define SRCTREE "srctree"
#define PACKAGE "linux" #define PACKAGE "wrpc-sw"
#define LOCALEDIR "/usr/share/locale" #define LOCALEDIR "/usr/share/locale"
#define _(text) gettext(text) #define _(text) gettext(text)
......
...@@ -305,7 +305,7 @@ static void set_config_filename(const char *config_filename) ...@@ -305,7 +305,7 @@ static void set_config_filename(const char *config_filename)
sym = sym_lookup("KERNELVERSION", 0); sym = sym_lookup("KERNELVERSION", 0);
sym_calc_value(sym); sym_calc_value(sym);
size = snprintf(menu_backtitle, sizeof(menu_backtitle), size = snprintf(menu_backtitle, sizeof(menu_backtitle),
_("%s - Linux Kernel v%s Configuration"), _("%s - WRPC v%s Configuration"),
config_filename, sym_get_string_value(sym)); config_filename, sym_get_string_value(sym));
if (size >= sizeof(menu_backtitle)) if (size >= sizeof(menu_backtitle))
menu_backtitle[sizeof(menu_backtitle)-1] = '\0'; menu_backtitle[sizeof(menu_backtitle)-1] = '\0';
...@@ -851,13 +851,13 @@ int main(int ac, char **av) ...@@ -851,13 +851,13 @@ int main(int ac, char **av)
} }
case -1: case -1:
printf(_("\n\n" printf(_("\n\n"
"*** End of Linux kernel configuration.\n" "*** End of WRPC configuration.\n"
"*** Execute 'make' to build the kernel or try 'make help'." "*** Execute 'make' to build the binary."
"\n\n")); "\n\n"));
break; break;
default: default:
fprintf(stderr, _("\n\n" fprintf(stderr, _("\n\n"
"Your kernel configuration changes were NOT saved." "Your WRPC configuration changes were NOT saved."
"\n\n")); "\n\n"));
} }
......
...@@ -1275,7 +1275,7 @@ ConfigMainWindow::ConfigMainWindow(void) ...@@ -1275,7 +1275,7 @@ ConfigMainWindow::ConfigMainWindow(void)
char title[256]; char title[256];
QDesktopWidget *d = configApp->desktop(); QDesktopWidget *d = configApp->desktop();
snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"), snprintf(title, sizeof(title), _("WRPC v%s Configuration"),
getenv("KERNELVERSION")); getenv("KERNELVERSION"));
setCaption(title); setCaption(title);
...@@ -1631,7 +1631,7 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e) ...@@ -1631,7 +1631,7 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e)
void ConfigMainWindow::showIntro(void) void ConfigMainWindow::showIntro(void)
{ {
static const QString str = _("Welcome to the qconf graphical kernel configuration tool for Linux.\n\n" static const QString str = _("Welcome to the qconf graphical kernel configuration tool for WRPC.\n\n"
"For each option, a blank box indicates the feature is disabled, a check\n" "For each option, a blank box indicates the feature is disabled, a check\n"
"indicates it is enabled, and a dot indicates that it is to be compiled\n" "indicates it is enabled, and a dot indicates that it is to be compiled\n"
"as a module. Clicking on the box will cycle through the three states.\n\n" "as a module. Clicking on the box will cycle through the three states.\n\n"
......
...@@ -2224,7 +2224,7 @@ void conf_parse(const char *name) ...@@ -2224,7 +2224,7 @@ void conf_parse(const char *name)
modules_sym = sym_lookup(NULL, 0); modules_sym = sym_lookup(NULL, 0);
modules_sym->type = S_BOOLEAN; modules_sym->type = S_BOOLEAN;
modules_sym->flags |= SYMBOL_AUTO; modules_sym->flags |= SYMBOL_AUTO;
rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL); rootmenu.prompt = menu_add_prompt(P_MENU, "WRPC Configuration", NULL);
#if YYDEBUG #if YYDEBUG
if (getenv("ZCONF_DEBUG")) if (getenv("ZCONF_DEBUG"))
......
...@@ -479,7 +479,7 @@ void conf_parse(const char *name) ...@@ -479,7 +479,7 @@ void conf_parse(const char *name)
modules_sym = sym_lookup(NULL, 0); modules_sym = sym_lookup(NULL, 0);
modules_sym->type = S_BOOLEAN; modules_sym->type = S_BOOLEAN;
modules_sym->flags |= SYMBOL_AUTO; modules_sym->flags |= SYMBOL_AUTO;
rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL); rootmenu.prompt = menu_add_prompt(P_MENU, "WRPC Configuration", NULL);
#if YYDEBUG #if YYDEBUG
if (getenv("ZCONF_DEBUG")) if (getenv("ZCONF_DEBUG"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment