summaryrefslogtreecommitdiff
path: root/doc/pl
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-12-19 17:07:52 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-12-19 20:59:38 +0100
commit7e2396ade81d6778e87ef50698efce5adfb4032e (patch)
tree5ff7e2ccbed94e3434afb6ccc495efc05887d34f /doc/pl
parent1526f58d7a9142a96ffbcc133893fbab07fd6007 (diff)
downloadweechat-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/pl')
-rw-r--r--doc/pl/includes/autogen_api_completions.pl.adoc4
-rw-r--r--doc/pl/includes/autogen_user_commands.pl.adoc12
-rw-r--r--doc/pl/weechat_scripting.pl.adoc2
-rw-r--r--doc/pl/weechat_user.pl.adoc2
4 files changed, 14 insertions, 6 deletions
diff --git a/doc/pl/includes/autogen_api_completions.pl.adoc b/doc/pl/includes/autogen_api_completions.pl.adoc
index b4fdd2933..17c706194 100644
--- a/doc/pl/includes/autogen_api_completions.pl.adoc
+++ b/doc/pl/includes/autogen_api_completions.pl.adoc
@@ -120,6 +120,10 @@
| weechat | bars_options | opcje pasków
+| weechat | buffer_local_variable_value | value of a buffer local variable
+
+| weechat | buffer_local_variables | buffer local variables
+
| weechat | buffer_properties_get | właściwości, jakie mogą być przeczytane w buforze
| weechat | buffer_properties_set | właściwości, jakie mogą być ustawione w buforze
diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc
index c696816db..79c14a587 100644
--- a/doc/pl/includes/autogen_user_commands.pl.adoc
+++ b/doc/pl/includes/autogen_user_commands.pl.adoc
@@ -1021,7 +1021,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:
@@ -1114,7 +1114,9 @@ Przykłady:
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>
@@ -1138,8 +1140,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/pl/weechat_scripting.pl.adoc b/doc/pl/weechat_scripting.pl.adoc
index 29279354c..7ea171579 100644
--- a/doc/pl/weechat_scripting.pl.adoc
+++ b/doc/pl/weechat_scripting.pl.adoc
@@ -973,7 +973,7 @@ weechat.buffer_set(buffer, "localvar_del_myvar", "")
Aby zobaczyć lokalne zmienne danego bufora, należy wykonać tą komendę w WeeChat:
----
-/buffer localvar
+/buffer listvar
----
[[hooks]]
diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc
index 937a41b75..1e2064ec4 100644
--- a/doc/pl/weechat_user.pl.adoc
+++ b/doc/pl/weechat_user.pl.adoc
@@ -3122,7 +3122,7 @@ użycie do tego zmiennych lokalnych bufora. W celu wyświetlenia listy dostępny
zmiennych dla bufora wykonaj:
----
-/buffer localvar
+/buffer listvar
----
Maski zostaną dopasowane do opcji w kolejności malejącej specyficznie dla