mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Ask to insert the right OpenPGP card.
This commit is contained in:
parent
019601191a
commit
25659d66f1
6 changed files with 186 additions and 18 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-08-11 Werner Koch <wk@g10code.com>
|
||||
|
||||
* divert-scd.c (ask_for_card): I18n a prompt string.
|
||||
|
||||
2009-07-06 Werner Koch <wk@g10code.com>
|
||||
|
||||
* agent.h: Include session-env.h.
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue