From 2a0424dcb4a0a87f2b2cabeb0d6d280b7a98e26c Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Fri, 23 Dec 2016 19:09:18 -0500 Subject: [PATCH] Fix default pinentry strings to break lines. --- src/pinentry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pinentry.c b/src/pinentry.c index 668da74e..fdfaac84 100644 --- a/src/pinentry.c +++ b/src/pinentry.c @@ -197,20 +197,20 @@ set_pinentry_strings (pwm_t * pwm, pwmd_pinentry_t which) hintp += 8; infop += 8; desc = pwmd_strdup_printf (N_ - ("Please enter the passphrase to unlock the OpenPGP secret key:%%0A%%0AClient: %s%%0AData file: %s%%0AKey id: %s (0x%s)%%0AMain key ID: 0x%s"), pwm->name ? pwm->name : N_("unknown"), pwm->filename, userid, hintp, infop); + ("Please enter the passphrase to unlock the OpenPGP secret key:%%0A%%0AClient: %s%%0AData file: %s%%0AKey ID: %s (0x%s)%%0AMain key ID: 0x%s"), pwm->name ? pwm->name : N_("unknown"), pwm->filename, userid, hintp, infop); pwmd_free (hint); pwmd_free (info); } else { - desc = pwmd_strdup_printf (N_ ("A passphrase is required to decrypt the encrypted data file \"%s\". Please enter the passphrase below."), pwm->filename); + desc = pwmd_strdup_printf (N_ ("A passphrase is required to decrypt the encrypted%%0Adata file \"%s\". Please enter the passphrase below."), pwm->filename); } } else if (which == PWMD_PINENTRY_SAVE || which == PWMD_PINENTRY_SAVE_FAILED) desc = pwmd_strdup_printf (N_ - ("Please enter the passphrase to use to encrypt the data file \"%s\"."), + ("Please enter the passphrase to use to encrypt%%0Athe data file \"%s\"."), pwm->filename); else if (which == PWMD_PINENTRY_SAVE_CONFIRM) desc = -- 2.11.4.GIT