diff options
-rw-r--r-- | doc/en/autogen/user/weechat_options.txt | 2 | ||||
-rw-r--r-- | doc/fr/autogen/user/weechat_options.txt | 2 | ||||
-rw-r--r-- | src/core/wee-config.c | 6 | ||||
-rw-r--r-- | src/core/wee-config.h | 2 | ||||
-rw-r--r-- | src/gui/gui-completion.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/doc/en/autogen/user/weechat_options.txt b/doc/en/autogen/user/weechat_options.txt index 971039330..6c774d852 100644 --- a/doc/en/autogen/user/weechat_options.txt +++ b/doc/en/autogen/user/weechat_options.txt @@ -303,7 +303,7 @@ ** type: boolean ** values: on, off (default value: on) -* *weechat.completion.nick_completor* +* *weechat.completion.nick_completer* ** description: string inserted after nick completion ** type: string ** values: any string (default value: ":") diff --git a/doc/fr/autogen/user/weechat_options.txt b/doc/fr/autogen/user/weechat_options.txt index a73646010..8b1c641de 100644 --- a/doc/fr/autogen/user/weechat_options.txt +++ b/doc/fr/autogen/user/weechat_options.txt @@ -303,7 +303,7 @@ ** type: booléen ** valeurs: on, off (valeur par défaut: on) -* *weechat.completion.nick_completor* +* *weechat.completion.nick_completer* ** description: chaîne affichée après la complétion des pseudos ** type: chaîne ** valeurs: toute chaîne (valeur par défaut: ":") diff --git a/src/core/wee-config.c b/src/core/wee-config.c index a9f73149f..d1c4d3e12 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -153,7 +153,7 @@ struct t_config_option *config_color_nicklist_separator; struct t_config_option *config_completion_default_template; struct t_config_option *config_completion_nick_add_space; -struct t_config_option *config_completion_nick_completor; +struct t_config_option *config_completion_nick_completer; struct t_config_option *config_completion_nick_first_only; struct t_config_option *config_completion_nick_ignore_chars; struct t_config_option *config_completion_partial_completion_alert; @@ -1809,9 +1809,9 @@ config_weechat_init_options () N_("add space after nick completion (when nick is not first word on " "command line)"), NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); - config_completion_nick_completor = config_file_new_option ( + config_completion_nick_completer = config_file_new_option ( weechat_config_file, ptr_section, - "nick_completor", "string", + "nick_completer", "string", N_("string inserted after nick completion"), NULL, 0, 0, ":", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); config_completion_nick_first_only = config_file_new_option ( diff --git a/src/core/wee-config.h b/src/core/wee-config.h index 720dfeb7a..12b359204 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -164,7 +164,7 @@ extern struct t_config_option *config_color_nicklist_separator; extern struct t_config_option *config_completion_default_template; extern struct t_config_option *config_completion_nick_add_space; -extern struct t_config_option *config_completion_nick_completor; +extern struct t_config_option *config_completion_nick_completer; extern struct t_config_option *config_completion_nick_first_only; extern struct t_config_option *config_completion_nick_ignore_chars; extern struct t_config_option *config_completion_partial_completion_alert; diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c index b9ccf1f71..d25ba9834 100644 --- a/src/gui/gui-completion.c +++ b/src/gui/gui-completion.c @@ -337,7 +337,7 @@ gui_completion_list_add (struct t_gui_completion *completion, const char *word, if (nick_completion && (completion->base_word_pos == 0)) { snprintf (buffer, sizeof (buffer), "%s%s", - word, CONFIG_STRING(config_completion_nick_completor)); + word, CONFIG_STRING(config_completion_nick_completer)); weelist_add (completion->completion_list, buffer, where, (nick_completion) ? (void *)1 : (void *)0); } |