nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c3cd0f3411004a7d08978df0074c953456927c78
parent 85e895508b0d7086cf206679927fb44fa0fbf3a7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun,  3 Mar 2019 14:36:12 +0100

help: reword the description of ^U to avoid the impression of "Undo"

Instead of "Uncut" use the word "Paste", which is the common name for
this function.

Diffstat:
Msrc/global.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/global.c b/src/global.c @@ -553,7 +553,7 @@ void shortcut_init(void) const char *cut_gist = N_("Cut current line (or marked region) and store it in cutbuffer"); const char *uncut_gist = - N_("Uncut from the cutbuffer into the current line"); + N_("Paste the contents of cutbuffer at current cursor position"); const char *cursorpos_gist = N_("Display the position of the cursor"); #ifdef ENABLE_SPELLER const char *spell_gist = N_("Invoke the spell checker, if available"); @@ -757,7 +757,7 @@ void shortcut_init(void) N_("Cut Text"), WITHORSANS(cut_gist), TOGETHER, NOVIEW); add_to_funcs(do_uncut_text, MMAIN, - N_("Uncut Text"), WITHORSANS(uncut_gist), BLANKAFTER, NOVIEW); + N_("Paste Text"), WITHORSANS(uncut_gist), BLANKAFTER, NOVIEW); if (!ISSET(RESTRICTED)) { #ifdef ENABLE_JUSTIFY