diff options
Diffstat (limited to 'doc/ja/autogen/user')
-rw-r--r-- | doc/ja/autogen/user/weechat_commands.adoc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/ja/autogen/user/weechat_commands.adoc b/doc/ja/autogen/user/weechat_commands.adoc index 52a32e616..67cfa7f35 100644 --- a/doc/ja/autogen/user/weechat_commands.adoc +++ b/doc/ja/autogen/user/weechat_commands.adoc @@ -287,7 +287,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 max chars displayed on screen (format: "cutscr:max,suffix,string") - 5. a color (format: "color:xxx") + 5. a color (format: "color:xxx", see "Plugin API reference", function "color") 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") @@ -315,8 +315,6 @@ Examples (simple strings): /eval -n ${\t} ==> <tab> /eval -n ${hide:-,${relay.network.password}} ==> -------- /eval -n ${cut:2,+,test} ==> te+ - /eval -n ${cut:2,+,こんにちは世界} ==> こん+ - /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+ /eval -n ${date:%H:%M:%S} ==> 07:46:40 /eval -n ${if:${info:term_width}>80?big:small} ==> big |