From 21ad7629981b3093fe7f065716bd71192c973e07 Mon Sep 17 00:00:00 2001
From: Jordi Mallach <jordi@gnu.org>
Date: Fri, 25 Jun 2004 22:43:09 +0000
Subject: [PATCH] Add a translation comment so translators use both their
 shortcuts as well as the English ones.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1818 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog   | 3 +++
 src/winio.c | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 83331df7..012ef343 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -403,6 +403,9 @@ CVS code -
 	- Overhaul for efficiency, and make sure the xlcredits
 	  translations are done after initialization in order to avoid
 	  an error when compiling with -pedantic. (David Benbennick)
+  do_yesno()
+	- Add a comment to encourage translators to use both native and
+	  English shortcuts, if possible. (Jordi)
 - configure.ac:
 	- Add tests for isblank(), strcasestr(), and strnlen(), and
 	  define _GNU_SOURCE so that the tests work properly.  Increase
diff --git a/src/winio.c b/src/winio.c
index a01a91c9..2c1bd54d 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2828,7 +2828,9 @@ int do_yesno(int all, const char *msg)
 
     /* Yes, no and all are strings of any length.  Each string consists
      * of all characters accepted as a valid character for that value.
-     * The first value will be the one displayed in the shortcuts. */
+     * The first value will be the one displayed in the shortcuts.
+     * Translators: if possible, specify both the shortcuts for your
+     * language and English. For example, in French: "OoYy" for "Oui". */
     yesstr = _("Yy");
     nostr = _("Nn");
     allstr = _("Aa");
-- 
GitLab