From d6ffe1857bd37f4713f75760d2df7e7539ae36d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 31 May 2024 12:24:33 +0200 Subject: [PATCH] doc/api: fix typo in function string_cut --- doc/en/weechat_plugin_api.en.adoc | 2 +- doc/it/weechat_plugin_api.it.adoc | 2 +- doc/ja/weechat_plugin_api.ja.adoc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 1447ae762..bf634c34e 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -636,7 +636,7 @@ Arguments: * _string_: string to cut * _length_: max chars -* _count_suffix_: if 1, the length of suffix is counter in the max length +* _count_suffix_: if 1, the length of suffix is counted in the max length * _screen_: if 1, the cut is based on width of chars displayed * _cut_suffix_: the suffix added after the string if it is cut diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 9bc4ff5cd..da0e30a3c 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -676,7 +676,7 @@ Argomenti: * _string_: string to cut * _length_: max chars -* _count_suffix_: if 1, the length of suffix is counter in the max length +* _count_suffix_: if 1, the length of suffix is counted in the max length * _screen_: if 1, the cut is based on width of chars displayed * _cut_suffix_: the suffix added after the string if it is cut diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 2a76d59ea..2490d8952 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -654,7 +654,7 @@ char *weechat_string_cut (const char *string, int length, int count_suffix, int * _string_: string to cut * _length_: max chars -* _count_suffix_: if 1, the length of suffix is counter in the max length +* _count_suffix_: if 1, the length of suffix is counted in the max length * _screen_: if 1, the cut is based on width of chars displayed * _cut_suffix_: the suffix added after the string if it is cut