Log: add ShowSettings command, rework Set command, #601

Make more strings translateable, #1354
This commit is contained in:
Alexey Sokolov
2017-09-07 23:35:18 +01:00
parent 408e6e9f01
commit d51159a330
11 changed files with 173 additions and 113 deletions
+6 -3
View File
@@ -27,12 +27,15 @@ class CFloodDetachMod : public CModule {
m_iThresholdMsgs = 0;
AddHelpCommand();
AddCommand("Show","",t_d("Show current limits"),[=](const CString& sLine){ShowCommand(sLine);});
AddCommand("Show", "", t_d("Show current limits"),
[=](const CString& sLine) { ShowCommand(sLine); });
AddCommand("Secs", t_d("[<limit>]"),
t_d("Show or set number of seconds in the time interval"),
[=](const CString& sLine) { SecsCommand(sLine); });
AddCommand("Lines",t_d("[<limit>]"),t_d("blahblah: description"),[=](const CString& sLine){LinesCommand(sLine);});
AddCommand("Silent",t_d("[yes|no]"),t_d("blahblah: description"),[=](const CString& sLine){SilentCommand(sLine);});
AddCommand("Lines", t_d("[<limit>]"), t_d("blahblah: description"),
[=](const CString& sLine) { LinesCommand(sLine); });
AddCommand("Silent", t_d("[yes|no]"), t_d("blahblah: description"),
[=](const CString& sLine) { SilentCommand(sLine); });
}
~CFloodDetachMod() override {}