/[winpt]/trunk/Src/wptKeygenDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptKeygenDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 228 by twoaday, Tue Jun 6 13:37:59 2006 UTC revision 229 by twoaday, Mon Jun 19 14:04:31 2006 UTC
# Line 1  Line 1 
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   *   *
# Line 458  keygen_dlg_proc (HWND dlg, UINT msg, WPA Line 458  keygen_dlg_proc (HWND dlg, UINT msg, WPA
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);
# Line 539  keygen_wizard_dlg_proc (HWND dlg, UINT m Line 540  keygen_wizard_dlg_proc (HWND dlg, UINT m
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"));
# Line 580  keygen_wizard_dlg_proc (HWND dlg, UINT m Line 581  keygen_wizard_dlg_proc (HWND dlg, UINT m
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;

Legend:
Removed from v.228  
changed lines
  Added in v.229

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26