summaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-12-20 19:14:57 +0100
committerWerner Koch <wk@gnupg.org>2004-12-20 19:14:57 +0100
commit29dd1497786f5c879f2506d86f01b07351c22480 (patch)
treedf55ef30547598071bf3af448764cd1f0d2f48b6 /g10/keygen.c
parent* seckey-cert.c (do_check): Handle case when checksum was okay but (diff)
downloadgnupg2-29dd1497786f5c879f2506d86f01b07351c22480.tar.xz
gnupg2-29dd1497786f5c879f2506d86f01b07351c22480.zip
(ask_expire_interval): For better translations chnage 2
strings.
Diffstat (limited to 'g10/keygen.c')
-rw-r--r--g10/keygen.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 5ca727dce..c9965c2ba 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1570,18 +1570,21 @@ ask_expire_interval(int object)
}
if( !valid_days ) {
- tty_printf(_("%s does not expire at all\n"),
- object==0?"Key":"Signature");
+ tty_printf((object==0)
+ ? _("Key does not expire at all\n") :
+ : _("Signature does not expire at all\n"));
interval = 0;
}
else {
interval = valid_days * 86400L;
- /* print the date when the key expires */
- tty_printf(_("%s expires at %s\n"),
- object==0?"Key":"Signature",
+
+ tty_printf(object==0
+ ? _("Key expires at %s\n")
+ : _("Signature expires at %s\n"),
asctimestamp((ulong)(curtime + interval) ) );
- /* FIXME: This check yields warning on alhas:
- write a configure check and to this check here only for 32 bit machines */
+ /* FIXME: This check yields warning on alhas: Write a
+ configure check and to this check here only for 32 bit
+ machines */
if( (time_t)((ulong)(curtime+interval)) < 0 )
tty_printf(_("Your system can't display dates beyond 2038.\n"
"However, it will be correctly handled up to 2106.\n"));