diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2010-08-14 23:51:40 -0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2010-09-19 18:19:30 -0400 |
commit | 652cf9821d2a5b22a1725ce8dc235ea5de0e1c6f (patch) | |
tree | 26def63047085a3a08b2c72104753f7cebf41540 /scripts/kconfig/nconf.c | |
parent | ffb5957bc48f64f0773fd3fbc43cb9bb9b38e270 (diff) |
kconfig: rephrase help texts/comments not to include the package name
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@xenotime.net>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/nconf.c')
-rw-r--r-- | scripts/kconfig/nconf.c | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index da5e45d43f15..801cc048704a 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
@@ -15,11 +15,9 @@ | |||
15 | static const char nconf_readme[] = N_( | 15 | static const char nconf_readme[] = N_( |
16 | "Overview\n" | 16 | "Overview\n" |
17 | "--------\n" | 17 | "--------\n" |
18 | "Some kernel features may be built directly into the kernel.\n" | 18 | "This interface let you select features and parameters for the build.\n" |
19 | "Some may be made into loadable runtime modules. Some features\n" | 19 | "Features can either be built-in, modularized, or ignored. Parameters\n" |
20 | "may be completely removed altogether. There are also certain\n" | 20 | "must be entered in as decimal or hexadecimal numbers or text.\n" |
21 | "kernel parameters which are not really features, but must be\n" | ||
22 | "entered in as decimal or hexadecimal numbers or possibly text.\n" | ||
23 | "\n" | 21 | "\n" |
24 | "Menu items beginning with following braces represent features that\n" | 22 | "Menu items beginning with following braces represent features that\n" |
25 | " [ ] can be built in or removed\n" | 23 | " [ ] can be built in or removed\n" |
@@ -95,7 +93,7 @@ static const char nconf_readme[] = N_( | |||
95 | "-----------------------------\n" | 93 | "-----------------------------\n" |
96 | "nconfig supports the use of alternate configuration files for\n" | 94 | "nconfig supports the use of alternate configuration files for\n" |
97 | "those who, for various reasons, find it necessary to switch\n" | 95 | "those who, for various reasons, find it necessary to switch\n" |
98 | "between different kernel configurations.\n" | 96 | "between different configurations.\n" |
99 | "\n" | 97 | "\n" |
100 | "At the end of the main menu you will find two options. One is\n" | 98 | "At the end of the main menu you will find two options. One is\n" |
101 | "for saving the current configuration to a file of your choosing.\n" | 99 | "for saving the current configuration to a file of your choosing.\n" |
@@ -128,9 +126,9 @@ static const char nconf_readme[] = N_( | |||
128 | "\n" | 126 | "\n" |
129 | "Optional personality available\n" | 127 | "Optional personality available\n" |
130 | "------------------------------\n" | 128 | "------------------------------\n" |
131 | "If you prefer to have all of the kernel options listed in a single\n" | 129 | "If you prefer to have all of the options listed in a single menu, rather\n" |
132 | "menu, rather than the default multimenu hierarchy, run the nconfig\n" | 130 | "than the default multimenu hierarchy, run the nconfig with NCONFIG_MODE\n" |
133 | "with NCONFIG_MODE environment variable set to single_menu. Example:\n" | 131 | "environment variable set to single_menu. Example:\n" |
134 | "\n" | 132 | "\n" |
135 | "make NCONFIG_MODE=single_menu nconfig\n" | 133 | "make NCONFIG_MODE=single_menu nconfig\n" |
136 | "\n" | 134 | "\n" |
@@ -185,19 +183,19 @@ setmod_text[] = N_( | |||
185 | "has been configured as a module.\n" | 183 | "has been configured as a module.\n" |
186 | "As a result, this feature will be built as a module."), | 184 | "As a result, this feature will be built as a module."), |
187 | nohelp_text[] = N_( | 185 | nohelp_text[] = N_( |
188 | "There is no help available for this kernel option.\n"), | 186 | "There is no help available for this option.\n"), |
189 | load_config_text[] = N_( | 187 | load_config_text[] = N_( |
190 | "Enter the name of the configuration file you wish to load.\n" | 188 | "Enter the name of the configuration file you wish to load.\n" |
191 | "Accept the name shown to restore the configuration you\n" | 189 | "Accept the name shown to restore the configuration you\n" |
192 | "last retrieved. Leave blank to abort."), | 190 | "last retrieved. Leave blank to abort."), |
193 | load_config_help[] = N_( | 191 | load_config_help[] = N_( |
194 | "\n" | 192 | "\n" |
195 | "For various reasons, one may wish to keep several different kernel\n" | 193 | "For various reasons, one may wish to keep several different\n" |
196 | "configurations available on a single machine.\n" | 194 | "configurations available on a single machine.\n" |
197 | "\n" | 195 | "\n" |
198 | "If you have saved a previous configuration in a file other than the\n" | 196 | "If you have saved a previous configuration in a file other than the\n" |
199 | "kernel's default, entering the name of the file here will allow you\n" | 197 | "default one, entering its name here will allow you to modify that\n" |
200 | "to modify that configuration.\n" | 198 | "configuration.\n" |
201 | "\n" | 199 | "\n" |
202 | "If you are uncertain, then you have probably never used alternate\n" | 200 | "If you are uncertain, then you have probably never used alternate\n" |
203 | "configuration files. You should therefor leave this blank to abort.\n"), | 201 | "configuration files. You should therefor leave this blank to abort.\n"), |
@@ -206,8 +204,8 @@ save_config_text[] = N_( | |||
206 | "as an alternate. Leave blank to abort."), | 204 | "as an alternate. Leave blank to abort."), |
207 | save_config_help[] = N_( | 205 | save_config_help[] = N_( |
208 | "\n" | 206 | "\n" |
209 | "For various reasons, one may wish to keep different kernel\n" | 207 | "For various reasons, one may wish to keep different configurations\n" |
210 | "configurations available on a single machine.\n" | 208 | "available on a single machine.\n" |
211 | "\n" | 209 | "\n" |
212 | "Entering a file name here will allow you to later retrieve, modify\n" | 210 | "Entering a file name here will allow you to later retrieve, modify\n" |
213 | "and use the current configuration as an alternate to whatever\n" | 211 | "and use the current configuration as an alternate to whatever\n" |
@@ -681,8 +679,7 @@ static int do_exit(void) | |||
681 | return 0; | 679 | return 0; |
682 | } | 680 | } |
683 | res = btn_dialog(main_window, | 681 | res = btn_dialog(main_window, |
684 | _("Do you wish to save your " | 682 | _("Do you wish to save your new configuration?\n" |
685 | "new kernel configuration?\n" | ||
686 | "<ESC> to cancel and resume nconfig."), | 683 | "<ESC> to cancel and resume nconfig."), |
687 | 2, | 684 | 2, |
688 | " <save> ", | 685 | " <save> ", |
@@ -701,18 +698,16 @@ static int do_exit(void) | |||
701 | if (res) | 698 | if (res) |
702 | btn_dialog( | 699 | btn_dialog( |
703 | main_window, | 700 | main_window, |
704 | _("Error during writing of the kernel " | 701 | _("Error during writing of configuration.\n" |
705 | "configuration.\n" | 702 | "Your configuration changes were NOT saved."), |
706 | "Your kernel configuration " | ||
707 | "changes were NOT saved."), | ||
708 | 1, | 703 | 1, |
709 | "<OK>"); | 704 | "<OK>"); |
710 | else { | 705 | else { |
711 | char buf[1024]; | 706 | char buf[1024]; |
712 | snprintf(buf, 1024, | 707 | snprintf(buf, 1024, |
713 | _("Configuration written to %s\n" | 708 | _("Configuration written to %s\n" |
714 | "End of Linux kernel configuration.\n" | 709 | "End of the configuration.\n" |
715 | "Execute 'make' to build the kernel or try" | 710 | "Execute 'make' to start the build or try" |
716 | " 'make help'."), filename); | 711 | " 'make help'."), filename); |
717 | btn_dialog( | 712 | btn_dialog( |
718 | main_window, | 713 | main_window, |
@@ -724,7 +719,7 @@ static int do_exit(void) | |||
724 | default: | 719 | default: |
725 | btn_dialog( | 720 | btn_dialog( |
726 | main_window, | 721 | main_window, |
727 | _("Your kernel configuration changes were NOT saved."), | 722 | _("Your configuration changes were NOT saved."), |
728 | 1, | 723 | 1, |
729 | "<OK>"); | 724 | "<OK>"); |
730 | break; | 725 | break; |