74 |
BOOL CALLBACK |
BOOL CALLBACK |
75 |
about_winpt_dlg_proc (HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam) |
about_winpt_dlg_proc (HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam) |
76 |
{ |
{ |
77 |
switch( msg ) { |
switch (msg) { |
78 |
case WM_INITDIALOG: |
case WM_INITDIALOG: |
79 |
#ifndef LANG_DE |
#ifndef LANG_DE |
80 |
SetWindowText (dlg, _("About WinPT")); |
SetWindowText (dlg, _("About WinPT")); |
81 |
SetDlgItemText (dlg, IDC_ABOUT_INFO, |
SetDlgItemText (dlg, IDC_ABOUT_INFO, |
82 |
_("A free open source privacy tray for Windows based on GnuPG.")); |
_("A free open source privacy tray for Windows based on GnuPG.")); |
89 |
"the terms of the GNU General Public License as published by the Free " |
"the terms of the GNU General Public License as published by the Free " |
90 |
"Software Foundation; either Version 2 of the License, or " |
"Software Foundation; either Version 2 of the License, or " |
91 |
"(at your option) any later version.")); |
"(at your option) any later version.")); |
92 |
SetDlgItemText(dlg, IDC_ABOUT_GPL2, |
SetDlgItemText (dlg, IDC_ABOUT_GPL2, |
93 |
_("WinPT is distributed in the hope that it will be useful, but WITHOUT " |
_("WinPT is distributed in the hope that it will be useful, but WITHOUT " |
94 |
"ANY WARRANTY; without even the implied warranty of MERCHANTABLITY or " |
"ANY WARRANTY; without even the implied warranty of MERCHANTABLITY or " |
95 |
"FITNESS FOR A PARTICULAR PURPOSE. See the General Public License for " |
"FITNESS FOR A PARTICULAR PURPOSE. See the General Public License for " |
96 |
"more details. ")); |
"more details. ")); |
97 |
|
SetDlgItemText (dlg, IDC_ABOUT_GPG, _("&About GPG...")); |
98 |
|
SetDlgItemText (dlg, IDC_ABOUT_HELP, _("&Help")); |
99 |
SetDlgItemText (dlg, IDC_WINPT_VERSION, PACKAGE_VERSION); |
SetDlgItemText (dlg, IDC_WINPT_VERSION, PACKAGE_VERSION); |
100 |
#endif |
#endif |
101 |
center_window (dlg, NULL); |
center_window (dlg, NULL); |
102 |
SetForegroundWindow( dlg ); |
SetForegroundWindow (dlg); |
103 |
return TRUE; |
return TRUE; |
104 |
|
|
105 |
case WM_SYSCOMMAND: |
case WM_SYSCOMMAND: |
127 |
|
|
128 |
return FALSE; |
return FALSE; |
129 |
} |
} |
|
|
|