mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* card-util.c, keyedit.c, openfile.c, pkclist.c, delkey.c, keygen.c,
photoid.c, revoke.c: Some yes-or-no prompts end in "(y/n)". Some don't. Consistently use y/n everywhere.
This commit is contained in:
parent
d41e6455a3
commit
f3687f6b6c
9 changed files with 69 additions and 47 deletions
|
@ -136,7 +136,7 @@ do_delete_key( const char *username, int secret, int *r_sec_avail )
|
|||
|
||||
yes = cpr_get_answer_is_yes( secret? "delete_key.secret.okay"
|
||||
: "delete_key.okay",
|
||||
_("Delete this key from the keyring? "));
|
||||
_("Delete this key from the keyring? (y/N) "));
|
||||
if( !cpr_enabled() && secret && yes ) {
|
||||
/* I think it is not required to check a passphrase; if
|
||||
* the user is so stupid as to let others access his secret keyring
|
||||
|
@ -144,7 +144,7 @@ do_delete_key( const char *username, int secret, int *r_sec_avail )
|
|||
* basic texts about security.
|
||||
*/
|
||||
yes = cpr_get_answer_is_yes("delete_key.secret.okay",
|
||||
_("This is a secret key! - really delete? "));
|
||||
_("This is a secret key! - really delete? (y/N) "));
|
||||
}
|
||||
if( yes )
|
||||
okay++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue