1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

doc: update Japanese auto-generated files

This commit is contained in:
Sébastien Helleu
2019-04-14 13:21:09 +02:00
parent cb28372dd7
commit cc2a6db335
3 changed files with 62 additions and 62 deletions
+58 -58
View File
@@ -20,69 +20,69 @@
default -yes
monitor [<filter>]
list: list triggers (without argument, this list is displayed)
listfull: list triggers with detailed info for each trigger
listdefault: list default triggers
add: add a trigger
addoff: add a trigger (disabled)
addreplace: add or replace an existing trigger
name: name of trigger
hook: signal, hsignal, modifier, line, print, command, command_run, timer, config, focus, info, info_hashtable
arguments: arguments for the hook, depending on hook (separated by semicolons):
signal: name(s) of signal (required)
hsignal: name(s) of hsignal (required)
modifier: name(s) of modifier (required)
line: buffer type ("formatted", "free" or "*"), list of buffer masks, tags
print: buffer, tags, message, strip colors
command: command (required), description, arguments, description of arguments, completion
command_run: command(s) (required)
timer: interval (required), align on second, max calls
config: name(s) of option (required)
focus: name(s) of area (required)
info: name(s) of info (required)
info_hashtable: name(s) of info (required)
conditions: evaluated conditions for the trigger
regex: one or more regular expressions to replace strings in variables
command: command to execute (many commands can be separated by ";")
return_code: return code in callback (ok (default), ok_eat, error)
post_action: action to take after execution (none (default), disable, delete)
addinput: set input with default arguments to create a trigger
input: set input with the command used to create the trigger
output: send the command to create the trigger on the buffer
recreate: same as "input", with option "addreplace" instead of "add"
set: set an option in a trigger
option: name of option: name, hook, arguments, conditions, regex, command, return_code
(for help on option, you can type: /help trigger.trigger.<name>.<option>)
value: new value for the option
rename: rename a trigger
copy: copy a trigger
enable: enable trigger(s) (without arguments: enable triggers globally)
disable: disable trigger(s) (without arguments: disable triggers globally)
toggle: toggle trigger(s) (without arguments: toggle triggers globally)
restart: restart trigger(s) (recreate the hooks)
show: show detailed info on a trigger (with some stats)
del: delete a trigger
-all: do action on all triggers
restore: restore trigger(s) with the default values (works only for default triggers)
default: delete all triggers and restore default ones
monitor: open the trigger monitor buffer, with optional filter:
filter: filter hooks/triggers to display (a hook must start with "@", for example "@signal"), many filters can be separated by commas; wildcard "*" is allowed in each trigger name
list: トリガをリストアップ (引数なしの場合、このリストを表示します)
listfull: 各トリガに関する詳細な情報を付けてトリガをリストアップ
listdefault: デフォルトトリガをリストアップ
add: トリガを追加
addoff: トリガを追加 (無効状態で)
addreplace: 追加または存在するトリガを置換
name: トリガの名前
hook: signalhsignalmodifierlineprintcommandcommand_runtimerconfigfocusinfoinfo_hashtable
arguments: フックの引数、フックの種類に依存 (セミコロンで区切る):
signal: シグナルの名前 (必須)
hsignal: hsignal の名前 (必須)
modifier: modifier の名前 (必須)
line: バッファ型 ("formatted""free"、"*")、バッファマスクおよびタグのリスト
print: バッファ、タグ、メッセージ、色の削除
command: コマンド (必須)、説明、引数、引数の説明、補完
command_run: コマンド (必須)
timer: インターバル (必須)、秒の調節、最大呼び出し回数
config: オプションの名前 (必須)
focus: エリアの名前 (必須)
info: インフォ名 (必須)
info_hashtable: インフォ名 (必須)
conditions: トリガの実行条件
regex: 変数内の文字列を置換する 1 つ以上の正規表現
command: 実行するコマンド (複数のコマンドは ";" で区切ってください)
return_code: コールバック内のリターンコード (ok (デフォルト)、ok_eaterror)
post_action: トリガ実行後の処遇 (none (デフォルト、何もしない)、disable (無効化)、delete (削除))
addinput: 入力にトリガを作る際のデフォルト引数を設定
input: 入力にトリガを作る際に使われるコマンドを設定
output: バッファでトリガを作る際のコマンドを送信
recreate: "add" の代わりに "addreplace" オプションを使うことを除いて "input" と同じ
set: トリガにオプションを設定
option: オプションの名前: namehookargumentsconditionsregexcommandreturn_code
(オプションに関するヘルプを見るには: /help trigger.trigger.<name>.<option>)
value: オプションの新しい値
rename: トリガの名前を変更
copy: トリガをコピー
enable: トリガを有効化 (引数なしの場合: 大域的にトリガを有効化)
disable: トリガを無効化 (引数なしの場合: 大域的にトリガを無効化)
toggle: トリガの有効無効を切り替え (引数なしの場合: 大域的にトリガの有効無効を切り替え)
restart: トリガの再開 (フックを再作成)
show: トリガに関する情報を表示 (状態を含めて)
del: トリガを削除
-all: 全てのトリガに関するアクションを実行
restore: デフォルトの値でトリガを復元 (これができるのはデフォルトトリガに限ります)
default: 全てのトリガを削除してデフォルトのトリガを復元
monitor: 任意でフィルタを付けてトリガ監視バッファを開く:
filter: フックおよびトリガをフィルタして表示 (フックは必ず "@" で始めてください、たとえば "@signal")、複数のフィルタをかける場合はそれぞれをコンマで区切ってください; 各トリガ名にワイルドカード "*" を使うことができます。
When a trigger callback is called, following actions are performed, in this order:
1. check conditions; if false, exit
2. replace text using POSIX extended regular expression(s) (if defined in trigger)
3. execute command(s) (if defined in trigger)
4. exit with a return code (except for modifier, line, focus, info and info_hashtable)
5. perform post action
トリガコールバックを呼び出す際には、以下の順番通りにアクションを実行します:
1. 条件を確認; 偽の場合、終了
2. POSIX 拡張正規表現を使ってテキストを置換 (トリガに定義されている場合)
3. コマンドを実行 (トリガに定義されている場合)
4. リターンコードを返して終了 (modifierlinefocusinfoinfo_hashtable を除く)
5. トリガ実行後の処遇を適用
Examples (you can also look at default triggers with /trigger listdefault):
add text attributes *bold*, _underline_ and /italic/ (only in user messages):
例 (/trigger listdefault でデフォルトトリガを見ることができます):
テキスト属性 *太字*、_下線_、/イタリック/ を追加 (ユーザメッセージのみ):
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
hide nicklist bar on small terminals:
狭い端末ではニックネームリストバーを隠す:
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
silently save config each hour:
設定を 1 時間毎に黙々と保存:
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
トリガモニタを開き、修飾子と名前が "resize" から始まるトリガだけを表示:
/trigger monitor @modifier,resize*
----
+3 -3
View File
@@ -597,7 +597,7 @@
** デフォルト値: `+"%H:%M:%S"+`
* [[option_weechat.look.buffer_time_same]] *weechat.look.buffer_time_same*
** 説明: pass:none[time displayed for a message with same time as previous message: use a space " " to hide time, another string to display this string instead of time, or an empty string to disable feature (display time) (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval)]
** 説明: pass:none[直前のメッセージと同じ時刻のメッセージに対して表示される時刻: 空白文字 " " の場合は時刻を隠す、これ以外の文字列の場合は時刻の代わりに設定文字列を表示、空文字列の場合はこの機能を無効化 (時刻を表示します) (注意: 設定値は評価されるため、${color:xxx} などを使えます、/help eval を参照してください)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+""+`
@@ -1053,13 +1053,13 @@
** デフォルト値: `+"<--"+`
* [[option_weechat.look.prefix_same_nick]] *weechat.look.prefix_same_nick*
** 説明: pass:none[prefix displayed for a message with same nick as previous but not next message: use a space " " to hide prefix, another string to display this string instead of prefix, or an empty string to disable feature (display prefix)]
** 説明: pass:none[同じニックネームからの連続したメッセージの中で最後のメッセージに前置するプレフィックス: 空白文字 " " の場合はプレフィックスを隠す、これ以外の文字列の場合は設定値をプレフィックスとして用いる、空文字の場合は本機能を使わない (プレフィックスを表示)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+""+`
* [[option_weechat.look.prefix_same_nick_middle]] *weechat.look.prefix_same_nick_middle*
** 説明: pass:none[prefix displayed for a message with same nick as previous and next message: use a space " " to hide prefix, another string to display this string instead of prefix, or an empty string to disable feature (display prefix)]
** 説明: pass:none[同じニックネームからの連続したメッセージの中で最後のメッセージを除くメッセージに前置するプレフィックス: 空白文字 " " の場合はプレフィックスを隠す、これ以外の文字列の場合は設定値をプレフィックスとして用いる、空文字の場合は本機能を使わない (プレフィックスを表示)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+""+`
+1 -1
View File
@@ -165,7 +165,7 @@
** デフォルト値: `+on+`
* [[option_xfer.network.speed_limit_recv]] *xfer.network.speed_limit_recv*
** 説明: pass:none[speed limit for receiving files, in kilo-bytes by second (0 means no limit)]
** 説明: pass:none[ファイル受信の速度制限、1 秒あたりのキロバイトで指定 (0 は制限無し)]
** タイプ: 整数
** 値: 0 .. 2147483647
** デフォルト値: `+0+`