Make it possible to translate arguments in help text of module commands

Ref #1354
This commit is contained in:
Alexey Sokolov committed 2016-12-25 21:11:02 +00:00
1 parent b5fde609c4
commit d9c1da8a68
6 files changed
+51 -29

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ class CAdminLogMod : public CModule {
AddHelpCommand();
AddCommand("Show", "", t_d("Show the logging target"),
[=](const CString& sLine) { OnShowCommand(sLine); });
AddCommand("Target", "<file|syslog|both> [path]",
AddCommand("Target", t_d("<file|syslog|both> [path]"),
t_d("Set the logging target"),
[=](const CString& sLine) { OnTargetCommand(sLine); });
openlog("znc", LOG_PID, LOG_DAEMON);