summaryrefslogtreecommitdiff
path: root/doc/ja/weechat_user.ja.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-04-18 09:52:01 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-04-18 09:52:01 +0200
commit674f52bf5867791059988af02089f3a8b82eeb98 (patch)
tree34f4b825c00cc9abc4171620cd5155c3e024203c /doc/ja/weechat_user.ja.adoc
parent0af960dbde56d5d950997250acd4e53eb16223a5 (diff)
downloadweechat-674f52bf5867791059988af02089f3a8b82eeb98.zip
core: add bar item "spacer"
Diffstat (limited to 'doc/ja/weechat_user.ja.adoc')
-rw-r--r--doc/ja/weechat_user.ja.adoc32
1 files changed, 30 insertions, 2 deletions
diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc
index 68612b774..5524b4e0b 100644
--- a/doc/ja/weechat_user.ja.adoc
+++ b/doc/ja/weechat_user.ja.adoc
@@ -2825,14 +2825,42 @@ _items_ オプションはバー要素をコンマ (画面上の要素同士に
または `+_+`)。この文字はバー (_color_delim_ オプション)
で定義された区切り文字の色をつけて要素の前または後に表示されます。
-バー要素を含むバーの例 "[time],buffer_number+:+buffer_plugin+.+buffer_name":
+バー要素を含むバーの例
+"[time],buffer_number+:+buffer_plugin+.+buffer_name,[buffer_last_number]":
....
┌───────────────────────────────────────────────────────────────────────────┐
-│[12:55] 3:irc/libera.#weechat │
+│[12:55] 3:irc/libera.#weechat [9] │
└───────────────────────────────────────────────────────────────────────────┘
....
+// TRANSLATION MISSING
+[[item_spacer]]
+===== Spacer item
+
+An item called `spacer` can be used to align items (left, center, right).
+
+When at least one `spacer` item is used in a bar, the whole bar width is used:
+the spacers auto expand with the same size (or almost). +
+When the bar is not large enough for all items, spacers are not displayed.
+
+[NOTE]
+The `spacer` bar item can be used only in bars with position `top` or `bottom`,
+filling `horizontal` and size `1`.
+
+Example of bar with items
+"[time],spacer,buffer_number+:+buffer_plugin+.+buffer_name,spacer,[buffer_last_number]":
+
+....
+┌───────────────────────────────────────────────────────────────────────────┐
+│[12:55] 3:irc/libera.#weechat [9]│
+└───────────────────────────────────────────────────────────────────────────┘
+....
+
+// TRANSLATION MISSING
+[[item_force_buffer]]
+===== Force buffer
+
特殊構文を使うことで、バー要素: "@buffer:item"
("buffer" はバッファの完全な名前、"item" はバー要素の名前)
を表示する際に強制的に指定されたバッファを利用することが可能です。