Remove 'busybox' word from configuration programs

(based on experience of adapting it to uclibc).
This commit is contained in:
Denis Vlasenko 2008-05-28 11:59:32 +00:00
parent 10be1a787f
commit 417e240abb
6 changed files with 20 additions and 22 deletions

View File

@ -605,7 +605,7 @@ int main(int ac, char **av)
check_conf(&rootmenu); check_conf(&rootmenu);
} while (conf_cnt); } while (conf_cnt);
if (conf_write(NULL)) { if (conf_write(NULL)) {
fprintf(stderr, _("\n*** Error during writing of the busybox configuration.\n\n")); fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
return 1; return 1;
} }
return 0; return 0;

View File

@ -437,7 +437,7 @@ int conf_write(const char *name)
" */\n", str); " */\n", str);
} else if (!(sym->flags & SYMBOL_CHOICE)) { } else if (!(sym->flags & SYMBOL_CHOICE)) {
sym_calc_value(sym); sym_calc_value(sym);
/* bbox: we want to all syms /* bbox: we want to see all syms
if (!(sym->flags & SYMBOL_WRITE)) if (!(sym->flags & SYMBOL_WRITE))
goto next; goto next;
*/ */

View File

@ -741,8 +741,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 busybox configuration tool\n" "Welcome to gkc, the GTK+ graphical configuration tool.\n"
"for Linux.\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"

View File

@ -1,4 +1,4 @@
This is NOT the official version of dialog. This version has been This is NOT the official version of dialog. This version has been
significantly modified from the original. It is for use by the Linux significantly modified from the original. It was used by the Linux
busybox configuration script. Please do not bother Savio Lam with kernel configuration script, and subsequently adapted for busybox.
questions about this program. Please do not bother Savio Lam with questions about this program.

View File

@ -115,7 +115,7 @@ static const char mconf_readme[] = N_(
"-----------------------------\n" "-----------------------------\n"
"Menuconfig supports the use of alternate configuration files for\n" "Menuconfig supports the use of alternate configuration files for\n"
"those who, for various reasons, find it necessary to switch\n" "those who, for various reasons, find it necessary to switch\n"
"between different busybox configurations.\n" "between different configurations.\n"
"\n" "\n"
"At the end of the main menu you will find two options. One is\n" "At the end of the main menu you will find two options. One is\n"
"for saving the current configuration to a file of your choosing.\n" "for saving the current configuration to a file of your choosing.\n"
@ -148,7 +148,7 @@ static const char mconf_readme[] = N_(
"\n" "\n"
"Optional personality available\n" "Optional personality available\n"
"------------------------------\n" "------------------------------\n"
"If you prefer to have all of the busybox options listed in a single\n" "If you prefer to have all of the options listed in a single\n"
"menu, rather than the default multimenu hierarchy, run the menuconfig\n" "menu, rather than the default multimenu hierarchy, run the menuconfig\n"
"with MENUCONFIG_MODE environment variable set to single_menu. Example:\n" "with MENUCONFIG_MODE environment variable set to single_menu. Example:\n"
"\n" "\n"
@ -193,11 +193,11 @@ load_config_text[] = N_(
"last retrieved. Leave blank to abort."), "last retrieved. Leave blank to abort."),
load_config_help[] = N_( load_config_help[] = N_(
"\n" "\n"
"For various reasons, one may wish to keep several different busybox\n" "For various reasons, one may wish to keep several different\n"
"configurations available on a single machine.\n" "configurations available on a single machine.\n"
"\n" "\n"
"If you have saved a previous configuration in a file other than \n" "If you have saved a previous configuration in a file other than\n"
"busybox's default, entering the name of the file here will allow you\n" "default, entering the name of the file here will allow you\n"
"to modify that configuration.\n" "to modify that configuration.\n"
"\n" "\n"
"If you are uncertain, then you have probably never used alternate\n" "If you are uncertain, then you have probably never used alternate\n"
@ -207,7 +207,7 @@ save_config_text[] = N_(
"as an alternate. Leave blank to abort."), "as an alternate. Leave blank to abort."),
save_config_help[] = N_( save_config_help[] = N_(
"\n" "\n"
"For various reasons, one may wish to keep different busybox\n" "For various reasons, one may wish to keep different\n"
"configurations available on a single machine.\n" "configurations available on a single machine.\n"
"\n" "\n"
"Entering a file name here will allow you to later retrieve, modify\n" "Entering a file name here will allow you to later retrieve, modify\n"
@ -1070,7 +1070,7 @@ int main(int ac, char **av)
do { do {
cprint_init(); cprint_init();
cprint("--yesno"); cprint("--yesno");
cprint(_("Do you wish to save your new busybox configuration?")); cprint(_("Do you wish to save your new configuration?"));
cprint("5"); cprint("5");
cprint("60"); cprint("60");
stat = exec_conf(); stat = exec_conf();
@ -1079,18 +1079,18 @@ int main(int ac, char **av)
if (stat == 0) { if (stat == 0) {
if (conf_write(NULL)) { if (conf_write(NULL)) {
fprintf(stderr, _("\n\n" fprintf(stderr, _("\n\n"
"Error during writing of the busybox configuration.\n" "Error during writing of the configuration.\n"
"Your busybox configuration changes were NOT saved." "Your configuration changes were NOT saved."
"\n\n")); "\n\n"));
return 1; return 1;
} }
printf(_("\n\n" printf(_("\n\n"
"*** End of busybox configuration.\n" "*** End of configuration.\n"
"*** Execute 'make' to build busybox or try 'make help'." "*** Execute 'make' to build the project or try 'make help'."
"\n\n")); "\n\n"));
} else { } else {
fprintf(stderr, _("\n\n" fprintf(stderr, _("\n\n"
"Your busybox configuration changes were NOT saved." "Your configuration changes were NOT saved."
"\n\n")); "\n\n"));
} }

View File

@ -1299,7 +1299,7 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e)
void ConfigMainWindow::showIntro(void) void ConfigMainWindow::showIntro(void)
{ {
static char str[] = "Welcome to the qconf graphical busybox configuration tool for Linux.\n\n" static char str[] = "Welcome to the qconf graphical configuration tool.\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"
@ -1316,8 +1316,7 @@ void ConfigMainWindow::showIntro(void)
void ConfigMainWindow::showAbout(void) void ConfigMainWindow::showAbout(void)
{ {
static char str[] = "qconf is Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>.\n\n" static char str[] = "qconf is Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>.\n";
"Bug reports and feature request can also be entered at http://bugs.busybox.net/\n";
QMessageBox::information(this, "qconf", str); QMessageBox::information(this, "qconf", str);
} }