From 1ab62e37cb5bfb774b064a44818cce00259009b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 10 Mar 2024 09:31:32 +0100 Subject: api: add modifier "color_decode" to decode WeeChat colors with a replacement string --- doc/it/weechat_plugin_api.it.adoc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/it/weechat_plugin_api.it.adoc') diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index a0058a13e..f18010656 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -13883,6 +13883,13 @@ List of modifiers defined by WeeChat and plugins that can be used: | String with IRC tag value unescaped, see https://ircv3.net/specs/extensions/message-tags#escaping-values[this page ^↗^^]. +// TRANSLATION MISSING +| [[hook_modifier_color_decode]] color_decode | 4.3.0 +| Replacement string for colors removed +| Any string. +| String with WeeChat colors converted to a replacement string + (colors stripped if the replacement string is empty). + // TRANSLATION MISSING | [[hook_modifier_color_decode_ansi]] color_decode_ansi | 1.0 | "1" per mantenere i colori, "0" per rimuovere i colori -- cgit v1.2.3