summaryrefslogtreecommitdiff
path: root/doc/ja/autogen/user
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-03-25 15:12:47 +0100
committerSébastien Helleu <flashcode@flashtux.org>2017-03-25 15:13:18 +0100
commitfb66eeec79ea6bbad17cccdf353b34f96216bd7f (patch)
tree433ac33ffcd0c8987a2376388f4333d6af63a83f /doc/ja/autogen/user
parentf54ed11f1d38f159c591005e72e35400f98ce948 (diff)
downloadweechat-fb66eeec79ea6bbad17cccdf353b34f96216bd7f.zip
core: update translations
Diffstat (limited to 'doc/ja/autogen/user')
-rw-r--r--doc/ja/autogen/user/buflist_commands.adoc33
-rw-r--r--doc/ja/autogen/user/buflist_options.adoc28
-rw-r--r--doc/ja/autogen/user/weechat_commands.adoc112
3 files changed, 111 insertions, 62 deletions
diff --git a/doc/ja/autogen/user/buflist_commands.adoc b/doc/ja/autogen/user/buflist_commands.adoc
new file mode 100644
index 000000000..c82246851
--- /dev/null
+++ b/doc/ja/autogen/user/buflist_commands.adoc
@@ -0,0 +1,33 @@
+//
+// This file is auto-generated by script docgen.py.
+// DO NOT EDIT BY HAND!
+//
+[[command_buflist_buflist]]
+* `+buflist+`: bar item with list of buffers
+
+----
+/buflist refresh
+
+refresh: force the refresh of the "buflist" bar item
+
+The lines with buffers are displayed using string evaluation (see /help eval for the format), with two main options:
+ - buflist.format.buffer: format for a buffer which is not current buffer
+ - buflist.format.buffer_current: format for the current buffer
+
+The following variables can be used in these options:
+ - buffer data (see hdata "buffer" in API doc for a complete list), for example:
+ - ${buffer.number}
+ - ${buffer.name}
+ - ${buffer.full_name}
+ - ${buffer.short_name}
+ - ${buffer.nicklist_nicks_count}
+ - 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
+ - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers
+ - ${indent}: indentation for name (channel and private buffers are indented)
+ - ${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)
+----
diff --git a/doc/ja/autogen/user/buflist_options.adoc b/doc/ja/autogen/user/buflist_options.adoc
index 33f170353..7fb32e17c 100644
--- a/doc/ja/autogen/user/buflist_options.adoc
+++ b/doc/ja/autogen/user/buflist_options.adoc
@@ -3,49 +3,61 @@
// DO NOT EDIT BY HAND!
//
* [[option_buflist.format.buffer]] *buflist.format.buffer*
-** 説明: pass:none[format of each line with a buffer]
+** 説明: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:green}${number}.${indent}${color_hotlist}${name}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
-** 説明: pass:none[format for the line with current buffer]
+** 説明: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:lightgreen,blue}${number}.${indent}${color_hotlist}${name}"+`
+* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
+** 説明: pass:none[format for hotlist (note: content is evaluated, see /help buflist)]
+** タイプ: 文字列
+** 値: 未制約文字列
+** デフォルト値: `+" ${color:green}(${hotlist}${color:green})"+`
+
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
-** 説明: pass:none[format for a buffer with hotlist level "highlight"]
+** 説明: pass:none[format for a buffer with hotlist level "highlight" (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:magenta}"+`
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
-** 説明: pass:none[format for a buffer with hotlist level "low"]
+** 説明: pass:none[format for a buffer with hotlist level "low" (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:white}"+`
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
-** 説明: pass:none[format for a buffer with hotlist level "message"]
+** 説明: pass:none[format for a buffer with hotlist level "message" (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:brown}"+`
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
-** 説明: pass:none[format for a buffer not in hotlist]
+** 説明: pass:none[format for a buffer not in hotlist (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:default}"+`
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
-** 説明: pass:none[format for a buffer with hotlist level "private"]
+** 説明: pass:none[format for a buffer with hotlist level "private" (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:green}"+`
+* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
+** 説明: pass:none[separator for counts in hotlist (note: content is evaluated, see /help buflist)]
+** タイプ: 文字列
+** 値: 未制約文字列
+** デフォルト値: `+"${color:default},"+`
+
* [[option_buflist.format.lag]] *buflist.format.lag*
-** 説明: pass:none[format for lag on an irc server buffer]
+** 説明: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
diff --git a/doc/ja/autogen/user/weechat_commands.adoc b/doc/ja/autogen/user/weechat_commands.adoc
index afd3fc32f..1f5a7336c 100644
--- a/doc/ja/autogen/user/weechat_commands.adoc
+++ b/doc/ja/autogen/user/weechat_commands.adoc
@@ -257,63 +257,67 @@ infolists: インフォリストに関する情報を表示
/eval [-n|-s] <expression>
[-n] -c <expression1> <operator> <expression2>
- -n: 結果をバッファに送信せずに表示 (デバッグモード)
- -s: 評価前に式を分割する (複数のコマンドを指定する場合はセミコロンで区切ってください)
- -c: 条件として評価: 演算子と括弧をを使い、ブール値 ("0" または "1") を返します
-expression: 評価する式、${variable} 型の書式の変数は置換されます (以下を参照); 複数のコマンドを指定する場合はセミコロンで区切ってください
- operator: 論理演算子や比較演算子:
- - 論理演算子:
- && ブール演算の "and"
- || ブール演算の "or"
- - 比較演算子:
- == 等しい
- != 等しくない
- <= 以下
- < より少ない
- >= 以上
- > より大きい
- =~ 正規表現にマッチ
- !~ 正規表現にマッチしない
-
-式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。
-両方の式が有効な整数である場合、比較は整数を使って行われます。
-文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例:
+ -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
+
+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:
50 > 100 ==> 0
"50" > "100" ==> 1
-式中の ${variable} 型の書式の変数は置換されます。変数は以下の優先順位に従います:
- 1. 評価済みのサブ文字列 (書式: "eval:xxx")
- 2. エスケープ文字を含む文字列 (書式: "esc:xxx" または "\xxx")
- 3. 隠す文字を含む文字列 (書式: "hide:char,string")
- 4. 色 (書式: "color:xxx")
- 5. 情報 (書式: "info:name,arguments"、arguments は任意)
- 6. 現在の日付/時刻 (書式: "date" または "date:format")
- 7. 環境変数 (書式: "env:XXX")
- 8. オプション (書式: "file.section.option")
- 9. バッファのローカル変数
- 10. 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" 関数を参照してください。
-
-例 (単純な文字列):
- /eval -n ${info:version} ==> 0.4.3
- /eval -n ${env:HOME} ==> /home/user
- /eval -n ${weechat.look.scroll_amount} ==> 3
- /eval -n ${window} ==> 0x2549aa0
- /eval -n ${window.buffer} ==> 0x2549320
- /eval -n ${window.buffer.full_name} ==> core.weechat
- /eval -n ${window.buffer.number} ==> 1
- /eval -n ${\t} ==> <tab>
- /eval -n ${hide:-,${relay.network.password}} ==> --------
- /eval -n ${date:%H:%M:%S} ==> 07:46:40
-
-例 (条件):
+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")
+ 5. a color (format: "color:xxx")
+ 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".
+
+Examples (simple strings):
+ /eval -n ${info:version} ==> 0.4.3
+ /eval -n ${env:HOME} ==> /home/user
+ /eval -n ${weechat.look.scroll_amount} ==> 3
+ /eval -n ${window} ==> 0x2549aa0
+ /eval -n ${window.buffer} ==> 0x2549320
+ /eval -n ${window.buffer.full_name} ==> core.weechat
+ /eval -n ${window.buffer.number} ==> 1
+ /eval -n ${\t} ==> <tab>
+ /eval -n ${hide:-,${relay.network.password}} ==> --------
+ /eval -n ${cut:2,+,test} ==> te+
+ /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