doc: add value -1 for notify level in function hook_line (plugin API reference)

v2.8-utf8proc
Sébastien Helleu 2019-10-10 18:39:31 +02:00
parent dc9964ccc6
commit 1dda5ffd02
4 changed files with 10 additions and 4 deletions

View File

@ -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. +

View File

@ -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. +

View File

@ -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. +

View File

@ -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` の値も更新されます。 +