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

Diff of /trunk/Src/wptKeysignDlg.cpp

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

revision 47 by werner, Mon Oct 31 14:04:59 2005 UTC revision 88 by twoaday, Mon Nov 21 12:06:59 2005 UTC
# Line 17  Line 17 
17   * along with WinPT; if not, write to the Free Software Foundation,   * along with WinPT; if not, write to the Free Software Foundation,
18   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19   */   */
   
20  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
21  #include <config.h>  #include <config.h>
22  #endif  #endif
23    
24  #include <windows.h>  #include <windows.h>
 #include <windows.h>  
25  #include <commctrl.h>  #include <commctrl.h>
26    
27  #include "resource.h"  #include "resource.h"
# Line 195  sig_class_dlg_proc (HWND dlg, UINT msg, Line 193  sig_class_dlg_proc (HWND dlg, UINT msg,
193  static const char*  static const char*
194  get_expire_date (gpgme_key_t key)  get_expire_date (gpgme_key_t key)
195  {  {
     static char tmp[64];  
   
196      u32 u = key->subkeys->expires;      u32 u = key->subkeys->expires;
197      if (!u)      if (!u)
198          return _("never");          return _("never");
# Line 228  keysign_dlg_proc (HWND dlg, UINT msg, WP Line 224  keysign_dlg_proc (HWND dlg, UINT msg, WP
224            
225      switch ( msg )  {      switch ( msg )  {
226      case WM_INITDIALOG:      case WM_INITDIALOG:
227          if (lparam == NULL)          if (lparam == 0)
228              dlg_fatal_error (dlg, "Could not get dialog param.");              dlg_fatal_error (dlg, "Could not get dialog param.");
229          #ifndef LANG_DE          #ifndef LANG_DE
230          SetWindowText (dlg, _("Key Signing"));          SetWindowText (dlg, _("Key Signing"));
# Line 254  keysign_dlg_proc (HWND dlg, UINT msg, WP Line 250  keysign_dlg_proc (HWND dlg, UINT msg, WP
250              EndDialog (dlg, FALSE);              EndDialog (dlg, FALSE);
251          }          }
252          SetDlgItemText (dlg, IDC_KEYSIGN_INFOS, keymsg);          SetDlgItemText (dlg, IDC_KEYSIGN_INFOS, keymsg);
         #ifndef LANG_DE  
253          SetDlgItemText (dlg, IDC_KEYSIGN_LOCAL, _("Sign local only (non exportable signature)"));          SetDlgItemText (dlg, IDC_KEYSIGN_LOCAL, _("Sign local only (non exportable signature)"));
254          SetDlgItemText (dlg, IDC_KEYSIGN_EXPSIG, _("Signature expires on"));          SetDlgItemText (dlg, IDC_KEYSIGN_EXPSIG, _("Signature expires on"));
255          SetDlgItemText (dlg, IDC_KEYSIGN_NREV, _("Sign non-revocably"));          SetDlgItemText (dlg, IDC_KEYSIGN_NREV, _("Sign non-revocably"));
256          SetDlgItemText (dlg, IDC_KEYSIGN_ASKLEVEL, _("&Ask for certification level"));          SetDlgItemText (dlg, IDC_KEYSIGN_ASKLEVEL, _("&Ask for certification level"));
257          SetDlgItemText (dlg, IDC_KEYSIGN_PWDINF, _("Passphrase"));          SetDlgItemText (dlg, IDC_KEYSIGN_PWDINF, _("Passphrase"));
258          #endif          SetDlgItemText (dlg, IDCANCEL, _("&Cancel"));
259            SetDlgItemText (dlg, IDC_KEYSIGN_SHOWIMG, _("&Show photo"));
260          CheckDlgButton (dlg, IDC_KEYSIGN_LOCAL, BST_CHECKED);          CheckDlgButton (dlg, IDC_KEYSIGN_LOCAL, BST_CHECKED);
261          CheckDlgButton (dlg, IDC_KEYSIGN_EXPSIG, BST_UNCHECKED);          CheckDlgButton (dlg, IDC_KEYSIGN_EXPSIG, BST_UNCHECKED);
262          CheckDlgButton (dlg, IDC_KEYSIGN_ASKLEVEL, BST_UNCHECKED);          CheckDlgButton (dlg, IDC_KEYSIGN_ASKLEVEL, BST_UNCHECKED);

Legend:
Removed from v.47  
changed lines
  Added in v.88

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26