1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* keyedit.c, keylist.c, keyserver.c, mainproc.c: The

revoked/expired/expires string change of 2004-09-29 was too simple.  Use
two styles for each tag.
This commit is contained in:
David Shaw 2004-10-06 19:51:45 +00:00
parent 8c72ff9543
commit 8da1dfeed0
5 changed files with 74 additions and 21 deletions

View file

@ -927,9 +927,17 @@ list_node( CTX c, KBNODE node )
{
/* of subkey */
if( pk->is_revoked )
printf(" [%s]",_("revoked"));
{
printf(" [");
printf(_("revoked: %s"),revokestr_from_pk(pk));
printf("]");
}
else if( pk->expiredate )
printf(" [%s:%s]",_("expires"), expirestr_from_pk( pk ) );
{
printf(" [");
printf(_("expires: %s"),expirestr_from_pk(pk));
printf("]");
}
}
if( !any )