nano

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

commit 21ad7629981b3093fe7f065716bd71192c973e07
parent d350727726531369cf5747446034d752888739dd
Author: Jordi Mallach <jordi@gnu.org>
Date:   Fri, 25 Jun 2004 22:43:09 +0000

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

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

diff --git 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 @@ -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");