1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

Add hook infolist to plugins API, fix bugs with gettext in plugins

This commit is contained in:
Sebastien Helleu
2008-08-22 21:34:29 +02:00
parent 4185de5219
commit 74d595498d
12 changed files with 345 additions and 62 deletions
+8 -8
View File
@@ -132,14 +132,14 @@ script_init (struct t_weechat_plugin *weechat_plugin,
completion, weechat_plugin->name);
}
weechat_hook_command (weechat_plugin->name,
_("list/load/unload scripts"),
_("[list [name]] | [listfull [name]] "
"[load filename] | [autoload] | "
"[reload] | [unload [name]]"),
_("filename: script (file) to load\n"
"name: a script name\n\n"
"Without argument, this command "
"lists all loaded scripts."),
N_("list/load/unload scripts"),
N_("[list [name]] | [listfull [name]] "
"[load filename] | [autoload] | "
"[reload] | [unload [name]]"),
N_("filename: script (file) to load\n"
"name: a script name\n\n"
"Without argument, this command "
"lists all loaded scripts."),
(string) ? string : completion,
callback_command, NULL);
if (string)