From 1dda5ffd02fcec3a11027c45fbc05e5408024669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 10 Oct 2019 18:39:31 +0200 Subject: [PATCH] doc: add value -1 for notify level in function hook_line (plugin API reference) --- doc/en/weechat_plugin_api.en.adoc | 3 ++- doc/fr/weechat_plugin_api.fr.adoc | 3 ++- doc/it/weechat_plugin_api.it.adoc | 4 +++- doc/ja/weechat_plugin_api.ja.adoc | 4 +++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 622058f23..0c418a58f 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -9494,6 +9494,7 @@ Line data sent to the callback is a hashtable, with following values `+1+` | notify_level | + "-1" = no notify + "0" = low level + "1" = message + "2" = private message + @@ -9573,7 +9574,7 @@ in this hashtable): The values of `notify_level` and `highlight` are updated accordingly. | notify_level | - Integer ("0" to "3"). | + Integer ("-1" to "3"). | N/A. | The notify level is set to this value. The hotlist will be updated accordingly once the line is added in the buffer. + diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 193ec1b3b..8dce13fba 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -9683,6 +9683,7 @@ de hachage, avec les valeurs suivantes (les clés et valeurs sont des chaînes) `+1+` | notify_level | + "-1" = pas de notification + "0" = niveau bas + "1" = message + "2" = message privé + @@ -9766,7 +9767,7 @@ valeurs sont des chaînes dans cette table de hachage) : Les valeurs de `notify_level` et `highlight` sont mises à jour en conséquence. | notify_level | - Entier ("0" à "3"). | + Entier ("-1" à "3"). | N/A. | Le niveau de notification est positionné à cette valeur. La hotlist sera mise à jour en conséquence une fois que la ligne sera ajoutée dans la tampon. + diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 3d7f76a45..d97593917 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -9675,6 +9675,7 @@ hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "", "my_connect_cb", "") ---- +// TRANSLATION MISSING ==== hook_line _WeeChat ≥ 2.3._ @@ -9803,6 +9804,7 @@ Line data sent to the callback is a hashtable, with following values `+1+` | notify_level | + "-1" = no notify + "0" = low level + "1" = message + "2" = private message + @@ -9882,7 +9884,7 @@ in this hashtable): The values of `notify_level` and `highlight` are updated accordingly. | notify_level | - Integer ("0" to "3"). | + Integer ("-1" to "3"). | N/A. | The notify level is set to this value. The hotlist will be updated accordingly once the line is added in the buffer. + diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index c04b26c3c..44ce35ddb 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -9467,7 +9467,9 @@ struct t_hook *weechat_hook_line (const char *buffer_type, `+0+` + `+1+` +// TRANSLATION MISSING | notify_level | + "-1" = no notify + "0" = 低レベル + "1" = メッセージ + "2" = プライベートメッセージ + @@ -9547,7 +9549,7 @@ WeeChat はそれらを無視します。 これに対応して `notify_level` と `highlight` も更新されます。 | notify_level | - 整数 ("0" から "3") | + 整数 ("-1" から "3") | 利用不可 | 通知レベルがこの値に設定されます。バッファに行が追加されるとホットリストも更新されます。 + この値に対応して `highlight` の値も更新されます。 +