summaryrefslogtreecommitdiff
path: root/doc/pl/autogen/user
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-03-29 20:00:36 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-03-29 20:00:36 +0200
commit0436fff31b5ef7814391dd1a666cccfaa0f2ff67 (patch)
treeb35d434bf752b033a4c277a46af63db70902d77f /doc/pl/autogen/user
parent454a4b14b28a476cf274ed894275e63093a4a053 (diff)
downloadweechat-0436fff31b5ef7814391dd1a666cccfaa0f2ff67.zip
buflist: add option buflist.format.number
Diffstat (limited to 'doc/pl/autogen/user')
-rw-r--r--doc/pl/autogen/user/buflist_commands.adoc1
-rw-r--r--doc/pl/autogen/user/buflist_options.adoc10
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/pl/autogen/user/buflist_commands.adoc b/doc/pl/autogen/user/buflist_commands.adoc
index 4a6950c93..ffea9f6c0 100644
--- a/doc/pl/autogen/user/buflist_commands.adoc
+++ b/doc/pl/autogen/user/buflist_commands.adoc
@@ -24,6 +24,7 @@ The following variables can be used in these options:
- ${buffer.nicklist_nicks_count}
- extra variables added by buflist for convenience:
- ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example
+ - ${format_number}: indented number with separator (evaluation of option buflist.format.number)
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers
- ${indent}: indentation for name (channel and private buffers are indented)
- ${name}: the short name (if set), with a fallback on the name
diff --git a/doc/pl/autogen/user/buflist_options.adoc b/doc/pl/autogen/user/buflist_options.adoc
index 1e58e8347..548296c26 100644
--- a/doc/pl/autogen/user/buflist_options.adoc
+++ b/doc/pl/autogen/user/buflist_options.adoc
@@ -6,13 +6,13 @@
** opis: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
** typ: ciąg
** wartości: dowolny ciąg
-** domyślna wartość: `+"${color:green}${number}.${indent}${color_hotlist}${name}"+`
+** domyślna wartość: `+"${format_number}${indent}${color_hotlist}${name}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
** opis: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
** typ: ciąg
** wartości: dowolny ciąg
-** domyślna wartość: `+"${color:lightgreen,blue}${number}.${indent}${color_hotlist}${name}"+`
+** domyślna wartość: `+"${color:lightgreen,blue}${format_buffer}"+`
* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
** opis: pass:none[format for hotlist (note: content is evaluated, see /help buflist)]
@@ -62,6 +62,12 @@
** wartości: dowolny ciąg
** domyślna wartość: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
+* [[option_buflist.format.number]] *buflist.format.number*
+** opis: pass:none[format for buffer number, ${number} is the indented number (note: content is evaluated, see /help buflist)]
+** typ: ciąg
+** wartości: dowolny ciąg
+** domyślna wartość: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
+
* [[option_buflist.look.display_conditions]] *buflist.look.display_conditions*
** opis: pass:none[conditions to display a buffer (note: content is evaluated, see /help buflist)]
** typ: ciąg