diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-12-19 17:07:52 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-12-19 20:59:38 +0100 |
commit | 7e2396ade81d6778e87ef50698efce5adfb4032e (patch) | |
tree | 5ff7e2ccbed94e3434afb6ccc495efc05887d34f /doc/it | |
parent | 1526f58d7a9142a96ffbcc133893fbab07fd6007 (diff) | |
download | weechat-7e2396ade81d6778e87ef50698efce5adfb4032e.zip |
core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar"
The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still
recognized by WeeChat, to stay compatible with any extension/script calling
it (or referencing it in the documentation).
It is deprecated and will be removed in a future release.
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/includes/autogen_api_completions.it.adoc | 4 | ||||
-rw-r--r-- | doc/it/includes/autogen_user_commands.it.adoc | 12 | ||||
-rw-r--r-- | doc/it/weechat_scripting.it.adoc | 2 | ||||
-rw-r--r-- | doc/it/weechat_user.it.adoc | 2 |
4 files changed, 14 insertions, 6 deletions
diff --git a/doc/it/includes/autogen_api_completions.it.adoc b/doc/it/includes/autogen_api_completions.it.adoc index 46342cb5d..9c04c899c 100644 --- a/doc/it/includes/autogen_api_completions.it.adoc +++ b/doc/it/includes/autogen_api_completions.it.adoc @@ -120,6 +120,10 @@ | weechat | bars_options | opzioni per le barre +| weechat | buffer_local_variable_value | value of a buffer local variable + +| weechat | buffer_local_variables | buffer local variables + | weechat | buffer_properties_get | proprietà che possono essere lette su un buffer | weechat | buffer_properties_set | proprietà che possono essere impostate su un buffer diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc index b8bc653fc..9f2fe8a42 100644 --- a/doc/it/includes/autogen_user_commands.it.adoc +++ b/doc/it/includes/autogen_user_commands.it.adoc @@ -1022,7 +1022,7 @@ Note: in command, special variables are replaced: $n-m: arguments from 'n' to 'm' $*: all arguments $~: last argument - $var: where "var" is a local variable of buffer (see /buffer localvar) + $var: where "var" is a local variable of buffer (see /buffer listvar) examples: $nick, $channel, $server, $plugin, $name Examples: @@ -1115,7 +1115,9 @@ Examples: renumber [<number1> [<number2> [<start>]]] close [<n1>[-<n2>]|<name>...] notify [<level>] - localvar [<number>|<name>] + listvar [<number>|<name>] + setvar <name> [<value>] + delvar <name> set <property> [<value>] get <property> <number>|-|+|<name> @@ -1139,8 +1141,10 @@ renumber: renumber buffers (works only if option weechat.look.buffer_auto_renumb message: for messages from users + highlights all: all messages reset: reset to default value (all) -localvar: display local variables for the buffer - set: set a property for current buffer + listvar: display local variables in a buffer + setvar: set a local variable in the current buffer + delvar: delete a local variable from the current buffer + set: set a property in the current buffer get: display a property of current buffer number: jump to buffer by number, possible prefix: '+': relative jump, add number to current diff --git a/doc/it/weechat_scripting.it.adoc b/doc/it/weechat_scripting.it.adoc index c00846811..94d7ef626 100644 --- a/doc/it/weechat_scripting.it.adoc +++ b/doc/it/weechat_scripting.it.adoc @@ -1004,7 +1004,7 @@ Per impostare le variabili locali di un buffer, digitare questo comando in WeeChat: ---- -/buffer localvar +/buffer listvar ---- [[hooks]] diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index e9dfae0f5..3750be2b9 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -3330,7 +3330,7 @@ le variabili buffer locali per costruire il nome del file. To see available local variables for current buffer: ---- -/buffer localvar +/buffer listvar ---- // TRANSLATION MISSING |