diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-12-15 20:05:29 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-12-15 20:05:29 +0000 |
commit | 910bba980705d0660947e7197ab8df50a34a9ec3 (patch) | |
tree | 9755d1e47db2693a0e7a9677ebf50dc3736598b9 | |
parent | 86177252bd1f0fe27ad236dce08328915bbd47a5 (diff) |
Antispam answer should not be translated
git-svn-id: http://svn.miranda-ng.org/main/trunk@7235 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | langpacks/english/Plugins/StopSpam.txt | 2 | ||||
-rw-r--r-- | langpacks/english/Plugins/StopSpamMod.txt | 2 | ||||
-rwxr-xr-x | plugins/StopSpamMod/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/StopSpamPlus/src/settings.h | 2 |
4 files changed, 3 insertions, 5 deletions
diff --git a/langpacks/english/Plugins/StopSpam.txt b/langpacks/english/Plugins/StopSpam.txt index c557416d4f..e049a64678 100644 --- a/langpacks/english/Plugins/StopSpam.txt +++ b/langpacks/english/Plugins/StopSpam.txt @@ -36,7 +36,5 @@ ;file \plugins\StopSpamPlus\src\services.cpp
[Not In List]
[Complete]
-;file \plugins\StopSpamPlus\src\settings.h
-[nospam]
;file \plugins\StopSpamPlus\src\stopspam.cpp
[Remove Temporary Contacts]
diff --git a/langpacks/english/Plugins/StopSpamMod.txt b/langpacks/english/Plugins/StopSpamMod.txt index b28ce47421..d73f300fbd 100644 --- a/langpacks/english/Plugins/StopSpamMod.txt +++ b/langpacks/english/Plugins/StopSpamMod.txt @@ -46,9 +46,9 @@ ;file \plugins\StopSpamMod\src\options.cpp
[No more spam! Robots can't go! Only human beings invited!\r\n\r\nThis plugin works pretty simple:\r\nWhile messages from users on your contact list go as there is no any anti-spam software, messages from unknown users are not delivered to you. But also they are not ignored, this plugin replies with a simple question, and if user gives the right answer plugin adds him to your contact list so that he can contact you.]
[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.]
-[nospam]
[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 4a19cddff5..240b00a28e 100755 --- a/plugins/StopSpamMod/src/options.cpp +++ b/plugins/StopSpamMod/src/options.cpp @@ -107,7 +107,7 @@ INT_PTR CALLBACK MessagesDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar }
case ID_RESTOREDEFAULTS:
SetDlgItemText(hwnd, ID_QUESTION, defQuestion);
- SetDlgItemText(hwnd, ID_ANSWER, TranslateT("nospam"));
+ SetDlgItemText(hwnd, ID_ANSWER, _T("nospam"));
SetDlgItemText(hwnd, ID_AUTHREPL, TranslateT("StopSpam: send a message and reply to a anti-spam bot question."));
SetDlgItemText(hwnd, ID_CONGRATULATION, TranslateT("Congratulations! You just passed human/robot test. Now you can write me a message."));
SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0);
diff --git a/plugins/StopSpamPlus/src/settings.h b/plugins/StopSpamPlus/src/settings.h index fa66d5567d..9f2fbb8fbb 100644 --- a/plugins/StopSpamPlus/src/settings.h +++ b/plugins/StopSpamPlus/src/settings.h @@ -66,7 +66,7 @@ public: _T("Внимание! Антиспам защита. Ответьте \"nospam\" без кавычек и пробелов, если хотите связаться со мной.")))
,AuthRepl("AuthReply",TranslateTS(_T("StopSpam: send a message and reply to a anti-spam bot question.\r\n")
_T("Антиспам: отправьте сообщение и ответьте на вопрос антиспам системы.")))
- ,Answer("Answer",TranslateT("nospam"))
+ ,Answer("Answer",_T("nospam"))
,Congratulation("Congratulation",TranslateTS(_T("Congratulations! You just passed human/robot test. Now you can write me a message.\r\n")
_T("Поздравляю! Вы прошли антиспам проверку. Теперь вы можете писать мне.")))
,DisabledProtoList("DisabledProtoList","MetaContacts RSSNews")
|