doc: update Japanese auto-generated file
This commit is contained in:
parent
b348479e4c
commit
8d1dcb666a
@ -86,62 +86,62 @@ message: 離席メッセージ (メッセージが無い場合は、離席状態
|
||||
get <property>
|
||||
<number>|-|+|<name>
|
||||
|
||||
list: list buffers (without argument, this list is displayed)
|
||||
add: add a new buffer (it can be closed with "/buffer close" or input "q")
|
||||
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 the 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: バッファをリストアップ (引数無しの場合、このリストが表示されます)
|
||||
add: 新しいバッファを追加 (バッファを閉じるには "/buffer close" または "q" を使ってください)
|
||||
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
|
||||
merge with #weechat buffer:
|
||||
#weechat バッファとマージ:
|
||||
/buffer merge #weechat
|
||||
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 +
|
||||
----
|
||||
|
||||
@ -261,61 +261,61 @@ 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 floating point numbers if the two expressions are valid numbers, with one of the following formats:
|
||||
- integer (examples: 5, -7)
|
||||
- floating point number (examples: 5.2, -7.5, 2.83e-2)
|
||||
- hexadecimal number (examples: 0xA3, -0xA3)
|
||||
To force a string comparison, you can add double quotes around each expression, for example:
|
||||
式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。
|
||||
浮動小数点数として比較される数値表現の書式は以下です:
|
||||
- 整数 (例: 5、-7)
|
||||
- 浮動小数点数 (例: 5.2、-7.5、2.83e-2)
|
||||
- 16 進数 (例: 0xA3、-0xA3)
|
||||
数値表現を二重引用符で括ることで、文字列として比較されます。例:
|
||||
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 reversed string (format: "rev:xxx")
|
||||
6. a repeated string (format: "repeat:count,string")
|
||||
7. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
8. an info (format: "info:name,arguments", arguments are optional)
|
||||
9. current date/time (format: "date" or "date:format")
|
||||
10. an environment variable (format: "env:XXX")
|
||||
11. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
12. an option (format: "file.section.option")
|
||||
13. a local variable in buffer
|
||||
14. 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. 文字順を反転させた文字列 (書式: "rev:xxx")
|
||||
6. 繰り返し文字列 (書式: "repeat:count,string")
|
||||
7. 色 (書式: "color:xxx"、"プラグイン API リファレンス" の "color" 関数を参照してください)
|
||||
8. 情報 (書式: "info:name,arguments"、arguments は任意)
|
||||
9. 現在の日付/時刻 (書式: "date" または "date:format")
|
||||
10. 環境変数 (書式: "env:XXX")
|
||||
11. 三項演算子 (書式: "if:condition?value_if_true:value_if_false")
|
||||
12. オプション (書式: "file.section.option")
|
||||
13. バッファのローカル変数
|
||||
14. 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
|
||||
@ -330,10 +330,10 @@ Examples (simple strings):
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||
/eval -n ${rev:Hello} ==> olleH
|
||||
/eval -n ${repeat:5,-} ==> -----
|
||||
/eval -n ${rev:Hello} ==> olleH\n"
|
||||
/eval -n ${repeat:5,-} ==> -----\n"
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user