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
master
Benno Schulenberg 2014-05-28 15:44:11 +00:00
parent 9b084b2a1d
commit 62de330358
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,7 @@
the wrong function was used in the relevant function-list item: the wrong function was used in the relevant function-list item:
'do_insertfile_void' instead of the unintuitive 'ext_cmd_void'. 'do_insertfile_void' instead of the unintuitive 'ext_cmd_void'.
* src/browser (filesearch_init): Remove an unneeded format specifier. * 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> 2014-05-27 Chris Allegretta <chrisa@asty.org>
* src/winio.c (edit_refresh): wredrawln() is not supported under * src/winio.c (edit_refresh): wredrawln() is not supported under

View File

@ -826,7 +826,7 @@ void print_opt_full(const char *shortflag
printf("\n"); 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) void usage(void)
{ {
printf(_("Usage: nano [OPTIONS] [[+LINE,COLUMN] FILE]...\n\n")); printf(_("Usage: nano [OPTIONS] [[+LINE,COLUMN] FILE]...\n\n"));
@ -838,6 +838,8 @@ void usage(void)
#endif #endif
); );
print_opt(_("+LINE,COLUMN"), "", 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")); N_("Start at line LINE, column COLUMN"));
#ifndef NANO_TINY #ifndef NANO_TINY
print_opt("-A", "--smarthome", N_("Enable smart home key")); print_opt("-A", "--smarthome", N_("Enable smart home key"));