aboutsummaryrefslogtreecommitdiffstats
path: root/agent/divert-scd.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-08-11 10:56:44 +0000
committerWerner Koch <[email protected]>2009-08-11 10:56:44 +0000
commit25659d66f1bacd9c737766fd5db8c5eaa21ef796 (patch)
tree9737e8b97f2ba14132a9e9d80e3bf26e78ec2a71 /agent/divert-scd.c
parentImproved detection of bad/invalid signer keys. (diff)
downloadgnupg-25659d66f1bacd9c737766fd5db8c5eaa21ef796.tar.gz
gnupg-25659d66f1bacd9c737766fd5db8c5eaa21ef796.zip
Ask to insert the right OpenPGP card.
Diffstat (limited to 'agent/divert-scd.c')
-rw-r--r--agent/divert-scd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/agent/divert-scd.c b/agent/divert-scd.c
index 4c3db9678..6f23e98ca 100644
--- a/agent/divert-scd.c
+++ b/agent/divert-scd.c
@@ -88,9 +88,10 @@ ask_for_card (ctrl_t ctrl, const unsigned char *shadow_info, char **r_kid)
if (asprintf (&desc,
"%s:%%0A%%0A"
" \"%.*s\"",
- no_card? "Please insert the card with serial number"
- : "Please remove the current card and "
- "insert the one with serial number",
+ no_card
+ ? _("Please insert the card with serial number")
+ : _("Please remove the current card and "
+ "insert the one with serial number"),
want_sn_displen, want_sn) < 0)
{
rc = out_of_core ();