From 62de33035841fd3fbc9d409d9f90b1dd53504a48 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 28 May 2014 15:44:11 +0000
Subject: [PATCH] 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
---
 ChangeLog  | 1 +
 src/nano.c | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index cd4b4570..b5de8dd6 100644
--- 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
index c4a2b651..d495ab39 100644
--- 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"));
-- 
GitLab