nano

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

commit 62de33035841fd3fbc9d409d9f90b1dd53504a48
parent 9b084b2a1d6452f742874159c8e5db7f63a11d3e
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Wed, 28 May 2014 15:44:11 +0000

Adding a translator comment for the --help output.


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

Diffstat:
MChangeLog | 1+
Msrc/nano.c | 4+++-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -12,6 +12,7 @@ the wrong function was used in the relevant function-list item: 'do_insertfile_void' instead of the unintuitive 'ext_cmd_void'. * src/browser (filesearch_init): Remove an unneeded format specifier. + * src/nano.c (usage): Add a translator comment for the --help output. 2014-05-27 Chris Allegretta <chrisa@asty.org> * src/winio.c (edit_refresh): wredrawln() is not supported under diff --git a/src/nano.c b/src/nano.c @@ -826,7 +826,7 @@ void print_opt_full(const char *shortflag printf("\n"); } -/* Explain how to properly use nano and its command line options. */ +/* Explain how to properly use nano and its command-line options. */ void usage(void) { printf(_("Usage: nano [OPTIONS] [[+LINE,COLUMN] FILE]...\n\n")); @@ -838,6 +838,8 @@ void usage(void) #endif ); print_opt(_("+LINE,COLUMN"), "", + /* TRANSLATORS: The next forty or so strings are option descriptions + * for the --help output. Try to keep them at most 40 characters. */ N_("Start at line LINE, column COLUMN")); #ifndef NANO_TINY print_opt("-A", "--smarthome", N_("Enable smart home key"));