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

Diff of /trunk/Src/wptAboutDlgs.cpp

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

revision 33 by twoaday, Mon Oct 24 08:03:48 2005 UTC revision 34 by twoaday, Wed Oct 26 11:20:09 2005 UTC
# Line 38  about_gpg_dlg_proc (HWND dlg, UINT msg, Line 38  about_gpg_dlg_proc (HWND dlg, UINT msg,
38            
39      switch (msg) {      switch (msg) {
40      case WM_INITDIALOG:      case WM_INITDIALOG:
     #ifndef LANG_DE  
41          SetWindowText (dlg, _("About the GNU Privacy Guard"));          SetWindowText (dlg, _("About the GNU Privacy Guard"));
42      #endif  
43          rc = gpg_get_version (&gpg_version);          rc = gpg_get_version (&gpg_version);
44          if (rc || !gpg_version) {          if (rc || !gpg_version) {
45              msg_box (dlg, gpgme_strerror (rc), _("About GnuPG"), MB_ERR);              msg_box (dlg, gpgme_strerror (rc), _("About GnuPG"), MB_ERR);
# Line 76  about_winpt_dlg_proc (HWND dlg, UINT msg Line 75  about_winpt_dlg_proc (HWND dlg, UINT msg
75  {  {
76      switch (msg) {      switch (msg) {
77      case WM_INITDIALOG:      case WM_INITDIALOG:
     #ifndef LANG_DE  
78          SetWindowText (dlg, _("About WinPT"));          SetWindowText (dlg, _("About WinPT"));
79          SetDlgItemText (dlg, IDC_ABOUT_INFO,          SetDlgItemText (dlg, IDC_ABOUT_INFO,
80                         _("A free open source privacy tray for Windows based on GnuPG."));                         _("A free open source privacy tray for Windows based on GnuPG."));
# Line 97  about_winpt_dlg_proc (HWND dlg, UINT msg Line 95  about_winpt_dlg_proc (HWND dlg, UINT msg
95          SetDlgItemText (dlg, IDC_ABOUT_GPG, _("&About GPG..."));          SetDlgItemText (dlg, IDC_ABOUT_GPG, _("&About GPG..."));
96          SetDlgItemText (dlg, IDC_ABOUT_HELP, _("&Help"));          SetDlgItemText (dlg, IDC_ABOUT_HELP, _("&Help"));
97          SetDlgItemText (dlg, IDC_WINPT_VERSION, PACKAGE_VERSION);          SetDlgItemText (dlg, IDC_WINPT_VERSION, PACKAGE_VERSION);
98      #endif  
99          center_window (dlg, NULL);          center_window (dlg, NULL);
100          SetForegroundWindow (dlg);          SetForegroundWindow (dlg);
101          return TRUE;          return TRUE;

Legend:
Removed from v.33  
changed lines
  Added in v.34

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26