summaryrefslogtreecommitdiff
path: root/doc/ja/weechat_plugin_api.ja.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-04-18 13:46:16 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-04-18 13:46:16 +0200
commit51ed9ec93e7f9562ffdca693f24d3a90c904d019 (patch)
tree2abb14ee2c891e1df54b356c848b81dcbf1bc132 /doc/ja/weechat_plugin_api.ja.adoc
parent46033a7ee9c1a8f59967fe79b1d22de9a25c4eb3 (diff)
downloadweechat-51ed9ec93e7f9562ffdca693f24d3a90c904d019.zip
core: add case conversion in evaluation of expressions (closes #1778)
Diffstat (limited to 'doc/ja/weechat_plugin_api.ja.adoc')
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index c781f8856..e282ac347 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -2280,7 +2280,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
// TRANSLATION MISSING
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8, 2.0,
-2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3 and 3.4._
+2.2, 2.3, 2.7, 2.9, 3.1, 3.2, 3.3, 3.4 and 3.6._
式を評価して文字列として返す。`+${variable}+`
という書式で書かれた特殊変数は展開されます (以下の表を参照)。
@@ -2678,6 +2678,18 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
>> `+${\ua9}+` +
== `+©+`
+// TRANSLATION MISSING
+| `+${lower:string}+` | 3.6 |
+ String converted to lower case. |
+ >> `+${lower:TEST}+` +
+ >> `+test+`
+
+// TRANSLATION MISSING
+| `+${upper:string}+` | 3.6 |
+ String converted to upper case. |
+ >> `+${upper:test}+` +
+ >> `+TEST+`
+
| `+${hide:x,string}+` | 1.1 |
隠す文字を含むテキスト (`string` に含まれる文字をすべて `x` で置換) |
>> `+${hide:*,password}+` +