Commit 62de3303 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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
parent 9b084b2a
Showing with 4 additions and 1 deletion
+4 -1
...@@ -12,6 +12,7 @@ ...@@ -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
......
...@@ -826,7 +826,7 @@ void print_opt_full(const char *shortflag ...@@ -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) ...@@ -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"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment