summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-21 20:47:29 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:14:06 +0100
commitc724032a220790cd3a62154e8b482ff08af21abc (patch)
treedefbd351d2f46f9aa64d89c63eff1b769123a681 /doc/it
parent2ee65dd1ff359404b307f1452ef0610169dfb336 (diff)
downloadweechat-c724032a220790cd3a62154e8b482ff08af21abc.zip
core: make function gui_buffer_match_list case sensitive (issue #1872)
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_plugin_api.it.adoc11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index ae329ed0b..a81eaadc2 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -14751,7 +14751,8 @@ str = weechat.buffer_string_replace_local_var(my_buffer, "test with $toto")
==== buffer_match_list
-_WeeChat ≥ 0.3.5._
+// TRANSLATION MISSING
+_WeeChat ≥ 0.3.5, updated in 3.9._
Verifica se il buffer corrisponde ad una lista di buffer.
@@ -14771,6 +14772,10 @@ Argomenti:
// TRANSLATION MISSING
** wildcard `+*+` is allowed in name
+// TRANSLATION MISSING
+[NOTE]
+Since version 3.9, comparison of buffer names is case sensitive.
+
Valore restituito:
* 1 se il buffer coincide con la lista, altrimenti 0
@@ -14784,7 +14789,7 @@ if (buffer)
{
weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "*")); /* 1 */
weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "*,!*#weechat*")); /* 0 */
- weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "irc.libera.*")); /* 1 */
+ weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "irc.libera.*")); /* 1 */
weechat_printf (NULL, "%d", weechat_buffer_match_list (buffer, "irc.oftc.*,python.*")); /* 0 */
}
----
@@ -14801,7 +14806,7 @@ buffer = weechat.buffer_search("irc", "libera.#weechat")
if buffer:
weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "*")) # 1
weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "*,!*#weechat*")) # 0
- weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "irc.libera.*")) # 1
+ weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "irc.libera.*")) # 1
weechat.prnt("", "%d" % weechat.buffer_match_list(buffer, "irc.oftc.*,python.*")) # 0
----