diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-22 19:47:07 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-02-23 08:21:49 +0100 |
commit | e02ee703f0017f956a3727a6bd9b515e293689ce (patch) | |
tree | cace61c81a318397645187de692bfa3b9f276918 | |
parent | 27331dec5e10579316be39e973218047e39eef5b (diff) | |
download | weechat-e02ee703f0017f956a3727a6bd9b515e293689ce.zip |
docs: fix some typos in documentation and comments
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 14 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 14 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 14 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 14 | ||||
-rw-r--r-- | doc/sr/weechat_plugin_api.sr.adoc | 14 | ||||
-rw-r--r-- | src/core/wee-string.c | 2 | ||||
-rw-r--r-- | src/plugins/buflist/buflist-bar-item.c | 2 |
7 files changed, 37 insertions, 37 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index dffbd2199..cffb5da1e 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -15266,13 +15266,13 @@ Prototype: [source,c] ---- -struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, - struct t_gui_nick_group *group, - const char *name, - const char *color, - const char *prefix, - const char *prefix_color, - int visible); +struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, + struct t_gui_nick_group *group, + const char *name, + const char *color, + const char *prefix, + const char *prefix_color, + int visible); ---- Arguments: diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 6b3581d78..0fcbcd861 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -15606,13 +15606,13 @@ Prototype : [source,c] ---- -struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, - struct t_gui_nick_group *group, - const char *name, - const char *color, - const char *prefix, - const char *prefix_color, - int visible); +struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, + struct t_gui_nick_group *group, + const char *name, + const char *color, + const char *prefix, + const char *prefix_color, + int visible); ---- Paramètres : diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index fa3ad3c01..7cbbaf894 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -15997,13 +15997,13 @@ Prototipo: [source,c] ---- -struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, - struct t_gui_nick_group *group, - const char *name, - const char *color, - const char *prefix, - const char *prefix_color, - int visible); +struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, + struct t_gui_nick_group *group, + const char *name, + const char *color, + const char *prefix, + const char *prefix_color, + int visible); ---- Argomenti: diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index ecbe94539..c1c367c88 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -15490,13 +15490,13 @@ group = weechat.nicklist_search_group(my_buffer, "", "test_group") [source,c] ---- -struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, - struct t_gui_nick_group *group, - const char *name, - const char *color, - const char *prefix, - const char *prefix_color, - int visible); +struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, + struct t_gui_nick_group *group, + const char *name, + const char *color, + const char *prefix, + const char *prefix_color, + int visible); ---- 引数: diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index b478efbf5..0fcc8169b 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -14791,13 +14791,13 @@ group = weechat.nicklist_search_group(my_buffer, "", "test_group") [source,c] ---- -struct t_gui_nick_group *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, - struct t_gui_nick_group *group, - const char *name, - const char *color, - const char *prefix, - const char *prefix_color, - int visible); +struct t_gui_nick *weechat_nicklist_add_nick (struct t_gui_buffer *buffer, + struct t_gui_nick_group *group, + const char *name, + const char *color, + const char *prefix, + const char *prefix_color, + int visible); ---- Аргументи: diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 72a826502..60457d516 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -2244,7 +2244,7 @@ string_translate_chars (const char *string, * num_items: if not NULL, the variable is set with the number of items * returned * shared: 1 if the strings are "shared strings" (created with the function - * string_share_get), otherwise 0 for allocated strings + * string_shared_get), otherwise 0 for allocated strings * * The flags is a combination of flags: * - WEECHAT_STRING_SPLIT_STRIP_LEFT: strip separators on the left diff --git a/src/plugins/buflist/buflist-bar-item.c b/src/plugins/buflist/buflist-bar-item.c index c41b19cbb..b66fba4be 100644 --- a/src/plugins/buflist/buflist-bar-item.c +++ b/src/plugins/buflist/buflist-bar-item.c @@ -298,7 +298,7 @@ buflist_bar_item_auto_scroll (const char *item_name, int line_number) } /* - * Returns content of bar item "buffer_plugin": bar item with buffer plugin. + * Returns the content of the bar item. */ char * |