summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/autogen/user/weechat_commands.adoc2
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc23
2 files changed, 19 insertions, 6 deletions
diff --git a/doc/ja/autogen/user/weechat_commands.adoc b/doc/ja/autogen/user/weechat_commands.adoc
index 18c771df3..b0f02efe9 100644
--- a/doc/ja/autogen/user/weechat_commands.adoc
+++ b/doc/ja/autogen/user/weechat_commands.adoc
@@ -301,7 +301,7 @@ Some variables are replaced in expression, using the format ${variable}, variabl
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")
+ 5. a reversed string (format: "rev:xxx" or "revscr:xxx")
6. a repeated string (format: "repeat:count,string")
7. length of a string (format: "length:xxx" or "lengthscr:xxx")
8. a color (format: "color:xxx", see "Plugin API reference", function "color")
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index 44ce35ddb..bc1dedf7e 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -2473,11 +2473,24 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
`+thi…+` +
`+こ>>+`
+// TRANSLATION MISSING
| `+${rev:xxx}+` +
_(WeeChat バージョン 2.2 以上で利用可)_ |
- 文字順を反転させた文字列。|
- `+${rev:Hello, world!}+` |
- `+!dlrow ,olleH+`
+ Reversed string (color codes are reversed, so the string should not contain
+ color codes). |
+ `+${rev:Hello, world!}+` +
+ `+${rev:Hello, ${color:red}world!}+` |
+ `+!dlrow ,olleH+` +
+ `+!dlrow30F ,olleH+` (no color, the color code is reversed)
+
+// TRANSLATION MISSING
+| `+${revscr:xxx}+` +
+ _(WeeChat バージョン 2.7 以上で利用可)_ |
+ Reversed string for screen, color codes are not reversed. |
+ `+${revscr:Hello, world!}+` +
+ `+${revscr:Hello, ${color:red}world!}+` |
+ `+!dlrow ,olleH+` +
+ `+!dlrow ,olleH+` (`pass:[ ,olleH]` in red)
| `+${repeat:count,string}+` +
_(WeeChat バージョン 2.3 以上で利用可)_ |
@@ -2487,7 +2500,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
// TRANSLATION MISSING
| `+${length:xxx}+` +
- _(WeeChat ≥ 2.7)_ |
+ _(WeeChat バージョン 2.7 以上で利用可)_ |
Length of string (number of UTF-8 chars), color codes are ignored. |
`+${length:test}+` +
`+${length:こんにちは世界}+` |
@@ -2496,7 +2509,7 @@ str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, optio
// TRANSLATION MISSING
| `+${lengthscr:xxx}+` +
- _(WeeChat ≥ 2.7)_ |
+ _(WeeChat バージョン 2.7 以上で利用可)_ |
Length of string displayed on screen, color codes are ignored. |
`+${lengthscr:test}+` +
`+${lengthscr:こんにちは世界}+` |