summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/res
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-10-12 16:08:57 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-10-12 16:08:57 +0000
commit75815d4ab9a4b54cea03a97277f4d0892f2bdb6b (patch)
treeee282a32bfec8618c8b904e8cfb954f677d4a6a5 /plugins/Spamotron/res
parent32d2d34f0e3aacb60851eedac77e4913affbe6d0 (diff)
minor accessibility and translation fixes (fixes #433)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Spamotron/res')
-rw-r--r--plugins/Spamotron/res/spamotron.rc112
1 files changed, 58 insertions, 54 deletions
diff --git a/plugins/Spamotron/res/spamotron.rc b/plugins/Spamotron/res/spamotron.rc
index e435ecd4b6..b7a6bbd29b 100644
--- a/plugins/Spamotron/res/spamotron.rc
+++ b/plugins/Spamotron/res/spamotron.rc
@@ -51,38 +51,39 @@ END
//
IDD_SPAMOTRON_BAYES DIALOGEX 0, 0, 309, 230
-STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU
+STYLE DS_SETFONT | WS_POPUP | WS_SYSMENU | WS_CHILD | WS_VISIBLE
+EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
+ CONTROL "Enabled",IDC_OPT_BAYES_ENABLED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,15,101,10
+ RTEXT "Learned ham messages:",IDC_STATIC_HAMCOUNT_LABEL,122,21,122,8
+ LTEXT "0",IDC_STATIC_HAM_COUNT,249,21,44,8
+ RTEXT "Learned spam messages:",IDC_STATIC_SPAMCOUNT_LABEL,122,11,122,8
+ LTEXT "0",IDC_STATIC_SPAM_COUNT,249,11,44,8
+ GROUPBOX "Filtering options",IDC_STATIC,8,32,293,63
CONTROL "Do not send challenge request if message score above",IDC_OPT_BAYES_BLOCK_MSG,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,45,185,10
- CONTROL "Auto-learn messages from approved contacts as ham",IDC_OPT_BAYES_AUTOLEARN_APPROVED,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,108,277,10
- GROUPBOX "Filtering options",IDC_STATIC,8,32,293,63
- GROUPBOX "Learning options",IDC_STATIC,8,95,293,127
- CONTROL "Auto-learn outgoing messages as ham",IDC_OPT_BAYES_AUTOLEARN_OUTGOING,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,136,277,10
- EDITTEXT IDC_OPT_BAYES_LEARNBOX,16,165,222,49,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN
- PUSHBUTTON "Spam",IDC_OPT_BAYES_SPAM,244,165,49,14,WS_GROUP
- PUSHBUTTON "Ham",IDC_OPT_BAYES_HAM,244,182,49,14,WS_GROUP
- LTEXT "Learn message:",IDC_STATIC,16,154,222,8
EDITTEXT IDC_OPT_BAYES_SPAM_SCORE,204,44,22,12,ES_CENTER | ES_AUTOHSCROLL
CONTROL "Auto approve contact if message score below",IDC_OPT_BAYES_AUTO_APPROVE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,59,160,10
EDITTEXT IDC_OPT_BAYES_HAM_SCORE,176,58,22,12,ES_CENTER | ES_AUTOHSCROLL
- LTEXT "Do not enable any of these options until Spam-o-tron have learned at least 20 of ham and 50 of spam messages.",IDC_STATIC,16,72,277,18,WS_DISABLED
- RTEXT "Learned ham messages:",IDC_STATIC_HAMCOUNT_LABEL,122,21,122,8
- RTEXT "Learned spam messages:",IDC_STATIC_SPAMCOUNT_LABEL,122,11,122,8
- LTEXT "0",IDC_STATIC_HAM_COUNT,249,21,44,8
- LTEXT "0",IDC_STATIC_SPAM_COUNT,249,11,44,8
- PUSHBUTTON "Analyze",IDC_CHECK_MSG,244,200,49,14
+ CONTROL "and learn as ham",IDC_OPT_BAYES_AUTOLEARN_AUTOAPPROVED,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,203,59,90,10
+ LTEXT "Do not enable any of these options until Spam-o-tron has learned at least 20 of ham and 50 of spam messages.",IDC_STATIC,16,72,277,18,WS_DISABLED
+ GROUPBOX "Learning options",IDC_STATIC,8,95,293,127
+ CONTROL "Auto-learn messages from approved contacts as ham",IDC_OPT_BAYES_AUTOLEARN_APPROVED,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,108,277,10
CONTROL "Auto-learn messages from contacts if not approved in",IDC_OPT_BAYES_AUTOLEARN_NOT_APPROVED,
- "Button",BS_AUTOCHECKBOX | BS_TOP | WS_TABSTOP,16,122,183,10
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,122,183,10
EDITTEXT IDC_OPT_BAYES_WAIT_APPROVE,201,120,22,12,ES_CENTER | ES_AUTOHSCROLL
LTEXT "days as spam",IDC_STATIC_DAYSASSPAM,226,122,67,8
- CONTROL "Enabled",IDC_OPT_BAYES_ENABLED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,15,101,10
- CONTROL "and learn as ham",IDC_OPT_BAYES_AUTOLEARN_AUTOAPPROVED,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,203,59,90,10
+ CONTROL "Auto-learn outgoing messages as ham",IDC_OPT_BAYES_AUTOLEARN_OUTGOING,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,136,277,10
+ LTEXT "Learn message:",IDC_STATIC,16,154,222,8
+ EDITTEXT IDC_OPT_BAYES_LEARNBOX,16,165,222,49,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN
+ PUSHBUTTON "Spam",IDC_OPT_BAYES_SPAM,244,165,49,14,WS_GROUP
+ PUSHBUTTON "Ham",IDC_OPT_BAYES_HAM,244,182,49,14,WS_GROUP
+ PUSHBUTTON "Analyze",IDC_CHECK_MSG,244,200,49,14,WS_GROUP
END
@@ -137,88 +138,91 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
IDD_SPAMOTRON_MAIN DIALOGEX 0, 0, 309, 230
-STYLE DS_SETFONT | WS_POPUP | WS_SYSMENU
+STYLE DS_SETFONT | WS_POPUP | WS_SYSMENU | WS_CHILD | WS_VISIBLE
+EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "Microsoft Sans Serif", 400, 0, 0xCC
BEGIN
- CONTROL "",IDC_OPT_PROTOCOLS,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_ALIGNLEFT | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,16,33,98,89
- LTEXT "Enabled accounts:",IDC_STATIC,16,21,98,8
- CONTROL "Do not reply to messages with words in this list:",IDC_OPT_DONT_REPLY_MSG,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,175,277,10
- CONTROL "Do not reply to the same message more than",IDC_OPT_DONT_REPLY_SAME_MSG,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,161,152,10
- GROUPBOX "Flood protection",IDC_STATIC,8,134,293,88
- LTEXT "Do not send more than",IDC_STATIC,16,148,74,8
- EDITTEXT IDC_OPT_MAX_MSG_CONTACT,91,146,22,12,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER
- LTEXT "messages to one contact per day",IDC_STATIC,118,148,175,8
- EDITTEXT IDC_OPT_DONT_REPLY_MSG_WORDLIST,16,189,277,24,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN
- EDITTEXT IDC_OPT_MAX_SAME_MSG,170,160,22,12,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER
- LTEXT "times a day",IDC_STATIC,196,162,97,8
GROUPBOX "Settings",IDC_STATIC,8,8,293,121
+ LTEXT "Enabled accounts:",IDC_STATIC,16,21,98,8
+ CONTROL "",IDC_OPT_PROTOCOLS,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_ALIGNLEFT | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,16,33,98,89
+ LTEXT "Auto approve on:",IDC_STATIC,122,17,171,8
CONTROL "Outgoing message",IDC_OPT_OUT_MSG_APPROVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,122,28,171,10
CONTROL "Incoming message with any word from list:",IDC_OPT_IN_MSG_APPROVE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,122,42,171,10
EDITTEXT IDC_OPT_IN_MSG_APPROVE_WORDLIST,122,56,171,24,ES_AUTOHSCROLL
- LTEXT "Auto approve on:",IDC_STATIC,122,17,171,8
CONTROL "Hide contact until verified",IDC_OPT_HIDE_UNTIL_VERIFIED,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,122,86,171,10
CONTROL "Add permanently to list on verified",IDC_OPT_ADD_PERMANENTLY,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,122,100,171,10
CONTROL "Log actions to system history",IDC_OPT_LOG_ACTIONS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,122,114,171,10
+ GROUPBOX "Flood protection",IDC_STATIC,8,134,293,88
+ LTEXT "Do not send more than",IDC_STATIC,16,148,74,8
+ EDITTEXT IDC_OPT_MAX_MSG_CONTACT,91,146,22,12,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER
+ LTEXT "messages to one contact per day",IDC_STATIC,118,148,175,8
+ CONTROL "Do not reply to the same message more than",IDC_OPT_DONT_REPLY_SAME_MSG,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,161,152,10
+ EDITTEXT IDC_OPT_MAX_SAME_MSG,170,160,22,12,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER
+ LTEXT "times a day",IDC_STATIC,196,162,97,8
+ CONTROL "Do not reply to messages with words in this list:",IDC_OPT_DONT_REPLY_MSG,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,175,277,10
+ EDITTEXT IDC_OPT_DONT_REPLY_MSG_WORDLIST,16,189,277,24,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN
END
IDD_SPAMOTRON_Q DIALOGEX 0, 0, 309, 230
-STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU
+STYLE DS_SETFONT | WS_POPUP | WS_SYSMENU | WS_CHILD | WS_VISIBLE
+EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
LTEXT "Mode:",IDC_STATIC,8,10,25,8
COMBOBOX IDC_OPT_MODE,35,8,85,50,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+ CONTROL "Case-sensitive",IDC_OPT_CCRESPONSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,126,10,175,10
+ LTEXT "will be saved in %mathexpr%",IDC_STATIC_MODEMSG,126,10,175,10
+ CONTROL "Send challenge on incoming message:",IDC_OPT_REPLY_ON_MSG,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,28,293,10
EDITTEXT IDC_OPT_CHALLENGE,8,40,293,28,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL | WS_GROUP
LTEXT "Responses: (saved in %response%, %response-n% variables)",IDC_STATIC_RESPONSE,8,72,293,8
EDITTEXT IDC_OPT_RESPONSE,8,82,293,28,ES_MULTILINE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
- EDITTEXT IDC_OPT_SUCCESS_RESPONSE,8,127,293,20,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
- EDITTEXT IDC_OPT_AUTH_CHALLENGE,8,165,293,28,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
- LTEXT "will be saved in %mathexpr%",IDC_STATIC_MODEMSG,126,10,175,10
EDITTEXT IDC_OPT_MATH_RESPONSE,8,82,293,28,ES_AUTOHSCROLL | NOT WS_VISIBLE | WS_DISABLED
- PUSHBUTTON "Reset to defaults",IDC_DEFAULTS,214,208,87,14
CONTROL "Reply on success:",IDC_OPT_REPLY_ON_SUCCESS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,115,293,10
+ EDITTEXT IDC_OPT_SUCCESS_RESPONSE,8,127,293,20,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
CONTROL "Send challenge on authorization request:",IDC_OPT_REPLY_ON_AUTH,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,153,293,10
+ EDITTEXT IDC_OPT_AUTH_CHALLENGE,8,165,293,28,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
CONTROL "Keep blocked messages in contact history",IDC_OPT_KEEP_BLOCKED_MSG,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,198,201,10
- CONTROL "Case-sensitive",IDC_OPT_CCRESPONSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,126,10,175,10
- CONTROL "Send challenge on incoming message:",IDC_OPT_REPLY_ON_MSG,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,28,293,10
CONTROL "and mark them unread after approval",IDC_OPT_MARK_MSG_UNREAD_ON_APPROVAL,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,210,191,11
+ PUSHBUTTON "Reset to defaults",IDC_DEFAULTS,214,208,87,14
END
IDD_SPAMOTRON_POPUPS DIALOGEX 0, 0, 309, 230
-STYLE DS_SETFONT | WS_POPUP | WS_SYSMENU
+STYLE DS_SETFONT | WS_POPUP | WS_SYSMENU | WS_CHILD | WS_VISIBLE
+EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "Microsoft Sans Serif", 400, 0, 0xCC
BEGIN
CONTROL "Enable popup notifications",IDC_OPT_POPUPS_ENABLED,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,19,277,10
- CONTROL "Contact blocked",IDC_OPT_POPUPS_NOTIFY_BLOCKED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,67,105,10
- CONTROL "Contact approved",IDC_OPT_POPUPS_NOTIFY_APPROVED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,83,105,10
GROUPBOX "Appearance",IDC_STATIC,8,41,293,181
+ CTEXT "Foreground",IDC_STATIC,126,54,50,8
+ CTEXT "Background",IDC_STATIC,184,54,50,8
+ CTEXT "Timeout",IDC_STATIC,242,54,40,8
+ CONTROL "Contact blocked",IDC_OPT_POPUPS_NOTIFY_BLOCKED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,67,105,10
CONTROL "",IDC_OPT_POPUPS_BLOCKED_FOREGROUND,"ColourPicker",WS_TABSTOP,126,67,50,10
CONTROL "",IDC_OPT_POPUPS_BLOCKED_BACKGROUND,"ColourPicker",WS_TABSTOP,184,67,50,10
+ EDITTEXT IDC_OPT_POPUPS_BLOCKED_TIMEOUT,248,66,28,12,ES_CENTER | ES_AUTOHSCROLL
+ CONTROL "Contact approved",IDC_OPT_POPUPS_NOTIFY_APPROVED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,83,105,10
CONTROL "",IDC_OPT_POPUPS_APPROVED_FOREGROUND,"ColourPicker",WS_TABSTOP,126,83,50,10
CONTROL "",IDC_OPT_POPUPS_APPROVED_BACKGROUND,"ColourPicker",WS_TABSTOP,184,83,50,10
+ EDITTEXT IDC_OPT_POPUPS_APPROVED_TIMEOUT,248,82,28,12,ES_CENTER | ES_AUTOHSCROLL
+ CONTROL "Challenge sent",IDC_OPT_POPUPS_NOTIFY_CHALLENGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,99,105,10
CONTROL "",IDC_OPT_POPUPS_CHALLENGE_FOREGROUND,"ColourPicker",WS_TABSTOP,126,99,50,10
CONTROL "",IDC_OPT_POPUPS_CHALLENGE_BACKGROUND,"ColourPicker",WS_TABSTOP,184,99,50,10
- CTEXT "Foreground",IDC_STATIC,126,54,50,8
- CTEXT "Background",IDC_STATIC,184,54,50,8
- CTEXT "Timeout",IDC_STATIC,242,54,40,8
- EDITTEXT IDC_OPT_POPUPS_BLOCKED_TIMEOUT,248,66,28,12,ES_CENTER | ES_AUTOHSCROLL
- EDITTEXT IDC_OPT_POPUPS_APPROVED_TIMEOUT,248,82,28,12,ES_CENTER | ES_AUTOHSCROLL
EDITTEXT IDC_OPT_POPUPS_CHALLENGE_TIMEOUT,248,98,28,12,ES_CENTER | ES_AUTOHSCROLL
CONTROL "Default colors",IDC_OPT_POPUPS_DEFAULT_COLORS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,149,168,10
+ CONTROL "Windows colors",IDC_OPT_POPUPS_WINDOWS_COLORS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,163,168,10
CONTROL "Default timeout",IDC_OPT_POPUPS_DEFAULT_TIMEOUT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,210,149,83,10
PUSHBUTTON "Preview",IDC_OPT_POPUPS_PREVIEW,227,198,66,14
- CONTROL "Windows colors",IDC_OPT_POPUPS_WINDOWS_COLORS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,163,168,10
- CONTROL "Challenge sent",IDC_OPT_POPUPS_NOTIFY_CHALLENGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,99,105,10
END