1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

doc: update Japanese auto-generated files

This commit is contained in:
Sébastien Helleu
2016-08-22 08:24:56 +02:00
parent 3278b2f57e
commit aecfbebcdc
4 changed files with 151 additions and 151 deletions
+1 -1
View File
@@ -102,7 +102,7 @@
| trigger | trigger_options | トリガに対するオプション
| trigger | trigger_post_action | trigger post actions
| trigger | trigger_post_action | トリガ実行後の処遇
| weechat | bars_names | バーの名前
+55 -55
View File
@@ -20,66 +20,66 @@
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, print, command, command_run, timer, config, focus
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)
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)
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: signalhsignalmodifierprintcommandcommand_runtimerconfigfocus
arguments: フックの引数、フックの種類に依存 (セミコロンで区切る):
signal: シグナルの名前 (必須)
hsignal: hsignal の名前 (必須)
modifier: modifier の名前 (必須)
print: バッファ、タグ、メッセージ、色の削除
command: コマンド (必須)、説明、引数、引数の説明、補完
command_run: コマンド (必須)
timer: インターバル (必須)、秒の調節、最大呼び出し回数
config: オプションの名前 (必須)
focus: エリアの名前 (必須)
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 modifiers and focus)
5. perform post action
トリガコールバックを呼び出す際には、以下の順番通りにアクションを実行します:
1. 条件を確認; 偽の場合、終了
2. POSIX 拡張正規表現を使ってテキストを置換 (トリガに定義されている場合)
3. コマンドを実行 (トリガに定義されている場合)
4. リターンコードを返して終了 (modifier focus を除く)
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}" "==\*(\S+)\*==*${color:bold}${re:1}${color:-bold}*== ==_(\S+)_==_${color:underline}${re:1}${color:-underline}_== ==/(\S+)/==/${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*
----
+1 -1
View File
@@ -13,7 +13,7 @@
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `+yellow+`)
* [[option_trigger.color.flag_post_action]] *trigger.color.flag_post_action*
** 説明: pass:none[text color for post action flag (in /trigger list)]
** 説明: pass:none[実行後処遇フラグに対するテキスト色 (/trigger list)]
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `+lightblue+`)
+94 -94
View File
@@ -85,59 +85,59 @@ message: 離席メッセージ (メッセージが無い場合は、離席状態
get <property>
<number>|-|+|<name>
list: list buffers (without argument, this list is displayed)
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1); "-" = move to first buffer number, "+" = move to last buffer number + 1
swap: swap two buffers (swap with current buffer if only one number/name given)
cycle: jump loop between a list of buffers
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
hide: hide the buffer
unhide: unhide the buffer
renumber: renumber buffers (works only if option weechat.look.buffer_auto_renumber is off)
close: close buffer (number/range or name is optional)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
-: jump to first buffer number
+: jump to last buffer number
name: jump to buffer by (partial) name
list: バッファをリストアップ (引数無しの場合、このリストが表示されます)
clear: バッファの内容を削除 (number はバッファ番号、マージバッファに対しては -merged、全てのバッファに対しては -all、何も無ければ現在のバッファ)
move: リストにバッファを移動 (相対指定も可能、例えば -1); "-" = 最初のバッファ番号に移動、"+" = 最後のバッファ番号 + 1 に移動
swap: 2 つのバッファを入れ替え (現在のバッファと引数で与えた番号/名称で指定されるバッファを入れ替える)
cycle: 指定したバッファ間でバッファを循環させる
merge: 現在のバッファを他のバッファにマージ (2 つのバッファのチャットエリアが一緒になります)
(デフォルトでは ctrl-x でマージバッファの切り替え)
unmerge: 同じ番号を持つ他のバッファとのマージを解除
hide: バッファを隠す
unhide: バッファを隠すことを止める
renumber: バッファを記憶 (weechat.look.buffer_auto_renumber オプションがオフの場合にのみ有効)
close: バッファを閉じる (番号/範囲または名前は任意)
notify: 現在のバッファの通知レベルを設定: このレベルでバッファがホットリストに追加されるかどうかを定義します:
none: 通知しない
highlight: ハイライトがあった場合のみ通知
message: ユーザからのメッセージとハイライトがあった場合に通知
all: 全てのメッセージを通知
reset: デフォルトの値 (all) にリセット
localvar: 現在のバッファのローカル変数を表示
set: 現在のバッファのプロパティを設定
get: 現在のバッファのプロパティを表示
number: 番号でバッファ移動、可能なプレフィックス:
'+': 相対移動、現在の番号に数を足す
'-': 相対移動、現在の番号から数を引く
'*': 番号に移動、オプション "weechat.look.jump_current_to_previous_buffer" が使われる
-: 最初のバッファ番号に移動
+: 最後のバッファ番号に移動
name: バッファ名 (一部) でバッファに移動
Examples:
clear current buffer:
:
現在のバッファの内容を消去:
/buffer clear
move buffer to number 5:
バッファを 5 番に移動:
/buffer move 5
swap buffer 1 with 3:
バッファ 1 番と 3 番を入れ替え:
/buffer swap 1 3
swap buffer #weechat with current buffer:
現在のバッファと #weechat バッファを入れ替え:
/buffer swap #weechat
jump on #chan1, #chan2, #chan3 and loop:
#chan1#chan2#chan3 に移動してそれを繰り返す:
/buffer cycle #chan1 #chan2 #chan3
merge with core buffer:
コアバッファとマージ:
/buffer merge 1
unmerge buffer:
バッファマージの解除:
/buffer unmerge
close current buffer:
現在のバッファを閉じる:
/buffer close
close buffers 5 to 7:
バッファ番号 5 から 7 を閉じる:
/buffer close 5-7
jump to #weechat:
#weechat バッファに移動:
/buffer #weechat
jump to next buffer:
次のバッファに移動:
/buffer +1
jump to last buffer number:
最後のバッファ番号に移動:
/buffer +
----
@@ -418,60 +418,60 @@ value: 表示する履歴エントリの数
----
/input <action> [<arguments>]
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text_here: search text in buffer at current position
search_text: search text in buffer
search_switch_case: switch exact case for search
search_switch_regex: switch search type: string/regular expression
search_switch_where: switch search in messages/prefixes
search_previous: search previous line
search_next: search next line
search_stop_here: stop search at current position
search_stop: stop search
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer)
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist (optional argument: "lowest" to clear only lowest level in hotlist, "highest" to clear only highest level in hotlist, or level mask: integer which is a combination of 1=join/part, 2=message, 4=private, 8=highlight)
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
grab_mouse: grab mouse event code
grab_mouse_area: grab mouse event code with area
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
zoom_merged_buffer: zoom on merged buffer
insert: insert text in command line (escaped chars are allowed, see /help print)
send: send text to the buffer
paste_start: start paste (bracketed paste mode)
paste_stop: stop paste (bracketed paste mode)
アクションリスト:
return: "enter" キーをシミュレート
complete_next: 次の補完候補で単語を補完
complete_previous: 一つ前の補完候補で単語を補完
search_text_here: 現在の位置でテキストを検索
search_text: バッファ内のテキストを検索
search_switch_case: 完全一致検索に変更
search_switch_regex: 検索タイプの切り替え: 文字列/正規表現
search_switch_where: 検索範囲の切り替え: メッセージ/プレフィックス
search_previous: 一つ前の行を検索
search_next: 次の行を検索
search_stop_here: 現在の位置で検索を終了
search_stop: 検索を終了
delete_previous_char: 一つ前の文字を削除
delete_next_char: 次の文字を削除
delete_previous_word: 一つ前の単語を削除
delete_next_word: 次の単語を削除
delete_beginning_of_line: 行の最初からカーソル位置までを削除
delete_end_of_line: カーソルから行の最後までを削除
delete_line: 行を削除
clipboard_paste: クリップボードからペースト
transpose_chars: 2 つの文字を入れ替え
undo: 最新のコマンドラインアクションまで元に戻す
redo: 最新のコマンドラインアクションまでやり直す
move_beginning_of_line: カーソルを行頭に移動
move_end_of_line: カーソルを行末まで移動
move_previous_char: カーソルを一つ前の文字に移動
move_next_char: カーソルを次の文字に移動
move_previous_word: カーソルを一つ前の単語に移動
move_next_word: カーソルを次の単語に移動
history_previous: 現在のバッファ履歴のひとつ前のコマンドを再呼び出し
history_next: 現在のバッファ履歴の次のコマンドを再呼び出し
history_global_previous: グローバル履歴の一つ前のコマンドを再呼び出し
history_global_next: グローバル履歴の次のコマンドを再呼び出し
jump_smart: 次のアクティブバッファに飛ぶ
jump_last_buffer_displayed: 表示されている最後のバッファに移動 (最新のバッファ移動の一つ前に表示されていたバッファ)
jump_previously_visited_buffer: 一つ前に訪れたバッファに移動
jump_next_visited_buffer: 次に訪れたバッファに移動
hotlist_clear: ホットリストを消去 (オプション引数: "lowest" はホットリスト内の最も低いレベルだけを消去。"highest" はホットリスト内の最も高いレベルだけを消去。レベルマスクは 1 (参加/退出)、2 (メッセージ)、4 (プライベートメッセージ)、8 (ハイライト) を合計した整数値で指定したレベルを消去)
grab_key: キーを横取り (任意引数: 最後の横取りからの遅延時間、デフォルトは 500 ミリ秒)
grab_key_command: あるコマンドに関連してキーを横取り (任意引数: 最後の横取りからの遅延時間、デフォルトは 500 ミリ秒)
grab_mouse: grab マウスイベントコードを横取り
grab_mouse_area: 範囲指定のマウスイベントコードを横取り
set_unread: 全てのバッファに対して未読マーカーを設定
set_unread_current_buffer: 現在のバッファに対して未読マーカーを設定
switch_active_buffer: 次のマージされたバッファに移動
switch_active_buffer_previous: 一つ前のマージされたバッファに移動
zoom_merged_buffer: マージされたバッファにズーム
insert: コマンドラインにテキストを挿入 (エスケープ文字も可、/help print を参照)
send: バッファにテキストを送信
paste_start: ペーストの開始 (括弧付きペーストモード)
paste_stop: ペーストの終了 (括弧付きペーストモード)
This command is used by key bindings or plugins.
これらのコマンドはキーバインドかプラグインで利用できます。
----
[[command_weechat_key]]