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
This commit is contained in:
Benno Schulenberg 2014-03-04 10:30:15 +00:00
parent 377a6e3dc7
commit 6ae7760ccc
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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