diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-12-15 20:17:38 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-12-15 20:17:38 +0000 |
commit | 6719a21dde8db593b77877449b07a15573c0e7d4 (patch) | |
tree | 952500717ae3627c8bc1bc11bc8803cfdcd9f276 | |
parent | 953e2b9c5cdee3c445d77fca2eb1c41764eb996a (diff) |
Antispam answer should not be translated
git-svn-id: http://svn.miranda-ng.org/main/trunk@7237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | langpacks/english/Plugins/StopSpamMod.txt | 1 | ||||
-rwxr-xr-x | plugins/StopSpamMod/src/options.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/langpacks/english/Plugins/StopSpamMod.txt b/langpacks/english/Plugins/StopSpamMod.txt index d73f300fbd..0117863fc7 100644 --- a/langpacks/english/Plugins/StopSpamMod.txt +++ b/langpacks/english/Plugins/StopSpamMod.txt @@ -48,7 +48,6 @@ [Spammers made me to install small anti-spam system you are now speaking with.\r\nPlease reply "nospam" without quotes and spaces if you want to contact me.]
[StopSpam: send a message and reply to a anti-spam bot question.]
[Congratulations! You just passed human/robot test. Now you can write me a message.]
-[nospam]
[If math expression is turned on you can use following expression in message text:\nXX+XX-X/X*X\neach X will be replaced by one random number and answer will be expression result\nMessage must contain only one expression without spaces]
[Info]
[Message Sessions]
diff --git a/plugins/StopSpamMod/src/options.cpp b/plugins/StopSpamMod/src/options.cpp index 240b00a28e..ef3fe5dcde 100755 --- a/plugins/StopSpamMod/src/options.cpp +++ b/plugins/StopSpamMod/src/options.cpp @@ -129,7 +129,7 @@ INT_PTR CALLBACK MessagesDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar db_set_ws(NULL, pluginName, "question", GetDlgItemString(hwnd, ID_QUESTION).c_str());
gbQuestion = DBGetContactSettingStringPAN(NULL, pluginName, "question", defQuestion);
db_set_ws(NULL, pluginName, "answer", GetDlgItemString(hwnd, ID_ANSWER).c_str());
- gbAnswer = DBGetContactSettingStringPAN(NULL, pluginName, "answer", TranslateT("nospam"));
+ gbAnswer = DBGetContactSettingStringPAN(NULL, pluginName, "answer", _T("nospam"));
db_set_ws(NULL, pluginName, "authrepl", GetDlgItemString(hwnd, ID_AUTHREPL).c_str());
gbAuthRepl = DBGetContactSettingStringPAN(NULL, pluginName, "authrepl", TranslateT("StopSpam: send a message and reply to a anti-spam bot question."));
db_set_ws(NULL, pluginName, "congratulation", GetDlgItemString(hwnd, ID_CONGRATULATION).c_str());
|