doc: add list of variables that can be updated by type of trigger (user guide)
parent
66d11b7e46
commit
51bda896c8
|
@ -3801,21 +3801,27 @@ Variable eines Hashtable darstellt). +
|
|||
Sollte _var_ nicht näher spezifiziert sein, wird die Standard-Variable genutzt,
|
||||
welche abhängig von dem genutzten Hook ist:
|
||||
|
||||
[width="50%",cols="4,5m",options="header"]
|
||||
// TRANSLATION MISSING
|
||||
[width="100%",cols="2,3,7",options="header"]
|
||||
|===
|
||||
| Hook | Standard-Variable
|
||||
| signal | tg_signal_data
|
||||
| hsignal |
|
||||
| modifier | tg_string
|
||||
| line | message
|
||||
| print | tg_message
|
||||
| command | tg_argv_eol1
|
||||
| command_run | tg_command
|
||||
| timer | tg_remaining_calls
|
||||
| config | tg_value
|
||||
| focus |
|
||||
| Hook | Standard-Variable | Update allowed ^(1)^
|
||||
| signal | tg_signal_data |
|
||||
| hsignal | |
|
||||
| modifier | tg_string | tg_string
|
||||
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||
| print | tg_message |
|
||||
| command | tg_argv_eol1 |
|
||||
| command_run | tg_command |
|
||||
| timer | tg_remaining_calls |
|
||||
| config | tg_value |
|
||||
| focus | |
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ All variables can be updated in the trigger, but only these variables
|
||||
have an effect on the value returned by the trigger and used by WeeChat.
|
||||
|
||||
Mehrere reguläre Ausdrücke können durch ein Leerzeichen voneinander
|
||||
getrennt werden, zum Beispiel:
|
||||
"/regex1/replace1/var1 /regex2/replace2/var2".
|
||||
|
|
|
@ -3715,21 +3715,25 @@ variable of the hashtable). +
|
|||
If _var_ is not specified, the default variable is used, it depends on hook
|
||||
type:
|
||||
|
||||
[width="50%",cols="4,5m",options="header"]
|
||||
[width="100%",cols="2,3,7",options="header"]
|
||||
|===
|
||||
| Hook | Default variable
|
||||
| signal | tg_signal_data
|
||||
| hsignal |
|
||||
| modifier | tg_string
|
||||
| line | message
|
||||
| print | tg_message
|
||||
| command | tg_argv_eol1
|
||||
| command_run | tg_command
|
||||
| timer | tg_remaining_calls
|
||||
| config | tg_value
|
||||
| focus |
|
||||
| Hook | Default variable | Update allowed ^(1)^
|
||||
| signal | tg_signal_data |
|
||||
| hsignal | |
|
||||
| modifier | tg_string | tg_string
|
||||
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||
| print | tg_message |
|
||||
| command | tg_argv_eol1 |
|
||||
| command_run | tg_command |
|
||||
| timer | tg_remaining_calls |
|
||||
| config | tg_value |
|
||||
| focus | |
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ All variables can be updated in the trigger, but only these variables
|
||||
have an effect on the value returned by the trigger and used by WeeChat.
|
||||
|
||||
Many regular expressions can be separated by a space, for example:
|
||||
"/regex1/replace1/var1 /regex2/replace2/var2".
|
||||
|
||||
|
|
|
@ -3834,21 +3834,26 @@ une variable de la table de hachage). +
|
|||
Si _var_ n'est pas spécifiée, la variable par défaut est utilisée, elle dépend
|
||||
du type de hook :
|
||||
|
||||
[width="50%",cols="4,5m",options="header"]
|
||||
[width="100%",cols="2,3,7",options="header"]
|
||||
|===
|
||||
| Hook | Variable par défaut
|
||||
| signal | tg_signal_data
|
||||
| hsignal |
|
||||
| modifier | tg_string
|
||||
| line | message
|
||||
| print | tg_message
|
||||
| command | tg_argv_eol1
|
||||
| command_run | tg_command
|
||||
| timer | tg_remaining_calls
|
||||
| config | tg_value
|
||||
| focus |
|
||||
| Hook | Variable par défaut | Mise à jour autorisée ^(1)^
|
||||
| signal | tg_signal_data |
|
||||
| hsignal | |
|
||||
| modifier | tg_string | tg_string
|
||||
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||
| print | tg_message |
|
||||
| command | tg_argv_eol1 |
|
||||
| command_run | tg_command |
|
||||
| timer | tg_remaining_calls |
|
||||
| config | tg_value |
|
||||
| focus | |
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ Toutes les variables peuvent être mises à jour dans le trigger, mais
|
||||
seulement ces variables ont un effet sur la valeur retournée par le trigger
|
||||
et utilisée par WeeChat.
|
||||
|
||||
Plusieurs expressions régulières peuvent être séparées par un espace, par
|
||||
exemple : "/regex1/remplacement1/var1 /regex2/remplacement2/var2".
|
||||
|
||||
|
|
|
@ -3975,21 +3975,25 @@ variable of the hashtable). +
|
|||
If _var_ is not specified, the default variable is used, it depends on hook
|
||||
type:
|
||||
|
||||
[width="50%",cols="4,5m",options="header"]
|
||||
[width="100%",cols="2,3,7",options="header"]
|
||||
|===
|
||||
| Hook | Default variable
|
||||
| signal | tg_signal_data
|
||||
| hsignal |
|
||||
| modifier | tg_string
|
||||
| line | message
|
||||
| print | tg_message
|
||||
| command | tg_argv_eol1
|
||||
| command_run | tg_command
|
||||
| timer | tg_remaining_calls
|
||||
| config | tg_value
|
||||
| focus |
|
||||
| Hook | Default variable | Update allowed ^(1)^
|
||||
| signal | tg_signal_data |
|
||||
| hsignal | |
|
||||
| modifier | tg_string | tg_string
|
||||
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||
| print | tg_message |
|
||||
| command | tg_argv_eol1 |
|
||||
| command_run | tg_command |
|
||||
| timer | tg_remaining_calls |
|
||||
| config | tg_value |
|
||||
| focus | |
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ All variables can be updated in the trigger, but only these variables
|
||||
have an effect on the value returned by the trigger and used by WeeChat.
|
||||
|
||||
Many regular expressions can be separated by a space, for example:
|
||||
"/regex1/replace1/var1 /regex2/replace2/var2".
|
||||
|
||||
|
|
|
@ -3711,21 +3711,27 @@ _var_ はハッシュテーブルの変数)。 +
|
|||
_var_
|
||||
が指定されなかった場合、デフォルト変数を使います、これはフックの種類に依存します:
|
||||
|
||||
[width="50%",cols="4,5m",options="header"]
|
||||
// TRANSLATION MISSING
|
||||
[width="100%",cols="2,3,7",options="header"]
|
||||
|===
|
||||
| フック | デフォルト変数
|
||||
| signal | tg_signal_data
|
||||
| hsignal |
|
||||
| modifier | tg_string
|
||||
| line | message
|
||||
| print | tg_message
|
||||
| command | tg_argv_eol1
|
||||
| command_run | tg_command
|
||||
| timer | tg_remaining_calls
|
||||
| config | tg_value
|
||||
| focus |
|
||||
| フック | デフォルト変数 | Update allowed ^(1)^
|
||||
| signal | tg_signal_data |
|
||||
| hsignal | |
|
||||
| modifier | tg_string | tg_string
|
||||
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||
| print | tg_message |
|
||||
| command | tg_argv_eol1 |
|
||||
| command_run | tg_command |
|
||||
| timer | tg_remaining_calls |
|
||||
| config | tg_value |
|
||||
| focus | |
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ All variables can be updated in the trigger, but only these variables
|
||||
have an effect on the value returned by the trigger and used by WeeChat.
|
||||
|
||||
複数の正規表現を使う場合は空白で区切ってください、例:
|
||||
"/regex1/replace1/var1 /regex2/replace2/var2"。
|
||||
|
||||
|
|
|
@ -3745,21 +3745,27 @@ zmienna tablicy hashy). +
|
|||
Jeśli _zmienna_ nie zostanie podana, użyta zostanie domyślna zmienna, zależy ona
|
||||
od typu uchwytu:
|
||||
|
||||
[width="50%",cols="4,5m",options="header"]
|
||||
// TRANSLATION MISSING
|
||||
[width="100%",cols="2,3,7",options="header"]
|
||||
|===
|
||||
| Uchwyt | Domyślna zmienna
|
||||
| signal | tg_signal_data
|
||||
| hsignal |
|
||||
| modifier | tg_string
|
||||
| line | message
|
||||
| print | tg_message
|
||||
| command | tg_argv_eol1
|
||||
| command_run | tg_command
|
||||
| timer | tg_remaining_calls
|
||||
| config | tg_value
|
||||
| focus |
|
||||
| Uchwyt | Domyślna zmienna | Update allowed ^(1)^
|
||||
| signal | tg_signal_data |
|
||||
| hsignal | |
|
||||
| modifier | tg_string | tg_string
|
||||
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||
| print | tg_message |
|
||||
| command | tg_argv_eol1 |
|
||||
| command_run | tg_command |
|
||||
| timer | tg_remaining_calls |
|
||||
| config | tg_value |
|
||||
| focus | |
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ All variables can be updated in the trigger, but only these variables
|
||||
have an effect on the value returned by the trigger and used by WeeChat.
|
||||
|
||||
Wiele wyrażeń może być oddzielonych spacją, na przykład:
|
||||
"/regex1/zamień1/zmienna1 /regex2/zamień2/zmienna2".
|
||||
|
||||
|
|
Loading…
Reference in New Issue