summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-01-02 12:46:47 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-01-02 12:46:47 +0100
commit8256ffb89e54a15e906ba27140cf08e92d2226c7 (patch)
treee25204be66db4d295b74bd4d90790c93a8a288a7 /src
parent9222a7b109bf5c20ac60466cfc293dc462989bdf (diff)
downloadweechat-8256ffb89e54a15e906ba27140cf08e92d2226c7.zip
Fixed translations in /help command
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-command.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index ee56040ec..a663dd330 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2007 by FlashCode <flashcode@flashtux.org>
+ * Copyright (c) 2003-2008 by FlashCode <flashcode@flashtux.org>
* See README for License detail, AUTHORS for developers list.
*
* This program is free software; you can redistribute it and/or modify
@@ -554,7 +554,7 @@ command_help (void *data, struct t_gui_buffer *buffer,
" - " : "",
(HOOK_COMMAND(ptr_hook, description)
&& HOOK_COMMAND(ptr_hook, description)[0]) ?
- HOOK_COMMAND(ptr_hook, description) : "",
+ _(HOOK_COMMAND(ptr_hook, description)) : "",
(HOOK_COMMAND(ptr_hook, level) > 0) ?
_(" (masked by a plugin)") : "");
}
@@ -583,20 +583,20 @@ command_help (void *data, struct t_gui_buffer *buffer,
GUI_COLOR(GUI_COLOR_CHAT),
(HOOK_COMMAND(ptr_hook, args)
&& HOOK_COMMAND(ptr_hook, args)[0]) ?
- HOOK_COMMAND(ptr_hook, args) : "");
+ _(HOOK_COMMAND(ptr_hook, args)) : "");
if (HOOK_COMMAND(ptr_hook, description)
&& HOOK_COMMAND(ptr_hook, description)[0])
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, "%s",
- HOOK_COMMAND(ptr_hook, description));
+ _(HOOK_COMMAND(ptr_hook, description)));
}
if (HOOK_COMMAND(ptr_hook, args_description)
&& HOOK_COMMAND(ptr_hook, args_description)[0])
{
gui_chat_printf (NULL, "");
gui_chat_printf (NULL, "%s",
- HOOK_COMMAND(ptr_hook, args_description));
+ _(HOOK_COMMAND(ptr_hook, args_description)));
}
return WEECHAT_RC_OK;
}
@@ -1942,7 +1942,7 @@ command_init ()
"in log file\n"
"windows: display windows tree\n"
" text: send \"debug\" signal with \"text\" as "
- "arguments"),
+ "argument"),
"dump|buffer|windows",
command_debug, NULL);
hook_command (NULL, "help",