From: Kevin McCarthy Date: Tue, 4 Jul 2017 02:22:18 +0000 (-0700) Subject: Add L10N comments to the GNUTLS certificate prompt. X-Git-Tag: neomutt-20170707^2^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60c1fb07f5a6ca920a65b4fbf2521086ac1330eb;p=neomutt Add L10N comments to the GNUTLS certificate prompt. The prompts are shared with OpenSSL, and so the prompts end up being separate from the action key strings. --- diff --git a/mutt_ssl_gnutls.c b/mutt_ssl_gnutls.c index 5a799574d..5481e1cb2 100644 --- a/mutt_ssl_gnutls.c +++ b/mutt_ssl_gnutls.c @@ -997,11 +997,23 @@ static int tls_check_one_certificate (const gnutls_datum_t *certdata, | CERTERR_REVOKED))) { menu->prompt = _("(r)eject, accept (o)nce, (a)ccept always"); + /* L10N: + * These three letters correspond to the choices in the string: + * (r)eject, accept (o)nce, (a)ccept always. + * This is an interactive certificate confirmation prompt for + * a GNUTLS connection. + */ menu->keys = _("roa"); } else { menu->prompt = _("(r)eject, accept (o)nce"); + /* L10N: + * These two letters correspond to the choices in the string: + * (r)eject, accept (o)nce. + * These is an interactive certificate confirmation prompt for + * a GNUTLS connection. + */ menu->keys = _("ro"); }