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 |
129 |
|
|
130 |
switch ( msg ) { |
switch ( msg ) { |
131 |
case WM_INITDIALOG: |
case WM_INITDIALOG: |
|
#ifndef LANG_DE |
|
132 |
SetWindowText (dlg, _("WinPT Preferences")); |
SetWindowText (dlg, _("WinPT Preferences")); |
133 |
SetDlgItemText (dlg, IDC_PREFS_SECMODE, _("Do not use any &temporary files")); |
SetDlgItemText (dlg, IDC_PREFS_SECMODE, _("Do not use any &temporary files")); |
134 |
SetDlgItemText (dlg, IDC_PREFS_VIEWER, _("Use clipboard &viewer to display the plaintext")); |
SetDlgItemText (dlg, IDC_PREFS_VIEWER, _("Use clipboard &viewer to display the plaintext")); |
138 |
SetDlgItemText (dlg, IDC_PREFS_AUTOBACKUP, _("&Automatic keyring backup when WinPT closes")); |
SetDlgItemText (dlg, IDC_PREFS_AUTOBACKUP, _("&Automatic keyring backup when WinPT closes")); |
139 |
SetDlgItemText (dlg, IDC_PREFS_BAKHOME, _("Backup to GPG &home folder")); |
SetDlgItemText (dlg, IDC_PREFS_BAKHOME, _("Backup to GPG &home folder")); |
140 |
SetDlgItemText (dlg, IDC_PREFS_BAKUSER, _("Backup to:")); |
SetDlgItemText (dlg, IDC_PREFS_BAKUSER, _("Backup to:")); |
141 |
#endif |
SetDlgItemText (dlg, IDC_PREFS_KEYLISTINF, _("Select &key list mode")); |
142 |
|
SetDlgItemText (dlg, IDC_PREFS_WIPEINF, _("Select &wipe mode")); |
143 |
|
SetDlgItemText (dlg, IDC_PREFS_KSINF, _("Keyserver &config")); |
144 |
|
SetDlgItemText (dlg, IDC_PREFS_CACHEINF, _("Cache &passphrases for 'n' seconds")); |
145 |
|
SetDlgItemText (dlg, IDC_PREFS_CACHEHINT, _("(CTRL+ALT+F to clear the cache)")); |
146 |
|
|
147 |
SetDlgItemInt( dlg, IDC_PREFS_CACHETIME, reg_prefs.cache_time, TRUE ); |
SetDlgItemInt( dlg, IDC_PREFS_CACHETIME, reg_prefs.cache_time, TRUE ); |
148 |
SetDlgItemInt( dlg, IDC_PREFS_WORDWRAP, reg_prefs.word_wrap, TRUE ); |
SetDlgItemInt( dlg, IDC_PREFS_WORDWRAP, reg_prefs.word_wrap, TRUE ); |
149 |
if (reg_prefs.backup.path) |
if (reg_prefs.backup.path) |