diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-18 20:33:19 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-18 20:33:19 +0100 |
commit | 8fc751532241e07031229f707c11b95e813fcfb7 (patch) | |
tree | 603b89a1de5ee5278a4d31d69d65ff908f41077f /src/plugins/aspell/weechat-aspell-command.c | |
parent | facd73734da8200ab44e5e323e0728da5bc7db1c (diff) | |
download | weechat-8fc751532241e07031229f707c11b95e813fcfb7.zip |
core: reformat hook_command arguments
Diffstat (limited to 'src/plugins/aspell/weechat-aspell-command.c')
-rw-r--r-- | src/plugins/aspell/weechat-aspell-command.c | 70 |
1 files changed, 34 insertions, 36 deletions
diff --git a/src/plugins/aspell/weechat-aspell-command.c b/src/plugins/aspell/weechat-aspell-command.c index 3dfb12d48..ccc5dc3c6 100644 --- a/src/plugins/aspell/weechat-aspell-command.c +++ b/src/plugins/aspell/weechat-aspell-command.c @@ -458,40 +458,38 @@ weechat_aspell_command_cb (void *data, struct t_gui_buffer *buffer, void weechat_aspell_command_init () { - weechat_hook_command ("aspell", - N_("aspell plugin configuration"), - N_("enable|disable|toggle" - " || listdict" - " || setdict <dict>[,<dict>...]" - " || deldict" - " || addword [<dict>] <word>"), - N_(" enable: enable aspell\n" - " disable: disable aspell\n" - " toggle: toggle aspell\n" - "listdict: show installed dictionaries\n" - " setdict: set dictionary for current buffer " - "(multiple dictionaries can be separated by a " - "comma)\n" - " deldict: delete dictionary used on current " - "buffer\n" - " addword: add a word in personal aspell " - "dictionary\n" - "\n" - "Input line beginning with a '/' is not checked, " - "except for some commands (see /set " - "aspell.check.commands).\n\n" - "To enable aspell on all buffers, use option " - "\"default_dict\", then enable aspell, for " - "example:\n" - " /set aspell.check.default_dict \"en\"\n" - " /aspell enable\n\n" - "Default key to toggle aspell is alt-s."), - "enable" - " || disable" - " || toggle" - " || listdict" - " || setdict %(aspell_dicts)" - " || deldict" - " || addword", - &weechat_aspell_command_cb, NULL); + weechat_hook_command ( + "aspell", + N_("aspell plugin configuration"), + N_("enable|disable|toggle" + " || listdict" + " || setdict <dict>[,<dict>...]" + " || deldict" + " || addword [<dict>] <word>"), + N_(" enable: enable aspell\n" + " disable: disable aspell\n" + " toggle: toggle aspell\n" + "listdict: show installed dictionaries\n" + " setdict: set dictionary for current buffer (multiple dictionaries " + "can be separated by a comma)\n" + " deldict: delete dictionary used on current buffer\n" + " addword: add a word in personal aspell dictionary\n" + "\n" + "Input line beginning with a '/' is not checked, except for some " + "commands (see /set aspell.check.commands).\n" + "\n" + "To enable aspell on all buffers, use option \"default_dict\", then " + "enable aspell, for example:\n" + " /set aspell.check.default_dict \"en\"\n" + " /aspell enable\n" + "\n" + "Default key to toggle aspell is alt-s."), + "enable" + " || disable" + " || toggle" + " || listdict" + " || setdict %(aspell_dicts)" + " || deldict" + " || addword", + &weechat_aspell_command_cb, NULL); } |