nano

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

commit 6ae7760ccc926e972862f5cfd910a057af95bcac
parent 377a6e3dc725798b18a5c40e0cdd8deb6001697c
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue,  4 Mar 2014 10:30:15 +0000

Normalizing the writing of "Write Out", "Uncut Text", and "Unjustify".


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4640 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 3+++
Msrc/global.c | 6+++---
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -3,6 +3,9 @@ and concatenate the two separate strings into one. * src/nano.c (main), doc/nanorc.sample.in - Make the M-P toggle actually do something by default, by using visible characters. + * src/global.c (shortcut_init) - Normalize the writing of three + help-line items: "Write Out", "Uncut Text", and "Unjustify", to + better stress the O and U -- the big C and J were distracting. 2014-03-01 Chris Allegretta <chrisa@asty.org> * global.c (shortcut_init) - Don't actually free the shortcut diff --git a/src/global.c b/src/global.c @@ -768,7 +768,7 @@ void shortcut_init(bool unjustify) #endif /* TRANSLATORS: Try to keep this at most 10 characters. */ - add_to_funcs(do_writeout_void, MMAIN, N_("WriteOut"), + add_to_funcs(do_writeout_void, MMAIN, N_("Write Out"), IFSCHELP(nano_writeout_msg), FALSE, NOVIEW); /* We allow inserting files in view mode if multibuffers are @@ -818,11 +818,11 @@ void shortcut_init(bool unjustify) if (unjustify) /* TRANSLATORS: Try to keep this at most 10 characters. */ - add_to_funcs(do_uncut_text, MMAIN, N_("UnJustify"), "", + add_to_funcs(do_uncut_text, MMAIN, N_("Unjustify"), "", FALSE, NOVIEW); else /* TRANSLATORS: Try to keep this at most 10 characters. */ - add_to_funcs(do_uncut_text, MMAIN, N_("UnCut Text"), IFSCHELP(nano_uncut_msg), + add_to_funcs(do_uncut_text, MMAIN, N_("Uncut Text"), IFSCHELP(nano_uncut_msg), FALSE, NOVIEW); #ifndef NANO_TINY