From b31666cc861c1b602488ea43f6fc66375aee0b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 19 Mar 2023 17:24:07 +0100 Subject: [PATCH] doc/api: fix typo --- doc/en/weechat_plugin_api.en.adoc | 2 +- doc/it/weechat_plugin_api.it.adoc | 2 +- doc/ja/weechat_plugin_api.ja.adoc | 2 +- doc/sr/weechat_plugin_api.sr.adoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index f071b9027..34fcab84e 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -15686,7 +15686,7 @@ Return value: [NOTE] Since version 4.0.0, if the bar already exists, WeeChat sets the values received -as default values for bar options and return the bar pointer instead of NULL. +as default values for bar options and returns the bar pointer instead of NULL. C example: diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 2e8588d74..ae6ccd21f 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -16394,7 +16394,7 @@ Valore restituito: // TRANSLATION MISSING [NOTE] Since version 4.0.0, if the bar already exists, WeeChat sets the values received -as default values for bar options and return the bar pointer instead of NULL. +as default values for bar options and returns the bar pointer instead of NULL. Esempio in C: diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 596844461..0fc72618a 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -15847,7 +15847,7 @@ struct t_gui_bar *weechat_bar_new (const char *name, // TRANSLATION MISSING [NOTE] Since version 4.0.0, if the bar already exists, WeeChat sets the values received -as default values for bar options and return the bar pointer instead of NULL. +as default values for bar options and returns the bar pointer instead of NULL. C 言語での使用例: diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index 84cb709fc..fadafeea6 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -15179,7 +15179,7 @@ struct t_gui_bar *weechat_bar_new (const char *name, // TRANSLATION MISSING [NOTE] Since version 4.0.0, if the bar already exists, WeeChat sets the values received -as default values for bar options and return the bar pointer instead of NULL. +as default values for bar options and returns the bar pointer instead of NULL. C пример: