diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-06-07 21:29:05 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-06-07 21:29:05 +0200 |
commit | 7aa82db47106206b8e1bc0c56d34530ec25d23e6 (patch) | |
tree | 95a789a3485b1c7587b9f00e2c983904a51dbb14 /doc/ja | |
parent | f065b43b71fe7b492607a66b2c13cf489af1b9b8 (diff) | |
download | weechat-7aa82db47106206b8e1bc0c56d34530ec25d23e6.zip |
core: replace char "," by "~" in color codes to separate foreground from background (closes #1264)
Diffstat (limited to 'doc/ja')
-rw-r--r-- | doc/ja/weechat_dev.ja.adoc | 65 |
1 files changed, 39 insertions, 26 deletions
diff --git a/doc/ja/weechat_dev.ja.adoc b/doc/ja/weechat_dev.ja.adoc index ccd5cc3ca..a856cc63b 100644 --- a/doc/ja/weechat_dev.ja.adoc +++ b/doc/ja/weechat_dev.ja.adoc @@ -873,34 +873,47 @@ WeeChat は文字列中に独自の色コードを使うことで、属性 [width="100%",cols="4,2,2,8",options="header"] |=== -| コード | 例 | エリア | 説明 -| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | オプションを使って属性と色を指定、色コードは以下の表を参照 -| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | ncurses ペアを使って色を指定 (`/color` バッファのみ有効) -| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | 文字色 (WeeChat 色) を設定 -| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | 文字色 (拡張色) を設定 -| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | 背景色 (WeeChat 色) を設定 -| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定 -| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定 -| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定 -| [hex]#19# + "*" + (A)STD + "," + STD | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定 -| [hex]#19# + "*" + (A)STD + "," + EXT | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定 -| [hex]#19# + "*" + (A)EXT + "," + STD | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定 -| [hex]#19# + "*" + (A)EXT + "," + EXT | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定 -| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | バーの文字色を設定 -| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | バーの区切り文字色を設定 -| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | バーの背景色を設定 -| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | 文字入力を開始 ("input_text" 要素のみで利用可) -| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | 隠し文字入力を開始 ("input_text" 要素のみで利用可) -| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | カーソル文字を移動 ("input_text" 要素のみで利用可) -| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | 要素を開始 -| [hex]#19# + "b" + "l" (小文字の L) | [hex]#19# `+bl+` | bars | 行要素を開始 -| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | テキストを強調 _(WeeChat バージョン 0.4.2 以上で利用可)_ -| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | 色をリセット (属性は保存) -| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | 属性を設定 -| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | 属性を削除 -| [hex]#1C# | [hex]#1C# | chat + bars | 属性と色をリセット +| コード | 例 | エリア | 説明 +| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | オプションを使って属性と色を指定、色コードは以下の表を参照 +| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | ncurses ペアを使って色を指定 (`/color` バッファのみ有効) +| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | 文字色 (WeeChat 色) を設定 +| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | 文字色 (拡張色) を設定 +| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | 背景色 (WeeChat 色) を設定 +| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定 +| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定 +| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定 +| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定 +| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定 +| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定 +| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定 +| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定 +| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定 +| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定 +| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定 +| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | バーの文字色を設定 +| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | バーの区切り文字色を設定 +| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | バーの背景色を設定 +| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | 文字入力を開始 ("input_text" 要素のみで利用可) +| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | 隠し文字入力を開始 ("input_text" 要素のみで利用可) +| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | カーソル文字を移動 ("input_text" 要素のみで利用可) +| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | 要素を開始 +| [hex]#19# + "b" + "l" (小文字の L) | [hex]#19# `+bl+` | bars | 行要素を開始 +| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | テキストを強調 _(WeeChat バージョン 0.4.2 以上で利用可)_ +| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | 色をリセット (属性は保存) +| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | 属性を設定 +| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | 属性を削除 +| [hex]#1C# | [hex]#1C# | chat + bars | 属性と色をリセット |=== +// TRANSLATION MISSING +[NOTE] +^(1)^ The use of comma as separator was used until WeeChat 2.5. + +With WeeChat ≥ 2.6, a tilde is used to separate foreground from background +color. If you are developing a WeeChat relay client and want to be compatible +with all WeeChat versions, you should support both separators (for example if a +user with WeeChat ≤ 2.5 runs `/upgrade` to a version ≥ 2.6, both separators +could be used at same time in buffers). + オプションを使う色コード (_src/gui/gui-color.h_ ファイルの _t_gui_color_enum_ を参照): |