1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 02:33:12 +02:00

doc: update Japanese auto-generated files

This commit is contained in:
Sébastien Helleu
2017-05-02 21:20:46 +02:00
parent cac3546fcb
commit 0537fe0a83
5 changed files with 90 additions and 90 deletions
+22 -22
View File
@@ -8,33 +8,33 @@
----
/buflist refresh
refresh: force the refresh of the "buflist" bar item
refresh: 強制的に "buflist" バー要素の内容を最新の状態に更新します
The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options:
- buflist.look.display_conditions: conditions to display a buffer in the list
- buflist.format.buffer: format for a buffer which is not current buffer
- buflist.format.buffer_current: format for the current buffer
各バッファエントリは文字列評価 (書式は /help eval を参照してください) を使って表示されます、以下のオプションで指定します:
- buflist.look.display_conditions: バッファをリスト内に表示する条件
- buflist.format.buffer: 現在のバッファ以外のバッファを表示する書式
- buflist.format.buffer_current: 現在のバッファを表示する書式
The following variables can be used in these options:
- buffer data (see hdata "buffer" in API doc for a complete list), for example:
以下は上記オプションで使用可能な変数です:
- バッファデータ (完全なリストは API リファレンスの hdata "buffer" を参照してください)、例:
- ${buffer.number}
- ${buffer.name}
- ${buffer.full_name}
- ${buffer.short_name}
- ${buffer.nicklist_nicks_count}
- irc_server: IRC server data, defined only on an IRC buffer (see hdata "irc_server" in API doc)
- irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc)
- extra variables added by buflist for convenience:
- ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example
- ${format_number}: indented number with separator (evaluation of option buflist.format.number)
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers
- ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent)
- ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix)
- ${color_nick_prefix}: color of nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
- ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
- ${name}: the short name (if set), with a fallback on the name
- ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
- ${hotlist}: the raw hotlist
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
- irc_server: IRC サーバデータ、IRC バッファのみで定義 (API リファレンスの hdata "irc_server" を参照してください)
- irc_channel: IRC チャンネルデータ、IRC チャンネルバッファのみで定義 (API リファレンスの hdata "irc_channel" を参照してください)
- buflist プラグインが利便性向上の目的で追加した変数:
- ${format_buffer}: buflist.format.buffer オプションの評価結果; 例えば単に背景色を変えるなどの目的で、この変数を buflist.format.buffer_current オプションの中で使うことも可能です。
- ${format_number}: 区切り文字を付けたインデント済み番号 (buflist.format.number オプションの評価結果)
- ${number}: インデント済み番号、例えば 10 から 99 番のバッファがある場合に " 1"
- ${indent}: 名前用のインデント (チャンネルとプライベートバッファがインデントされます)
- ${format_nick_prefix}: チャンネルにおける色付きニックネームプレフィックス (buflist.format.nick_prefix オプションの評価結果)
- ${color_nick_prefix}: チャンネルにおけるニックネームプレフィックスの色 (buflist.look.nick_prefix オプションが有効化された場合のみ設定されます)
- ${nick_prefix}: チャンネルにおけるニックネームプレフィックス (buflist.look.nick_prefix オプションが有効化された場合のみ設定されます)
- ${name}: 短縮名 (設定済みの場合)、未設定の場合には名前
- ${color_hotlist}: 対象バッファのホットリストレベルの最大値に対応する色 (buflist.format.hotlist_xxx オプションの評価結果、xxx がレベル)
- ${format_hotlist}: 評価後のホットリスト (buflist.format.hotlist オプションの評価結果)
- ${hotlist}: 評価前のホットリスト
- ${format_lag}: IRC サーババッファの遅延時間、遅延がない場合は空 (buflist.format.lag オプションの評価結果)
----
+3 -3
View File
@@ -57,7 +57,7 @@
** デフォルト値: `+"${color:default},"+`
* [[option_buflist.format.indent]] *buflist.format.indent*
** 説明: pass:none[string displayed to indent channel and private buffers (note: content is evaluated, see /help buflist)]
** 説明: pass:none[indent チャンネルとプライベートバッファに表示される文字列 (注意: 値は評価されます、/help buflist を参照してください)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+" "+`
@@ -69,7 +69,7 @@
** デフォルト値: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
* [[option_buflist.format.nick_prefix]] *buflist.format.nick_prefix*
** 説明: pass:none[format for nick prefix on a channel (note: content is evaluated, see /help buflist)]
** 説明: pass:none[チャンネルにおけるニックネームプレフィックス書式 (注意: 値は評価されます、/help buflist を参照してください)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color_nick_prefix}${nick_prefix}"+`
@@ -123,7 +123,7 @@
** デフォルト値: `+""+`
* [[option_buflist.look.sort]] *buflist.look.sort*
** 説明: pass:none[comma-separated list of fields to sort buffers; each field is a hdata variable of buffer ("var"), a hdata variable of IRC server ("irc_server.var") or a hdata variable of IRC channel ("irc_channel.var"); char "-" can be used before field to reverse order]
** 説明: pass:none[バッファをソートする際に考慮するフィールドのコンマ区切りリスト; 各フィールドはバッファの hdata 変数 ("var")、IRC サーバの hdata 変数 ("irc_server.var")、IRC チャンネルの hdata 変数 ("irc_channel.var") のどれかです; フィールドの先頭に "-" 文字を付けることでソート順を逆にすることも可能です]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"number,-active"+`
+18 -18
View File
@@ -727,25 +727,25 @@ reason: 理由
del|keep <server>
deloutq|jump|raw
list: list servers (without argument, this list is displayed)
listfull: list servers with detailed info for each server
add: add a new server
server: server name, for internal and display use
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma
-temp: add a temporary server (not saved)
option: set option for server (for boolean option, value can be omitted)
nooption: set boolean option to 'off' (for example: -nossl)
copy: duplicate a server
rename: rename a server
reorder: reorder list of servers
open: open the server buffer without connecting
keep: keep server in config file (for temporary servers only)
del: delete a server
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
jump: jump to server buffer
raw: open buffer with raw IRC data
list: サーバをリストアップ (引数無しでは、リストが表示されます)
listfull: 詳細情報を含めてサーバをリストアップ
add: 新しいサーバを追加
server: サーバ名、内部的な利用と表示に利用
hostname: サーバのホスト名か IP アドレス、ポート番号は任意 (デフォルト: 6667)、複数のアドレスはコンマで区切ってください
-temp: 一時的なサーバを追加 (保存されない)
option: サーバのオプションを設定 (ブールオプションでは値が無視されます)
nooption: ブールオプションを 'off' に設定 (例: -nossl)
copy: サーバを複製
rename: サーバをリネーム
reorder: サーバリストにおける順番を入れ替えます
open: 接続せずにサーババッファを開く
keep: 設定ファイルにサーバを保存 (一時的なサーバ用)
del: サーバを削除
deloutq: 全てのサーバにメッセージの削除を要求 (WeeChat が送信している全てのメッセージ)
jump: サーババッファに移動
raw: 生 IRC データを表示するバッファを開く
Examples:
:
/server listfull
/server add freenode chat.freenode.net
/server add freenode chat.freenode.net/6697 -ssl -autoconnect
+1 -1
View File
@@ -237,7 +237,7 @@
** デフォルト値: `+"%h/script"+`
* [[option_script.scripts.url]] *script.scripts.url*
** 説明: pass:none[URL for file with list of scripts]
** 説明: pass:none[スクリプトのリストを含むファイルの URL]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"https://weechat.org/files/plugins.xml.gz"+`
+46 -46
View File
@@ -257,56 +257,56 @@ infolists: インフォリストに関する情報を表示
/eval [-n|-s] <expression>
[-n] -c <expression1> <operator> <expression2>
-n: display result without sending it to buffer (debug mode)
-s: split expression before evaluating it (many commands can be separated by semicolons)
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
operator: a logical or comparison operator:
- logical operators:
&& boolean "and"
|| boolean "or"
- comparison operators:
== equal
!= not equal
<= less or equal
< less
>= greater or equal
> greater
=~ is matching POSIX extended regex
!~ is NOT matching POSIX extended regex
=* is matching mask (wildcard "*" is allowed)
!* is NOT matching mask (wildcard "*" is allowed)
-n: 結果をバッファに送信せずに表示 (デバッグモード)
-s: 評価前に式を分割する (複数のコマンドを指定する場合はセミコロンで区切ってください)
-c: 条件として評価: 演算子と括弧をを使い、ブール値 ("0" または "1") を返します
expression: 評価する式、${variable} 型の書式の変数は置換されます (以下を参照); 複数のコマンドを指定する場合はセミコロンで区切ってください
operator: 論理演算子や比較演算子:
- 論理演算子:
&& ブール演算の "and"
|| ブール演算の "or"
- 比較演算子:
== 等しい
!= 等しくない
<= 以下
< より少ない
>= 以上
> より大きい
=~ POSIX 拡張正規表現にマッチ
!~ POSIX 拡張正規表現にマッチしない
=* マスクにマッチ (ワイルドカード "*" を使えます)
!* マスクにマッチしない (ワイルドカード "*" を使えます)
An expression is considered as "true" if it is not NULL, not empty, and different from "0".
The comparison is made using integers if the two expressions are valid integers.
To force a string comparison, add double quotes around each expression, for example:
式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。
両方の式が有効な整数である場合、比較は整数を使って行われます。
文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例:
50 > 100 ==> 0
"50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
1. an evaluated sub-string (format: "eval:xxx")
2. a string with escaped chars (format: "esc:xxx" or "\xxx")
3. a string with chars to hide (format: "hide:char,string")
4. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
5. a color (format: "color:xxx", see "Plugin API reference", function "color")
6. an info (format: "info:name,arguments", arguments are optional)
7. current date/time (format: "date" or "date:format")
8. an environment variable (format: "env:XXX")
9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
10. an option (format: "file.section.option")
11. a local variable in buffer
12. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example:
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
式中の ${variable} 型の書式の変数は置換されます。変数は以下の優先順位に従います:
1. 評価済みのサブ文字列 (書式: "eval:xxx")
2. エスケープ文字を含む文字列 (書式: "esc:xxx" または "\xxx")
3. 隠す文字を含む文字列 (書式: "hide:char,string")
4. 最大文字数を指定した文字列 (書式: "cut:max,suffix,string" または "cut:+max,suffix,string")
または最大文字表示幅を指定した文字列 (書式: "cutscr:max,suffix,string" または "cutscr:+max,suffix,string")
5. 色 (書式: "color:xxx"、"プラグイン API リファレンス" の "color" 関数を参照してください)
6. 情報 (書式: "info:name,arguments"arguments は任意)
7. 現在の日付/時刻 (書式: "date" または "date:format")
8. 環境変数 (書式: "env:XXX")
9. 三項演算子 (書式: "if:condition?value_if_true:value_if_false")
10. オプション (書式: "file.section.option")
11. バッファのローカル変数
12. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "window" "buffer" は現在のウィンドウ/バッファを指します。
hdata の書式は以下の 1 つです:
hdata.var1.var2...: hdata (ポインタは既知) で開始し、1 個ずつ変数を続ける (他の hdata を続けることも可能)
hdata[list].var1.var2...: リストを使う hdata で開始する、例:
${buffer[gui_buffers].full_name}: バッファリストにリンクされた最初のバッファのフルネーム
${plugin[weechat_plugins].name}: プラグインリストにリンクされた最初のプラグインの名前
hdata[pointer].var1.var2...: ポインタを使う hdata で開始する、例:
${buffer[0x1234abcd].full_name}: 与えたポインタを持つバッファの完全な名前 (トリガ中で使うことが可能です)
hdata と変数の名前については、"プラグイン API リファレンス" の "weechat_hdata_get" 関数を参照してください。
Examples (simple strings):
例 (単純な文字列):
/eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3
@@ -321,7 +321,7 @@ Examples (simple strings):
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
Examples (conditions):
例 (条件):
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1