1 |
/* wptKeygenDlg.cpp - Key Generation dialog |
/* wptKeygenDlg.cpp - Key Generation dialog |
2 |
* Copyright (C) 2000-2005 Timo Schulz |
* Copyright (C) 2000-2006 Timo Schulz |
3 |
* |
* |
4 |
* This file is part of WinPT. |
* This file is part of WinPT. |
5 |
* |
* |
458 |
expire = t; |
expire = t; |
459 |
} |
} |
460 |
|
|
461 |
pwd = request_passphrase2 (_("Key Generation"), PASSDLG_STRICT, &cancel); |
pwd = request_passphrase2 (_("Key Generation"), |
462 |
|
PASSDLG_STRICT|PASSDLG_WARN_UTF8, &cancel); |
463 |
if (cancel) { |
if (cancel) { |
464 |
sfree_if_alloc (pwd); |
sfree_if_alloc (pwd); |
465 |
free_if_alloc (utf8_name); |
free_if_alloc (utf8_name); |
540 |
SetDlgItemText (dlg, IDC_KEYWIZARD_EMAILINF, _("Email address:")); |
SetDlgItemText (dlg, IDC_KEYWIZARD_EMAILINF, _("Email address:")); |
541 |
SetDlgItemText (dlg, IDC_KEYWIZARD_TITLEINF, _("Name and E-Mail Assignment")); |
SetDlgItemText (dlg, IDC_KEYWIZARD_TITLEINF, _("Name and E-Mail Assignment")); |
542 |
SetDlgItemText (dlg, IDC_KEYWIZARD_TEXT1INF, _("Every key pair must have a name associated with it. The name and\nemail address let your correspondents that your public key they are\nusing belongs to us.")); |
SetDlgItemText (dlg, IDC_KEYWIZARD_TEXT1INF, _("Every key pair must have a name associated with it. The name and\nemail address let your correspondents that your public key they are\nusing belongs to us.")); |
543 |
SetDlgItemText (dlg, IDC_KEYWIZARD_TEXT2INF, _("By accosiating an email address with your key pair, you will enable WinPT to assist your correspondents in selecting the correct public\nkey when communicating with you.")); |
SetDlgItemText (dlg, IDC_KEYWIZARD_TEXT2INF, _("By associating an email address with your key pair, you will enable WinPT to assist your correspondents in selecting the correct public\nkey when communicating with you.")); |
544 |
SetWindowText (dlg, _("Key Generation Wizard")); |
SetWindowText (dlg, _("Key Generation Wizard")); |
545 |
SetDlgItemText (dlg, IDCANCEL, _("&Cancel")); |
SetDlgItemText (dlg, IDCANCEL, _("&Cancel")); |
546 |
SetDlgItemText (dlg, IDC_KEYWIZARD_EXPERT, _("E&xpert")); |
SetDlgItemText (dlg, IDC_KEYWIZARD_EXPERT, _("E&xpert")); |
581 |
free_if_alloc (utf8_name); |
free_if_alloc (utf8_name); |
582 |
return FALSE; |
return FALSE; |
583 |
} |
} |
584 |
pass = request_passphrase2 (_("Key Generation"), PASSDLG_STRICT, &cancel); |
pass = request_passphrase2 (_("Key Generation"), |
585 |
|
PASSDLG_STRICT|PASSDLG_WARN_UTF8, &cancel); |
586 |
if (cancel) { |
if (cancel) { |
587 |
free_if_alloc (utf8_name); |
free_if_alloc (utf8_name); |
588 |
return FALSE; |
return FALSE; |