help: tweak the descriptions of ^X and ^R

It is not a problem to say that ^X closes the current buffer
even when nano is compiled without multibuffer support.
master
Benno Schulenberg 2018-02-22 19:52:27 +01:00
parent 6f4f1878fc
commit 3b8c898880
1 changed files with 2 additions and 7 deletions

View File

@ -517,16 +517,11 @@ void shortcut_init(void)
const char *cancel_gist = N_("Cancel the current function"); const char *cancel_gist = N_("Cancel the current function");
const char *help_gist = N_("Display this help text"); const char *help_gist = N_("Display this help text");
const char *exit_gist = const char *exit_gist =
#ifdef ENABLE_MULTIBUFFER N_("Close the current buffer / Exit from nano");
N_("Close the current file buffer / Exit from nano")
#else
N_("Exit from nano")
#endif
;
const char *writeout_gist = const char *writeout_gist =
N_("Write the current buffer (or the marked region) to disk"); N_("Write the current buffer (or the marked region) to disk");
const char *readfile_gist = const char *readfile_gist =
N_("Insert another file into the current one"); N_("Insert another file into current buffer (or into new buffer)");
const char *whereis_gist = const char *whereis_gist =
N_("Search forward for a string or a regular expression"); N_("Search forward for a string or a regular expression");
const char *wherewas_gist = const char *wherewas_gist =