mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
(generate_photo_id): Use tty_printf and not just
printf. Put _() around one string.
This commit is contained in:
parent
d4ca1e8cbc
commit
eda1b80760
@ -1,3 +1,8 @@
|
||||
2004-09-07 Werner Koch <wk@g10code.de>
|
||||
|
||||
* photoid.c (generate_photo_id): Use tty_printf and not just
|
||||
printf. Put _() around one string.
|
||||
|
||||
2004-09-03 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* keyserver.c (parse_keyrec): Force the 'e'xpired flag on as soon
|
||||
|
@ -62,8 +62,8 @@ PKT_user_id *generate_photo_id(PKT_public_key *pk)
|
||||
#define EXTRA_UID_NAME_SPACE 71
|
||||
uid=m_alloc_clear(sizeof(*uid)+71);
|
||||
|
||||
printf(_("\nPick an image to use for your photo ID. "
|
||||
"The image must be a JPEG file.\n"
|
||||
tty_printf(_("\nPick an image to use for your photo ID. "
|
||||
"The image must be a JPEG file.\n"
|
||||
"Remember that the image is stored within your public key. "
|
||||
"If you use a\n"
|
||||
"very large picture, your key will become very large as well!\n"
|
||||
@ -71,7 +71,7 @@ PKT_user_id *generate_photo_id(PKT_public_key *pk)
|
||||
|
||||
while(photo==NULL)
|
||||
{
|
||||
printf("\n");
|
||||
tty_printf("\n");
|
||||
|
||||
m_free(filename);
|
||||
|
||||
@ -92,7 +92,7 @@ PKT_user_id *generate_photo_id(PKT_public_key *pk)
|
||||
len=iobuf_get_filelength(file);
|
||||
if(len>6144)
|
||||
{
|
||||
printf("This JPEG is really large (%d bytes) !\n",len);
|
||||
tty_printf( _("This JPEG is really large (%d bytes) !\n"),len);
|
||||
if(!cpr_get_answer_is_yes("photoid.jpeg.size",
|
||||
_("Are you sure you want to use it (y/N)? ")))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user