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); |
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.")); |
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; |