diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-16 10:08:04 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-16 10:08:04 +0200 |
commit | dd916d5e5275a0950ac17ffa5a43311e16ce7601 (patch) | |
tree | 65211030fdcc5e0a32d2f3d3ff7061de21681ece /doc/en | |
parent | d18680e442740de7be46608dd62fe7a696e4509b (diff) | |
download | weechat-dd916d5e5275a0950ac17ffa5a43311e16ce7601.zip |
doc: update auto-generated files
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/includes/autogen_user_commands.en.adoc | 9 | ||||
-rw-r--r-- | doc/en/includes/autogen_user_options.en.adoc | 24 |
2 files changed, 30 insertions, 3 deletions
diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc index 2c72f5a5c..6d08f1e89 100644 --- a/doc/en/includes/autogen_user_commands.en.adoc +++ b/doc/en/includes/autogen_user_commands.en.adoc @@ -1359,9 +1359,10 @@ Some variables are replaced in expression, using the format ${variable}, variabl 15. an environment variable (format: "env:XXX") 16. a ternary operator (format: "if:condition?value_if_true:value_if_false") 17. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx") - 18. an option (format: "file.section.option") - 19. a local variable in buffer - 20. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. + 18. a translated string (format: "translate:xxx") + 19. an option (format: "file.section.option") + 20. a local variable in buffer + 21. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer. Format for hdata can be one of following: hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed) hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example: @@ -1395,6 +1396,7 @@ Examples (simple strings): /eval -n ${calc:(5+2)*3} ==> 21 /eval -n ${base_encode:64,test} ==> dGVzdA== /eval -n ${base_decode:64,dGVzdA==} ==> test + /eval -n ${translate:Plugin} ==> Extension Examples (conditions): /eval -n -c ${window.buffer.number} > 2 ==> 0 @@ -2166,6 +2168,7 @@ The following variables can be used in these options: - ${hotlist}: the raw hotlist - ${hotlist_priority}: "none", "low", "message", "private" or "highlight" - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag) + - ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version) ---- // end::buflist_commands[] diff --git a/doc/en/includes/autogen_user_options.en.adoc b/doc/en/includes/autogen_user_options.en.adoc index b799bb0bb..1122f5b0c 100644 --- a/doc/en/includes/autogen_user_options.en.adoc +++ b/doc/en/includes/autogen_user_options.en.adoc @@ -1752,6 +1752,12 @@ ** values: any string ** default value: `+"${color:green}${number}${if:${number_displayed}?.: }"+` +* [[option_buflist.format.tls_version]] *buflist.format.tls_version* +** description: pass:none[format for TLS version on an IRC server buffer (note: content is evaluated, see /help buflist)] +** type: string +** values: any string +** default value: `+" ${color:default}(${if:${tls_version}==TLS1.3?${color:green}:${if:${tls_version}==TLS1.2?${color:yellow}:${color:red}}}${translate:${tls_version}}${color:default})"+` + * [[option_buflist.look.add_newline]] *buflist.look.add_newline* ** description: pass:none[add newline between the buffers displayed, so each buffer is displayed on a separate line (recommended); if disabled, newlines must be manually added in the formats with "${\n}", and the mouse actions are not possible any more] ** type: boolean @@ -2058,6 +2064,24 @@ ** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline ** default value: `+default+` +* [[option_irc.color.item_tls_version_deprecated]] *irc.color.item_tls_version_deprecated* +** description: pass:none[color for deprecated TLS versions in bar item "tls_version"] +** type: color +** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline +** default value: `+yellow+` + +* [[option_irc.color.item_tls_version_insecure]] *irc.color.item_tls_version_insecure* +** description: pass:none[color for insecure TLS versions in bar item "tls_version"] +** type: color +** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline +** default value: `+red+` + +* [[option_irc.color.item_tls_version_ok]] *irc.color.item_tls_version_ok* +** description: pass:none[color for higher supported TLS version in bar item "tls_version"] +** type: color +** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline +** default value: `+green+` + * [[option_irc.color.message_account]] *irc.color.message_account* ** description: pass:none[color for text in account messages] ** type: color |