mirror of
https://github.com/znc/znc.git
synced 2026-05-01 02:52:30 +02:00
Make it possible to translate arguments in help text of module commands
Ref #1354
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user