diff options
Diffstat (limited to 'doc/ja/autogen/user/weechat_commands.adoc')
-rw-r--r-- | doc/ja/autogen/user/weechat_commands.adoc | 136 |
1 files changed, 68 insertions, 68 deletions
diff --git a/doc/ja/autogen/user/weechat_commands.adoc b/doc/ja/autogen/user/weechat_commands.adoc index b3ca450cf..7a2a2d04a 100644 --- a/doc/ja/autogen/user/weechat_commands.adoc +++ b/doc/ja/autogen/user/weechat_commands.adoc @@ -355,58 +355,58 @@ hdata と変数の名前については、"プラグイン API リファレン rename <name> <new_name> del <name>|-all - list: list all filters - enable: enable filters (filters are enabled by default) - disable: disable filters - toggle: toggle filters - name: filter name ("@" = enable/disable all filters in current buffer) - add: add a filter -addreplace: add or replace an existing filter - rename: rename a filter - del: delete a filter - -all: delete all filters - buffer: comma separated list of buffers where filter is active: - - this is full name including plugin (example: "irc.freenode.#weechat" or "irc.server.freenode") - - "*" means all buffers - - a name starting with '!' is excluded - - wildcard "*" is allowed - tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" - - logical "and": use "+" between tags (for example: "nick_toto+irc_action") - - wildcard "*" is allowed - - if tag starts with '!', then it is excluded and must NOT be in message - regex: POSIX extended regular expression to search in line - - use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' - - if regex starts with '!', then matching result is reversed (use '\!' to start with '!') - - two regular expressions are created: one for prefix and one for message - - regex are case insensitive, they can start by "(?-i)" to become case sensitive - -The default key alt+'=' toggles filtering on/off globally and alt+'-' toggles filtering on/off in the current buffer. - -Tags most commonly used: - no_filter, no_highlight, no_log, log0..log9 (log level), - notify_none, notify_message, notify_private, notify_highlight, - self_msg, nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick), - host_xxx (xxx is username + host in message), - irc_xxx (xxx is command name or number, see /server raw or /debug tags), - irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info. -To see tags for lines in buffers: /debug tags - -Examples: - use IRC smart filter on all buffers: + list: 全てのフィルタをリストアップ + enable: フィルタを有効化 (フィルタはデフォルトで有効になっています) + disable: フィルタを無効化 + toggle: フィルタの有効無効を切り替え + name: フィルタの名前 ("@" = 現在のバッファに設定されている全てのフィルタを有効化/無効化) + add: フィルタを追加 +addreplace: 既存のフィルタに追加もしくは置換 + rename: フィルタをリネーム + del: フィルタを削除 + -all: 全てのフィルタを削除 + buffer: フィルタが有効化されているバッファのコンマ区切りリスト: + - これはプラグイン名を含む完全な名前です (例: "irc.freenode.#weechat" または "irc.server.freenode") + - "*" は全てのバッファを意味します + - 名前が '!' から始まるものは除外されます + - ワイルドカード "*" を使うことができます + tags: タグのコンマ区切りリスト、例えば "irc_join,irc_part,irc_quit" + - 論理積 "and": タグ同士を "+" でつなげてください (例: "nick_toto+irc_action") + - ワイルドカード "*" を使うことができます + - タグを '!' で始めると、そのタグが付けられたメッセージとそのタグを含むメッセージはフィルタされません + regex: 行単位検索の正規表現 + - '\t' を使うと、プレフィックスをメッセージから分離できます。'|' 等の特別な文字は '\|' のようにエスケープしなければいけません + - 正規表現の最初に '!' が含まれる場合は、マッチ結果が反転されます (最初の '!' にマッチさせたければ、'\!' を使ってください) + - 2 種類の正規表現があります: 一方はプレフィックス用、他方はメッセージ用 + - 正規表現は大文字小文字を区別しません、"(?-i)" から始まる場合は区別します + +デフォルトではキー alt+'=' ですべてのバッファについてフィルタリングの on/off を切り替えられます。現在のバッファに限りフィルタリングを切り替えるには alt+'-' を使います。 + +よく使われるタグ: + no_filter、no_highlight、no_log、log0..log9 (ログレベル)、 + notify_none、notify_message、notify_private、notify_highlight、 + self_msg、nick_xxx (xxx はメッセージのニックネーム部分)、prefix_nick_ccc (ccc はニックネームの色)、 + host_xxx (xxx はメッセージのユーザ名 + ホスト名部分)、 + irc_xxx (xxx はコマンド名または番号、/server raw または /debug tags で確認)、 + irc_numeric、irc_error、irc_action、irc_ctcp、irc_ctcp_reply、irc_smart_filter、away_info。 +バッファ内でタグを見るには: /debug tags + +例: + 全てのバッファで IRC スマートフィルタを使用: /filter add irc_smart * irc_smart_filter * - use IRC smart filter on all buffers except those with "#weechat" in name: + 名前に "#weechat" を含むバッファを除いた全てのバッファで IRC スマートフィルタを使用: /filter add irc_smart *,!*#weechat* irc_smart_filter * - filter all IRC join/part/quit messages: + 全ての IRC join/part/quit メッセージをフィルタ: /filter add joinquit * irc_join,irc_part,irc_quit * - filter nicks displayed when joining channels or with /names: + チャンネルに入った時や /names で表示されるニックネームをフィルタ: /filter add nicks * irc_366 * - filter nick "toto" on IRC channel #weechat: + IRC チャンネル #weechat で "toto" を含むニックネームをフィルタ: /filter add toto irc.freenode.#weechat nick_toto * - filter IRC join/action messages from nick "toto": + ニックネーム "toto" からの IRC の参加/アクションメッセージをフィルタ: /filter add toto * nick_toto+irc_join,nick_toto+irc_action * - filter lines containing "weechat sucks" on IRC channel #weechat: + IRC チャンネル #weechat で "weechat sucks" を含む行をフィルタ: /filter add sucks irc.freenode.#weechat * weechat sucks - filter lines that are strictly equal to "WeeChat sucks" on all buffers: + すべてのバッファで "WeeChat sucks" と完全に一致する行をフィルタ: /filter add sucks2 * * (?-i)^WeeChat sucks$ ---- @@ -757,19 +757,19 @@ file: リロードする設定ファイル (拡張子 ".conf" は不要) ---- /repeat [-interval <delay>[<unit>]] <count> <command> - delay: delay between execution of commands - unit: optional, values are: - ms: milliseconds - s: seconds (default) - m: minutes - h: hours - count: number of times to execute command -command: command to execute (or text to send to buffer if command does not start with '/') + delay: コマンドの実行間隔 + unit: 任意、以下の値を使ってください: + ms: ミリ秒 + s: 秒 (デフォルト) + m: 分 + h: 時間 + count: コマンドの実行回数 +command: 実行するコマンド (最初に '/' が無い場合はバッファに送信するテキストと解釈されます) -Note: the command is executed on buffer where /repeat was executed (if the buffer does not exist any more, the command is not executed). +注意: コマンドは /repeat を実行したバッファで実行されます (バッファが存在しない場合、コマンドは実行されません)。 -Example: - scroll 2 pages up: +例: + 2 ページ分上方向にスクロール: /repeat 2 /window page_up ---- @@ -944,22 +944,22 @@ path_to_binary: WeeChat バイナリへのパス (デフォルトは現在のバ ---- /wait <number>[<unit>] <command> - number: amount of time to wait (integer number) - unit: optional, values are: - ms: milliseconds - s: seconds (default) - m: minutes - h: hours -command: command to execute (or text to send to buffer if command does not start with '/') + number: 遅延時間 (整数) + unit: 任意、値は: + ms: ミリ秒 + s: 秒 (デフォルト) + m: 分 + h: 時 +command: 実行するコマンド (コマンドが '/' で始まらない場合はバッファに送信するテキスト) -Note: the command is executed on buffer where /wait was executed (if the buffer does not exist any more, the command is not executed). +注意: コマンドは /wait が実行されたバッファで実行されます (バッファが見つからない場合 (例えばコマンド実行前にバッファが閉じられた場合) は、コマンドは WeeChat コアバッファで実行されます)。 -Examples: - join channel in 10 seconds: +例: + 10 秒後にチャンネルに入る: /wait 10 /join #test - set away in 15 minutes: + 15 分後に離席状態に変更: /wait 15m /away -all I'm away - say 'hello' in 2 minutes: + 2 分後に 'hello' と発言: /wait 2m hello ---- |