From 51bda896c8ec4c8b424ba731944758bbae9e5855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 15 Aug 2018 09:07:01 +0200 Subject: doc: add list of variables that can be updated by type of trigger (user guide) --- doc/ja/weechat_user.ja.adoc | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'doc/ja') diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index 33ab29be8..200bdf378 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -3711,21 +3711,27 @@ _var_ はハッシュテーブルの変数)。 + _var_ が指定されなかった場合、デフォルト変数を使います、これはフックの種類に依存します: -[width="50%",cols="4,5m",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 | +// TRANSLATION MISSING +[width="100%",cols="2,3,7",options="header"] +|=== +| フック | デフォルト変数 | 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"。 -- cgit v1.2.3