summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/de/autogen/user/buflist_commands.adoc33
-rw-r--r--doc/de/autogen/user/buflist_options.adoc28
-rw-r--r--doc/de/autogen/user/weechat_commands.adoc128
-rw-r--r--doc/en/autogen/user/buflist_commands.adoc33
-rw-r--r--doc/en/autogen/user/buflist_options.adoc28
-rw-r--r--doc/en/autogen/user/weechat_commands.adoc38
-rw-r--r--doc/fr/autogen/user/buflist_commands.adoc33
-rw-r--r--doc/fr/autogen/user/buflist_options.adoc30
-rw-r--r--doc/fr/autogen/user/weechat_commands.adoc38
-rw-r--r--doc/it/autogen/user/buflist_commands.adoc33
-rw-r--r--doc/it/autogen/user/buflist_options.adoc28
-rw-r--r--doc/it/autogen/user/weechat_commands.adoc38
-rw-r--r--doc/ja/autogen/user/buflist_commands.adoc33
-rw-r--r--doc/ja/autogen/user/buflist_options.adoc28
-rw-r--r--doc/ja/autogen/user/weechat_commands.adoc112
-rw-r--r--doc/pl/autogen/user/buflist_commands.adoc33
-rw-r--r--doc/pl/autogen/user/buflist_options.adoc28
-rw-r--r--doc/pl/autogen/user/weechat_commands.adoc112
-rw-r--r--po/cs.po147
-rw-r--r--po/de.po158
-rw-r--r--po/es.po147
-rw-r--r--po/fr.po233
-rw-r--r--po/hu.po146
-rw-r--r--po/it.po167
-rw-r--r--po/ja.po162
-rw-r--r--po/pl.po164
-rw-r--r--po/pt.po162
-rw-r--r--po/pt_BR.po167
-rw-r--r--po/ru.po146
-rw-r--r--po/tr.po136
-rw-r--r--po/weechat.pot135
-rw-r--r--src/core/wee-command.c20
-rw-r--r--src/plugins/buflist/buflist-command.c12
-rw-r--r--src/plugins/buflist/buflist-config.c2
34 files changed, 2400 insertions, 538 deletions
diff --git a/doc/de/autogen/user/buflist_commands.adoc b/doc/de/autogen/user/buflist_commands.adoc
new file mode 100644
index 000000000..c82246851
--- /dev/null
+++ b/doc/de/autogen/user/buflist_commands.adoc
@@ -0,0 +1,33 @@
+//
+// This file is auto-generated by script docgen.py.
+// DO NOT EDIT BY HAND!
+//
+[[command_buflist_buflist]]
+* `+buflist+`: bar item with list of buffers
+
+----
+/buflist refresh
+
+refresh: force the refresh of the "buflist" bar item
+
+The lines with buffers are displayed using string evaluation (see /help eval for the format), with two main options:
+ - buflist.format.buffer: format for a buffer which is not current buffer
+ - buflist.format.buffer_current: format for the current buffer
+
+The following variables can be used in these options:
+ - buffer data (see hdata "buffer" in API doc for a complete list), for example:
+ - ${buffer.number}
+ - ${buffer.name}
+ - ${buffer.full_name}
+ - ${buffer.short_name}
+ - ${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
+ - ${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
+ - ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
+ - ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
+ - ${hotlist}: the raw hotlist
+ - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
+----
diff --git a/doc/de/autogen/user/buflist_options.adoc b/doc/de/autogen/user/buflist_options.adoc
index d9f550c67..b5dd1ab51 100644
--- a/doc/de/autogen/user/buflist_options.adoc
+++ b/doc/de/autogen/user/buflist_options.adoc
@@ -3,49 +3,61 @@
// DO NOT EDIT BY HAND!
//
* [[option_buflist.format.buffer]] *buflist.format.buffer*
-** Beschreibung: pass:none[format of each line with a buffer]
+** Beschreibung: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"${color:green}${number}.${indent}${color_hotlist}${name}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
-** Beschreibung: pass:none[format for the line with current buffer]
+** Beschreibung: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"${color:lightgreen,blue}${number}.${indent}${color_hotlist}${name}"+`
+* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
+** Beschreibung: pass:none[format for hotlist (note: content is evaluated, see /help buflist)]
+** Typ: Zeichenkette
+** Werte: beliebige Zeichenkette
+** Standardwert: `+" ${color:green}(${hotlist}${color:green})"+`
+
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
-** Beschreibung: pass:none[format for a buffer with hotlist level "highlight"]
+** Beschreibung: pass:none[format for a buffer with hotlist level "highlight" (note: content is evaluated, see /help buflist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"${color:magenta}"+`
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
-** Beschreibung: pass:none[format for a buffer with hotlist level "low"]
+** Beschreibung: pass:none[format for a buffer with hotlist level "low" (note: content is evaluated, see /help buflist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"${color:white}"+`
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
-** Beschreibung: pass:none[format for a buffer with hotlist level "message"]
+** Beschreibung: pass:none[format for a buffer with hotlist level "message" (note: content is evaluated, see /help buflist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"${color:brown}"+`
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
-** Beschreibung: pass:none[format for a buffer not in hotlist]
+** Beschreibung: pass:none[format for a buffer not in hotlist (note: content is evaluated, see /help buflist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"${color:default}"+`
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
-** Beschreibung: pass:none[format for a buffer with hotlist level "private"]
+** Beschreibung: pass:none[format for a buffer with hotlist level "private" (note: content is evaluated, see /help buflist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"${color:green}"+`
+* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
+** Beschreibung: pass:none[separator for counts in hotlist (note: content is evaluated, see /help buflist)]
+** Typ: Zeichenkette
+** Werte: beliebige Zeichenkette
+** Standardwert: `+"${color:default},"+`
+
* [[option_buflist.format.lag]] *buflist.format.lag*
-** Beschreibung: pass:none[format for lag on an irc server buffer]
+** Beschreibung: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
diff --git a/doc/de/autogen/user/weechat_commands.adoc b/doc/de/autogen/user/weechat_commands.adoc
index c3e9d223a..fb1633af0 100644
--- a/doc/de/autogen/user/weechat_commands.adoc
+++ b/doc/de/autogen/user/weechat_commands.adoc
@@ -257,71 +257,75 @@ infolists: zeigt Information über die Infolists an
/eval [-n|-s] <expression>
[-n] -c <expression1> <operator> <expression2>
- -n: gibt das Ergebnis aus, ohne das dieses in den Buffer gesendet wird (debug Modus)
- -s: teilt Ausdrücke bevor sie evaluiert werden (mehrere Befehle können durch Semikolon getrennt werden)
- -c: Auswertung als Bedingung: nutzt Operatoren und runde Klammern, Rückgabewert als Boolean-Wert ("0" oder "1")
-expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${variable} werden ersetzt (siehe unten); mehrere Befehle werden durch ein Semikolon voneinander getrennt
- operator: ein logischer oder vergleichender Operand:
- - logische Operanden:
- && boolean "und"
- || boolean "oder"
- - vergleichende Operanden:
- == gleich
- != ungleich
- <= kleiner oder gleich
- < kleiner
- >= größer oder gleich
- > größer
- =~ stimmt mit regulärem POSIX Ausdruck überein
- !~ stimmt NICHT mit regulärem POSIX Ausdruck überein
-
-Ein Ausdruck gilt als "wahr" sofern das Ergebnis weder NULL, leer und von "0" abweichend ist.
-Der Vergleich findet zwischen zwei Integer Werten statt, sofern die beiden Ausdrücke gültige Integer-Werte sind.
-Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrücke in Anführungszeichen gesetzt werden, zum Beispiel:
+ -n: display result without sending it to buffer (debug mode)
+ -s: split expression before evaluating it (many commands can be separated by semicolons)
+ -c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
+expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
+ operator: a logical or comparison operator:
+ - logical operators:
+ && boolean "and"
+ || boolean "or"
+ - comparison operators:
+ == equal
+ != not equal
+ <= less or equal
+ < less
+ >= greater or equal
+ > greater
+ =~ is matching POSIX extended regex
+ !~ is NOT matching POSIX extended regex
+
+An expression is considered as "true" if it is not NULL, not empty, and different from "0".
+The comparison is made using integers if the two expressions are valid integers.
+To force a string comparison, add double quotes around each expression, for example:
50 > 100 ==> 0
"50" > "100" ==> 1
-Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
- 1. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
- 2. eine Zeichenkette welche Escape-Zeichen besitzt (Format: "esc:xxx" oder "\xxx")
- 3. Zeichen welche in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
- 4. eine Farbe (Format: color:xxx)
- 5. eine Info (Format: "info:name,arguments", Argumente sind optional)
- 6. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
- 7. eine Umgebungsvariable (Format: "env:XXX")
- 8. der Name einer Programmoption (Format: file.section.option)
- 9. der Name einer lokalen Variablen eines Buffer
- 10. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
-Das Format für hdata kann wie folgt aufgebaut sein:
- hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
- hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
- ${buffer[gui_buffers].full_name}: der vollständige Name des ersten Buffers, in der verknüpften Liste aller Buffer
- ${plugin[weechat_plugins].name}: Name der ersten Erweiterung, in der verknüpften Liste aller Erweiterungen
- hdata[pointer].var1.var2...: startet hdata mittels einem Pointer, zum Beispiel:
- ${buffer[0x1234abcd].full_name}: vollständiger Name eines Buffers und des dazugehörigen Pointers (kann in triggern benutzt werden)
-Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
-
-Beispiele (einfache Zeichenketten):
- /eval -n ${info:version} ==> 0.4.3
- /eval -n ${env:HOME} ==> /home/user
- /eval -n ${weechat.look.scroll_amount} ==> 3
- /eval -n ${window} ==> 0x2549aa0
- /eval -n ${window.buffer} ==> 0x2549320
- /eval -n ${window.buffer.full_name} ==> core.weechat
- /eval -n ${window.buffer.number} ==> 1
- /eval -n ${\t} ==> <tab>
- /eval -n ${hide:-,${relay.network.password}} ==> --------
- /eval -n ${date:%H:%M:%S} ==> 07:46:40
-
-Beispiele (Bedingungen):
- /eval -n -c ${window.buffer.number} > 2 ==> 0
- /eval -n -c ${window.win_width} > 100 ==> 1
- /eval -n -c (8 > 12) || (5 > 2) ==> 1
- /eval -n -c (8 > 12) && (5 > 2) ==> 0
- /eval -n -c abcd =~ ^ABC ==> 1
- /eval -n -c abcd =~ (?-i)^ABC ==> 0
- /eval -n -c abcd =~ (?-i)^abc ==> 1
- /eval -n -c abcd !~ abc ==> 0
+Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
+ 1. an evaluated sub-string (format: "eval:xxx")
+ 2. a string with escaped chars (format: "esc:xxx" or "\xxx")
+ 3. a string with chars to hide (format: "hide:char,string")
+ 4. a string with max chars (format: "cut:max,suffix,string")
+ 5. a color (format: "color:xxx")
+ 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")
+ 9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
+ 10. an option (format: "file.section.option")
+ 11. a local variable in buffer
+ 12. 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, for example:
+ ${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
+ ${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
+ hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
+ ${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
+For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
+
+Examples (simple strings):
+ /eval -n ${info:version} ==> 0.4.3
+ /eval -n ${env:HOME} ==> /home/user
+ /eval -n ${weechat.look.scroll_amount} ==> 3
+ /eval -n ${window} ==> 0x2549aa0
+ /eval -n ${window.buffer} ==> 0x2549320
+ /eval -n ${window.buffer.full_name} ==> core.weechat
+ /eval -n ${window.buffer.number} ==> 1
+ /eval -n ${\t} ==> <tab>
+ /eval -n ${hide:-,${relay.network.password}} ==> --------
+ /eval -n ${cut:2,+,test} ==> te+
+ /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${if:${info:term_width}>80?big:small} ==> big
+
+Examples (conditions):
+ /eval -n -c ${window.buffer.number} > 2 ==> 0
+ /eval -n -c ${window.win_width} > 100 ==> 1
+ /eval -n -c (8 > 12) || (5 > 2) ==> 1
+ /eval -n -c (8 > 12) && (5 > 2) ==> 0
+ /eval -n -c abcd =~ ^ABC ==> 1
+ /eval -n -c abcd =~ (?-i)^ABC ==> 0
+ /eval -n -c abcd =~ (?-i)^abc ==> 1
+ /eval -n -c abcd !~ abc ==> 0
----
[[command_weechat_filter]]
diff --git a/doc/en/autogen/user/buflist_commands.adoc b/doc/en/autogen/user/buflist_commands.adoc
new file mode 100644
index 000000000..c82246851
--- /dev/null
+++ b/doc/en/autogen/user/buflist_commands.adoc
@@ -0,0 +1,33 @@
+//
+// This file is auto-generated by script docgen.py.
+// DO NOT EDIT BY HAND!
+//
+[[command_buflist_buflist]]
+* `+buflist+`: bar item with list of buffers
+
+----
+/buflist refresh
+
+refresh: force the refresh of the "buflist" bar item
+
+The lines with buffers are displayed using string evaluation (see /help eval for the format), with two main options:
+ - buflist.format.buffer: format for a buffer which is not current buffer
+ - buflist.format.buffer_current: format for the current buffer
+
+The following variables can be used in these options:
+ - buffer data (see hdata "buffer" in API doc for a complete list), for example:
+ - ${buffer.number}
+ - ${buffer.name}
+ - ${buffer.full_name}
+ - ${buffer.short_name}
+ - ${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
+ - ${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
+ - ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
+ - ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
+ - ${hotlist}: the raw hotlist
+ - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
+----
diff --git a/doc/en/autogen/user/buflist_options.adoc b/doc/en/autogen/user/buflist_options.adoc
index 897265c23..e72baa172 100644
--- a/doc/en/autogen/user/buflist_options.adoc
+++ b/doc/en/autogen/user/buflist_options.adoc
@@ -3,49 +3,61 @@
// DO NOT EDIT BY HAND!
//
* [[option_buflist.format.buffer]] *buflist.format.buffer*
-** description: pass:none[format of each line with a buffer]
+** description: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
** type: string
** values: any string
** default value: `+"${color:green}${number}.${indent}${color_hotlist}${name}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
-** description: pass:none[format for the line with current buffer]
+** description: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
** type: string
** values: any string
** default value: `+"${color:lightgreen,blue}${number}.${indent}${color_hotlist}${name}"+`
+* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
+** description: pass:none[format for hotlist (note: content is evaluated, see /help buflist)]
+** type: string
+** values: any string
+** default value: `+" ${color:green}(${hotlist}${color:green})"+`
+
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
-** description: pass:none[format for a buffer with hotlist level "highlight"]
+** description: pass:none[format for a buffer with hotlist level "highlight" (note: content is evaluated, see /help buflist)]
** type: string
** values: any string
** default value: `+"${color:magenta}"+`
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
-** description: pass:none[format for a buffer with hotlist level "low"]
+** description: pass:none[format for a buffer with hotlist level "low" (note: content is evaluated, see /help buflist)]
** type: string
** values: any string
** default value: `+"${color:white}"+`
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
-** description: pass:none[format for a buffer with hotlist level "message"]
+** description: pass:none[format for a buffer with hotlist level "message" (note: content is evaluated, see /help buflist)]
** type: string
** values: any string
** default value: `+"${color:brown}"+`
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
-** description: pass:none[format for a buffer not in hotlist]
+** description: pass:none[format for a buffer not in hotlist (note: content is evaluated, see /help buflist)]
** type: string
** values: any string
** default value: `+"${color:default}"+`
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
-** description: pass:none[format for a buffer with hotlist level "private"]
+** description: pass:none[format for a buffer with hotlist level "private" (note: content is evaluated, see /help buflist)]
** type: string
** values: any string
** default value: `+"${color:green}"+`
+* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
+** description: pass:none[separator for counts in hotlist (note: content is evaluated, see /help buflist)]
+** type: string
+** values: any string
+** default value: `+"${color:default},"+`
+
* [[option_buflist.format.lag]] *buflist.format.lag*
-** description: pass:none[format for lag on an irc server buffer]
+** description: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)]
** type: string
** values: any string
** default value: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
diff --git a/doc/en/autogen/user/weechat_commands.adoc b/doc/en/autogen/user/weechat_commands.adoc
index bddd0a053..c1d29443d 100644
--- a/doc/en/autogen/user/weechat_commands.adoc
+++ b/doc/en/autogen/user/weechat_commands.adoc
@@ -285,13 +285,15 @@ Some variables are replaced in expression, using the format ${variable}, variabl
1. an evaluated sub-string (format: "eval:xxx")
2. a string with escaped chars (format: "esc:xxx" or "\xxx")
3. a string with chars to hide (format: "hide:char,string")
- 4. a color (format: "color:xxx")
- 5. an info (format: "info:name,arguments", arguments are optional)
- 6. current date/time (format: "date" or "date:format")
- 7. an environment variable (format: "env:XXX")
- 8. an option (format: "file.section.option")
- 9. a local variable in buffer
- 10. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
+ 4. a string with max chars (format: "cut:max,suffix,string")
+ 5. a color (format: "color:xxx")
+ 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")
+ 9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
+ 10. an option (format: "file.section.option")
+ 11. a local variable in buffer
+ 12. 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, for example:
@@ -302,16 +304,18 @@ Format for hdata can be one of following:
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples (simple strings):
- /eval -n ${info:version} ==> 0.4.3
- /eval -n ${env:HOME} ==> /home/user
- /eval -n ${weechat.look.scroll_amount} ==> 3
- /eval -n ${window} ==> 0x2549aa0
- /eval -n ${window.buffer} ==> 0x2549320
- /eval -n ${window.buffer.full_name} ==> core.weechat
- /eval -n ${window.buffer.number} ==> 1
- /eval -n ${\t} ==> <tab>
- /eval -n ${hide:-,${relay.network.password}} ==> --------
- /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${info:version} ==> 0.4.3
+ /eval -n ${env:HOME} ==> /home/user
+ /eval -n ${weechat.look.scroll_amount} ==> 3
+ /eval -n ${window} ==> 0x2549aa0
+ /eval -n ${window.buffer} ==> 0x2549320
+ /eval -n ${window.buffer.full_name} ==> core.weechat
+ /eval -n ${window.buffer.number} ==> 1
+ /eval -n ${\t} ==> <tab>
+ /eval -n ${hide:-,${relay.network.password}} ==> --------
+ /eval -n ${cut:2,+,test} ==> te+
+ /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${if:${info:term_width}>80?big:small} ==> big
Examples (conditions):
/eval -n -c ${window.buffer.number} > 2 ==> 0
diff --git a/doc/fr/autogen/user/buflist_commands.adoc b/doc/fr/autogen/user/buflist_commands.adoc
new file mode 100644
index 000000000..8ea5758e8
--- /dev/null
+++ b/doc/fr/autogen/user/buflist_commands.adoc
@@ -0,0 +1,33 @@
+//
+// This file is auto-generated by script docgen.py.
+// DO NOT EDIT BY HAND!
+//
+[[command_buflist_buflist]]
+* `+buflist+`: objet de barre avec la liste des tampons
+
+----
+/buflist refresh
+
+refresh : forcer le rafraichissement de l'objet de barre "buflist"
+
+Les lignes avec les tampons sont affichées en utilisant l'évaluation de chaînes (voir /help eval pour le format), avec deux options principales :
+ - buflist.format.buffer : format pour un tampon qui n'est pas le tampon courant
+ - buflist.format.buffer_current: format pour le tampon courant
+
+Les variables suivantes peuvent être utilisées dans ces options :
+ - données du tampon (voir le hdata "buffer" dans la doc API pour une liste complète), par exemple :
+ - ${buffer.number}
+ - ${buffer.name}
+ - ${buffer.full_name}
+ - ${buffer.short_name}
+ - ${buffer.nicklist_nicks_count}
+ - variables additionnelles ajoutées par buflist pour des raisons pratiques :
+ - ${format_buffer} : la valeur évaluée de l'option buflist.format.buffer ; peut être utilisée dans l'option buflist.format.buffer_current pour juste changer la couleur de fond par exemple
+ - ${number} : numéro indenté, par exemple " 1" s'il y a entre 10 et 99 tampons
+ - ${indent} : indentation pour le nom (les tampons de canaux ou privés sont indentés)
+ - ${name} : le nom court (si défini), sinon le nom
+ - ${color_hotlist} : la couleur qui dépend du niveau de hotlist le plus élevé pour le tampon (évaluation de l'option buflist.format.hotlist_xxx où xxx est le niveau)
+ - ${format_hotlist} : la hotlist formatée (évaluation de l'option buflist.format.hotlist)
+ - ${hotlist} : la hotlist brute
+ - ${format_lag} : le lag pour un tampon de serveur IRC, vide s'il n'y a pas de lag (évaluation de l'option buflist.format.lag)
+----
diff --git a/doc/fr/autogen/user/buflist_options.adoc b/doc/fr/autogen/user/buflist_options.adoc
index 863007bbb..fe81e65e8 100644
--- a/doc/fr/autogen/user/buflist_options.adoc
+++ b/doc/fr/autogen/user/buflist_options.adoc
@@ -3,55 +3,67 @@
// DO NOT EDIT BY HAND!
//
* [[option_buflist.format.buffer]] *buflist.format.buffer*
-** description: pass:none[format of each line with a buffer]
+** description: pass:none[format pour chaque ligne avec un tampon (note : le contenu est évalué, voir /help buflist)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"${color:green}${number}.${indent}${color_hotlist}${name}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
-** description: pass:none[format for the line with current buffer]
+** description: pass:none[format pour la ligne avec le tampon courant (note : le contenu est évalué, voir /help buflist)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"${color:lightgreen,blue}${number}.${indent}${color_hotlist}${name}"+`
+* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
+** description: pass:none[format pour la hotlist (note : le contenu est évalué, voir /help buflist)]
+** type: chaîne
+** valeurs: toute chaîne
+** valeur par défaut: `+" ${color:green}(${hotlist}${color:green})"+`
+
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
-** description: pass:none[format for a buffer with hotlist level "highlight"]
+** description: pass:none[format pour un tampon avec la hotlist de niveau "highlight" (note : le contenu est évalué, voir /help buflist)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"${color:magenta}"+`
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
-** description: pass:none[format for a buffer with hotlist level "low"]
+** description: pass:none[format pour un tampon avec la hotlist de niveau "low" (note : le contenu est évalué, voir /help buflist)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"${color:white}"+`
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
-** description: pass:none[format for a buffer with hotlist level "message"]
+** description: pass:none[format pour un tampon avec la hotlist de niveau "message" (note : le contenu est évalué, voir /help buflist)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"${color:brown}"+`
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
-** description: pass:none[format for a buffer not in hotlist]
+** description: pass:none[format pour un tampon qui n'est pas dans la hotlist (note : le contenu est évalué, voir /help buflist)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"${color:default}"+`
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
-** description: pass:none[format for a buffer with hotlist level "private"]
+** description: pass:none[format pour un tampon avec la hotlist de niveau "private" (note : le contenu est évalué, voir /help buflist)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"${color:green}"+`
+* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
+** description: pass:none[séparateur pour les compteurs dans la hotlist (note : le contenu est évalué, voir /help buflist)]
+** type: chaîne
+** valeurs: toute chaîne
+** valeur par défaut: `+"${color:default},"+`
+
* [[option_buflist.format.lag]] *buflist.format.lag*
-** description: pass:none[format for lag on an irc server buffer]
+** description: pass:none[format pour le lag sur un tampon de serveur IRC (note : le contenu est évalué, voir /help buflist)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
* [[option_buflist.look.sort]] *buflist.look.sort*
-** description: pass:none[comma-separated list of fields to sort buffers; each field is a hdata variable of buffer; char "-" can be used before field to reverse order]
+** description: pass:none[liste de champs séparés par des virgules pour trier les tampons ; chaque champ est une variable hdata du tampon ; le caractère "-" peut être utilisé pour inverser l'ordre]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"number,-active"+`
diff --git a/doc/fr/autogen/user/weechat_commands.adoc b/doc/fr/autogen/user/weechat_commands.adoc
index 7b67271bf..a96b41ed4 100644
--- a/doc/fr/autogen/user/weechat_commands.adoc
+++ b/doc/fr/autogen/user/weechat_commands.adoc
@@ -285,13 +285,15 @@ Des variables sont remplacées dans l'expression, en utilisant le format ${varia
1. une sous-chaîne évaluée (format : "eval:xxx")
2. une chaîne avec les caractères échappés (format : "esc:xxx" ou "\xxx")
3. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne")
- 4. une couleur (format : "color:xxx")
- 5. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
- 6. la date/heure courante (format : "date" ou "date:format")
- 7. une variable d'environnement (format : "env:XXX")
- 8. une option (format : "fichier.section.option")
- 9. une variable locale du tampon
- 10. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
+ 4. une chaîne avec un maximum de caractères (format : "cut:max,suffixe,chaîne")
+ 5. une couleur (format : "color:xxx")
+ 6. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
+ 7. la date/heure courante (format : "date" ou "date:format")
+ 8. une variable d'environnement (format : "env:XXX")
+ 9. un opérateur ternaire (format : "if:condition?valeur_si_vrai:valeur_si_faux")
+ 10. une option (format : "fichier.section.option")
+ 11. une variable locale du tampon
+ 12. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
Le format du hdata peut être le suivant :
hdata.var1.var2... : démarrer avec un hdata (le pointeur doit être connu), et demander les variables l'une après l'autre (d'autres hdata peuvent être suivis)
hdata[liste].var1.var2... : démarrer avec un hdata en utilisant une liste, par exemple :
@@ -302,16 +304,18 @@ Le format du hdata peut être le suivant :
Pour le nom du hdata et des variables, voir la "Référence API extension", fonction "weechat_hdata_get".
Exemples (chaînes simples) :
- /eval -n ${info:version} ==> 0.4.3
- /eval -n ${env:HOME} ==> /home/user
- /eval -n ${weechat.look.scroll_amount} ==> 3
- /eval -n ${window} ==> 0x2549aa0
- /eval -n ${window.buffer} ==> 0x2549320
- /eval -n ${window.buffer.full_name} ==> core.weechat
- /eval -n ${window.buffer.number} ==> 1
- /eval -n ${\t} ==> <tab>
- /eval -n ${hide:-,${relay.network.password}} ==> --------
- /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${info:version} ==> 0.4.3
+ /eval -n ${env:HOME} ==> /home/user
+ /eval -n ${weechat.look.scroll_amount} ==> 3
+ /eval -n ${window} ==> 0x2549aa0
+ /eval -n ${window.buffer} ==> 0x2549320
+ /eval -n ${window.buffer.full_name} ==> core.weechat
+ /eval -n ${window.buffer.number} ==> 1
+ /eval -n ${\t} ==> <tab>
+ /eval -n ${hide:-,${relay.network.password}} ==> --------
+ /eval -n ${cut:2,+,test} ==> te+
+ /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${if:${info:term_width}>80?big:small} ==> big
Exemples (conditions) :
/eval -n -c ${window.buffer.number} > 2 ==> 0
diff --git a/doc/it/autogen/user/buflist_commands.adoc b/doc/it/autogen/user/buflist_commands.adoc
new file mode 100644
index 000000000..c82246851
--- /dev/null
+++ b/doc/it/autogen/user/buflist_commands.adoc
@@ -0,0 +1,33 @@
+//
+// This file is auto-generated by script docgen.py.
+// DO NOT EDIT BY HAND!
+//
+[[command_buflist_buflist]]
+* `+buflist+`: bar item with list of buffers
+
+----
+/buflist refresh
+
+refresh: force the refresh of the "buflist" bar item
+
+The lines with buffers are displayed using string evaluation (see /help eval for the format), with two main options:
+ - buflist.format.buffer: format for a buffer which is not current buffer
+ - buflist.format.buffer_current: format for the current buffer
+
+The following variables can be used in these options:
+ - buffer data (see hdata "buffer" in API doc for a complete list), for example:
+ - ${buffer.number}
+ - ${buffer.name}
+ - ${buffer.full_name}
+ - ${buffer.short_name}
+ - ${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
+ - ${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
+ - ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
+ - ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
+ - ${hotlist}: the raw hotlist
+ - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
+----
diff --git a/doc/it/autogen/user/buflist_options.adoc b/doc/it/autogen/user/buflist_options.adoc
index 3f60f063b..bb8b7d445 100644
--- a/doc/it/autogen/user/buflist_options.adoc
+++ b/doc/it/autogen/user/buflist_options.adoc
@@ -3,49 +3,61 @@
// DO NOT EDIT BY HAND!
//
* [[option_buflist.format.buffer]] *buflist.format.buffer*
-** descrizione: pass:none[format of each line with a buffer]
+** descrizione: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"${color:green}${number}.${indent}${color_hotlist}${name}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
-** descrizione: pass:none[format for the line with current buffer]
+** descrizione: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"${color:lightgreen,blue}${number}.${indent}${color_hotlist}${name}"+`
+* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
+** descrizione: pass:none[format for hotlist (note: content is evaluated, see /help buflist)]
+** tipo: stringa
+** valori: qualsiasi stringa
+** valore predefinito: `+" ${color:green}(${hotlist}${color:green})"+`
+
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
-** descrizione: pass:none[format for a buffer with hotlist level "highlight"]
+** descrizione: pass:none[format for a buffer with hotlist level "highlight" (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"${color:magenta}"+`
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
-** descrizione: pass:none[format for a buffer with hotlist level "low"]
+** descrizione: pass:none[format for a buffer with hotlist level "low" (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"${color:white}"+`
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
-** descrizione: pass:none[format for a buffer with hotlist level "message"]
+** descrizione: pass:none[format for a buffer with hotlist level "message" (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"${color:brown}"+`
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
-** descrizione: pass:none[format for a buffer not in hotlist]
+** descrizione: pass:none[format for a buffer not in hotlist (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"${color:default}"+`
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
-** descrizione: pass:none[format for a buffer with hotlist level "private"]
+** descrizione: pass:none[format for a buffer with hotlist level "private" (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"${color:green}"+`
+* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
+** descrizione: pass:none[separator for counts in hotlist (note: content is evaluated, see /help buflist)]
+** tipo: stringa
+** valori: qualsiasi stringa
+** valore predefinito: `+"${color:default},"+`
+
* [[option_buflist.format.lag]] *buflist.format.lag*
-** descrizione: pass:none[format for lag on an irc server buffer]
+** descrizione: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
diff --git a/doc/it/autogen/user/weechat_commands.adoc b/doc/it/autogen/user/weechat_commands.adoc
index f9a938620..c84a699af 100644
--- a/doc/it/autogen/user/weechat_commands.adoc
+++ b/doc/it/autogen/user/weechat_commands.adoc
@@ -285,13 +285,15 @@ Some variables are replaced in expression, using the format ${variable}, variabl
1. an evaluated sub-string (format: "eval:xxx")
2. a string with escaped chars (format: "esc:xxx" or "\xxx")
3. a string with chars to hide (format: "hide:char,string")
- 4. a color (format: "color:xxx")
- 5. an info (format: "info:name,arguments", arguments are optional)
- 6. current date/time (format: "date" or "date:format")
- 7. an environment variable (format: "env:XXX")
- 8. an option (format: "file.section.option")
- 9. a local variable in buffer
- 10. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
+ 4. a string with max chars (format: "cut:max,suffix,string")
+ 5. a color (format: "color:xxx")
+ 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")
+ 9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
+ 10. an option (format: "file.section.option")
+ 11. a local variable in buffer
+ 12. 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, for example:
@@ -302,16 +304,18 @@ Format for hdata can be one of following:
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples (simple strings):
- /eval -n ${info:version} ==> 0.4.3
- /eval -n ${env:HOME} ==> /home/user
- /eval -n ${weechat.look.scroll_amount} ==> 3
- /eval -n ${window} ==> 0x2549aa0
- /eval -n ${window.buffer} ==> 0x2549320
- /eval -n ${window.buffer.full_name} ==> core.weechat
- /eval -n ${window.buffer.number} ==> 1
- /eval -n ${\t} ==> <tab>
- /eval -n ${hide:-,${relay.network.password}} ==> --------
- /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${info:version} ==> 0.4.3
+ /eval -n ${env:HOME} ==> /home/user
+ /eval -n ${weechat.look.scroll_amount} ==> 3
+ /eval -n ${window} ==> 0x2549aa0
+ /eval -n ${window.buffer} ==> 0x2549320
+ /eval -n ${window.buffer.full_name} ==> core.weechat
+ /eval -n ${window.buffer.number} ==> 1
+ /eval -n ${\t} ==> <tab>
+ /eval -n ${hide:-,${relay.network.password}} ==> --------
+ /eval -n ${cut:2,+,test} ==> te+
+ /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${if:${info:term_width}>80?big:small} ==> big
Examples (conditions):
/eval -n -c ${window.buffer.number} > 2 ==> 0
diff --git a/doc/ja/autogen/user/buflist_commands.adoc b/doc/ja/autogen/user/buflist_commands.adoc
new file mode 100644
index 000000000..c82246851
--- /dev/null
+++ b/doc/ja/autogen/user/buflist_commands.adoc
@@ -0,0 +1,33 @@
+//
+// This file is auto-generated by script docgen.py.
+// DO NOT EDIT BY HAND!
+//
+[[command_buflist_buflist]]
+* `+buflist+`: bar item with list of buffers
+
+----
+/buflist refresh
+
+refresh: force the refresh of the "buflist" bar item
+
+The lines with buffers are displayed using string evaluation (see /help eval for the format), with two main options:
+ - buflist.format.buffer: format for a buffer which is not current buffer
+ - buflist.format.buffer_current: format for the current buffer
+
+The following variables can be used in these options:
+ - buffer data (see hdata "buffer" in API doc for a complete list), for example:
+ - ${buffer.number}
+ - ${buffer.name}
+ - ${buffer.full_name}
+ - ${buffer.short_name}
+ - ${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
+ - ${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
+ - ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
+ - ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
+ - ${hotlist}: the raw hotlist
+ - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
+----
diff --git a/doc/ja/autogen/user/buflist_options.adoc b/doc/ja/autogen/user/buflist_options.adoc
index 33f170353..7fb32e17c 100644
--- a/doc/ja/autogen/user/buflist_options.adoc
+++ b/doc/ja/autogen/user/buflist_options.adoc
@@ -3,49 +3,61 @@
// DO NOT EDIT BY HAND!
//
* [[option_buflist.format.buffer]] *buflist.format.buffer*
-** 説明: pass:none[format of each line with a buffer]
+** 説明: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:green}${number}.${indent}${color_hotlist}${name}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
-** 説明: pass:none[format for the line with current buffer]
+** 説明: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:lightgreen,blue}${number}.${indent}${color_hotlist}${name}"+`
+* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
+** 説明: pass:none[format for hotlist (note: content is evaluated, see /help buflist)]
+** タイプ: 文字列
+** 値: 未制約文字列
+** デフォルト値: `+" ${color:green}(${hotlist}${color:green})"+`
+
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
-** 説明: pass:none[format for a buffer with hotlist level "highlight"]
+** 説明: pass:none[format for a buffer with hotlist level "highlight" (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:magenta}"+`
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
-** 説明: pass:none[format for a buffer with hotlist level "low"]
+** 説明: pass:none[format for a buffer with hotlist level "low" (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:white}"+`
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
-** 説明: pass:none[format for a buffer with hotlist level "message"]
+** 説明: pass:none[format for a buffer with hotlist level "message" (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:brown}"+`
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
-** 説明: pass:none[format for a buffer not in hotlist]
+** 説明: pass:none[format for a buffer not in hotlist (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:default}"+`
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
-** 説明: pass:none[format for a buffer with hotlist level "private"]
+** 説明: pass:none[format for a buffer with hotlist level "private" (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${color:green}"+`
+* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
+** 説明: pass:none[separator for counts in hotlist (note: content is evaluated, see /help buflist)]
+** タイプ: 文字列
+** 値: 未制約文字列
+** デフォルト値: `+"${color:default},"+`
+
* [[option_buflist.format.lag]] *buflist.format.lag*
-** 説明: pass:none[format for lag on an irc server buffer]
+** 説明: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
diff --git a/doc/ja/autogen/user/weechat_commands.adoc b/doc/ja/autogen/user/weechat_commands.adoc
index afd3fc32f..1f5a7336c 100644
--- a/doc/ja/autogen/user/weechat_commands.adoc
+++ b/doc/ja/autogen/user/weechat_commands.adoc
@@ -257,63 +257,67 @@ infolists: インフォリストに関する情報を表示
/eval [-n|-s] <expression>
[-n] -c <expression1> <operator> <expression2>
- -n: 結果をバッファに送信せずに表示 (デバッグモード)
- -s: 評価前に式を分割する (複数のコマンドを指定する場合はセミコロンで区切ってください)
- -c: 条件として評価: 演算子と括弧をを使い、ブール値 ("0" または "1") を返します
-expression: 評価する式、${variable} 型の書式の変数は置換されます (以下を参照); 複数のコマンドを指定する場合はセミコロンで区切ってください
- operator: 論理演算子や比較演算子:
- - 論理演算子:
- && ブール演算の "and"
- || ブール演算の "or"
- - 比較演算子:
- == 等しい
- != 等しくない
- <= 以下
- < より少ない
- >= 以上
- > より大きい
- =~ 正規表現にマッチ
- !~ 正規表現にマッチしない
-
-式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。
-両方の式が有効な整数である場合、比較は整数を使って行われます。
-文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例:
+ -n: display result without sending it to buffer (debug mode)
+ -s: split expression before evaluating it (many commands can be separated by semicolons)
+ -c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
+expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
+ operator: a logical or comparison operator:
+ - logical operators:
+ && boolean "and"
+ || boolean "or"
+ - comparison operators:
+ == equal
+ != not equal
+ <= less or equal
+ < less
+ >= greater or equal
+ > greater
+ =~ is matching POSIX extended regex
+ !~ is NOT matching POSIX extended regex
+
+An expression is considered as "true" if it is not NULL, not empty, and different from "0".
+The comparison is made using integers if the two expressions are valid integers.
+To force a string comparison, add double quotes around each expression, for example:
50 > 100 ==> 0
"50" > "100" ==> 1
-式中の ${variable} 型の書式の変数は置換されます。変数は以下の優先順位に従います:
- 1. 評価済みのサブ文字列 (書式: "eval:xxx")
- 2. エスケープ文字を含む文字列 (書式: "esc:xxx" または "\xxx")
- 3. 隠す文字を含む文字列 (書式: "hide:char,string")
- 4. 色 (書式: "color:xxx")
- 5. 情報 (書式: "info:name,arguments"、arguments は任意)
- 6. 現在の日付/時刻 (書式: "date" または "date:format")
- 7. 環境変数 (書式: "env:XXX")
- 8. オプション (書式: "file.section.option")
- 9. バッファのローカル変数
- 10. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "window" と "buffer" は現在のウィンドウ/バッファを指します。
-hdata の書式は以下の 1 つです:
- hdata.var1.var2...: hdata (ポインタは既知) で開始し、1 個ずつ変数を続ける (他の hdata を続けることも可能)
- hdata[list].var1.var2...: リストを使う hdata で開始する、例:
- ${buffer[gui_buffers].full_name}: バッファリストにリンクされた最初のバッファのフルネーム
- ${plugin[weechat_plugins].name}: プラグインリストにリンクされた最初のプラグインの名前
- hdata[pointer].var1.var2...: ポインタを使う hdata で開始する、例:
- ${buffer[0x1234abcd].full_name}: 与えたポインタを持つバッファの完全な名前 (トリガ中で使うことが可能です)
-hdata と変数の名前については、"プラグイン API リファレンス" の "weechat_hdata_get" 関数を参照してください。
-
-例 (単純な文字列):
- /eval -n ${info:version} ==> 0.4.3
- /eval -n ${env:HOME} ==> /home/user
- /eval -n ${weechat.look.scroll_amount} ==> 3
- /eval -n ${window} ==> 0x2549aa0
- /eval -n ${window.buffer} ==> 0x2549320
- /eval -n ${window.buffer.full_name} ==> core.weechat
- /eval -n ${window.buffer.number} ==> 1
- /eval -n ${\t} ==> <tab>
- /eval -n ${hide:-,${relay.network.password}} ==> --------
- /eval -n ${date:%H:%M:%S} ==> 07:46:40
-
-例 (条件):
+Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
+ 1. an evaluated sub-string (format: "eval:xxx")
+ 2. a string with escaped chars (format: "esc:xxx" or "\xxx")
+ 3. a string with chars to hide (format: "hide:char,string")
+ 4. a string with max chars (format: "cut:max,suffix,string")
+ 5. a color (format: "color:xxx")
+ 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")
+ 9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
+ 10. an option (format: "file.section.option")
+ 11. a local variable in buffer
+ 12. 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, for example:
+ ${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
+ ${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
+ hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
+ ${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
+For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
+
+Examples (simple strings):
+ /eval -n ${info:version} ==> 0.4.3
+ /eval -n ${env:HOME} ==> /home/user
+ /eval -n ${weechat.look.scroll_amount} ==> 3
+ /eval -n ${window} ==> 0x2549aa0
+ /eval -n ${window.buffer} ==> 0x2549320
+ /eval -n ${window.buffer.full_name} ==> core.weechat
+ /eval -n ${window.buffer.number} ==> 1
+ /eval -n ${\t} ==> <tab>
+ /eval -n ${hide:-,${relay.network.password}} ==> --------
+ /eval -n ${cut:2,+,test} ==> te+
+ /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${if:${info:term_width}>80?big:small} ==> big
+
+Examples (conditions):
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
diff --git a/doc/pl/autogen/user/buflist_commands.adoc b/doc/pl/autogen/user/buflist_commands.adoc
new file mode 100644
index 000000000..c82246851
--- /dev/null
+++ b/doc/pl/autogen/user/buflist_commands.adoc
@@ -0,0 +1,33 @@
+//
+// This file is auto-generated by script docgen.py.
+// DO NOT EDIT BY HAND!
+//
+[[command_buflist_buflist]]
+* `+buflist+`: bar item with list of buffers
+
+----
+/buflist refresh
+
+refresh: force the refresh of the "buflist" bar item
+
+The lines with buffers are displayed using string evaluation (see /help eval for the format), with two main options:
+ - buflist.format.buffer: format for a buffer which is not current buffer
+ - buflist.format.buffer_current: format for the current buffer
+
+The following variables can be used in these options:
+ - buffer data (see hdata "buffer" in API doc for a complete list), for example:
+ - ${buffer.number}
+ - ${buffer.name}
+ - ${buffer.full_name}
+ - ${buffer.short_name}
+ - ${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
+ - ${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
+ - ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
+ - ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
+ - ${hotlist}: the raw hotlist
+ - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
+----
diff --git a/doc/pl/autogen/user/buflist_options.adoc b/doc/pl/autogen/user/buflist_options.adoc
index cb54093af..86a8a470d 100644
--- a/doc/pl/autogen/user/buflist_options.adoc
+++ b/doc/pl/autogen/user/buflist_options.adoc
@@ -3,49 +3,61 @@
// DO NOT EDIT BY HAND!
//
* [[option_buflist.format.buffer]] *buflist.format.buffer*
-** opis: pass:none[format of each line with a buffer]
+** 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}"+`
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
-** opis: pass:none[format for the line with current buffer]
+** 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}"+`
+* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
+** opis: pass:none[format for hotlist (note: content is evaluated, see /help buflist)]
+** typ: ciąg
+** wartości: dowolny ciąg
+** domyślna wartość: `+" ${color:green}(${hotlist}${color:green})"+`
+
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
-** opis: pass:none[format for a buffer with hotlist level "highlight"]
+** opis: pass:none[format for a buffer with hotlist level "highlight" (note: content is evaluated, see /help buflist)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"${color:magenta}"+`
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
-** opis: pass:none[format for a buffer with hotlist level "low"]
+** opis: pass:none[format for a buffer with hotlist level "low" (note: content is evaluated, see /help buflist)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"${color:white}"+`
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
-** opis: pass:none[format for a buffer with hotlist level "message"]
+** opis: pass:none[format for a buffer with hotlist level "message" (note: content is evaluated, see /help buflist)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"${color:brown}"+`
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
-** opis: pass:none[format for a buffer not in hotlist]
+** opis: pass:none[format for a buffer not in hotlist (note: content is evaluated, see /help buflist)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"${color:default}"+`
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
-** opis: pass:none[format for a buffer with hotlist level "private"]
+** opis: pass:none[format for a buffer with hotlist level "private" (note: content is evaluated, see /help buflist)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"${color:green}"+`
+* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
+** opis: pass:none[separator for counts in hotlist (note: content is evaluated, see /help buflist)]
+** typ: ciąg
+** wartości: dowolny ciąg
+** domyślna wartość: `+"${color:default},"+`
+
* [[option_buflist.format.lag]] *buflist.format.lag*
-** opis: pass:none[format for lag on an irc server buffer]
+** opis: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
diff --git a/doc/pl/autogen/user/weechat_commands.adoc b/doc/pl/autogen/user/weechat_commands.adoc
index 891eba3db..c3b7c8596 100644
--- a/doc/pl/autogen/user/weechat_commands.adoc
+++ b/doc/pl/autogen/user/weechat_commands.adoc
@@ -257,63 +257,67 @@ infolists: wyświetla informacje o infolistach
/eval [-n|-s] <wyrażenie>
[-n] -c <wyrażenie1> <operator> <wyrażenie2>
- -n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)
- -s: podziel wyażenie przed przetworzeniem go (wiele komend może być oddzielonych średnikami)
- -c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca wartość logiczną ("0" lub "1")
-wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są zastępowane (zobacz niżej); wiele komend można oddzielić średnikami
- operator: operator logiczny lub porównania:
- - operatory logiczne:
- && boolowskie "i"
- || boolowskie "lub"
- - operatory porównania:
- == równy
- != różny
- <= mniejszy lub równy
- < mniejszy
- >= większy lub równy
- > większy
- =~ pasuje do rozszerzonego wyrażenia regularnego POSIX
- !~ NIE pasuje do rozszerzonego wyrażenia regularnego POSIX
-
-Wyrażenie jest uznawane za "prawdziwe" jeśli nie jest NULL, nie jest puste, oraz różni się od "0".
-Porównania dokonuje się z użyciem liczb całkowitych jeśli oba wyrażenia są liczbami całkowitymi.
-W celu wymuszenia porównywania ciągów, należy umieścić każde wyrażenie w cudzysłowie, na przykład:
+ -n: display result without sending it to buffer (debug mode)
+ -s: split expression before evaluating it (many commands can be separated by semicolons)
+ -c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
+expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
+ operator: a logical or comparison operator:
+ - logical operators:
+ && boolean "and"
+ || boolean "or"
+ - comparison operators:
+ == equal
+ != not equal
+ <= less or equal
+ < less
+ >= greater or equal
+ > greater
+ =~ is matching POSIX extended regex
+ !~ is NOT matching POSIX extended regex
+
+An expression is considered as "true" if it is not NULL, not empty, and different from "0".
+The comparison is made using integers if the two expressions are valid integers.
+To force a string comparison, add double quotes around each expression, for example:
50 > 100 ==> 0
"50" > "100" ==> 1
-Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
- 1. przetworzony ciąg (format: "eval:xxx")
- 2. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
- 3. ciąg ze znakami do ukrycia (format: "hide:char,string")
- 4. kolor (format color:xxx)
- 5. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
- 6. obecna data/czas (format: "date" lub "date:format")
- 7. zmienna środowiskowa (format: "env:XXX")
- 8. opcja (format: plik.sekcja.opcja)
- 9. zmienna lokalna w buforze
- 10. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie "window" i "buffer" wskazują na aktualne okno/bufor.
-Format dla hdata może być jednym z poniższych:
- hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), następnie wypytuje zmienne jedna po drugiej (inne hdata mogą być następne)
- hdata[list].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład:
- ${buffer[gui_buffers].full_name}: pełna nazwa buforu w połączonej liście buforów
- ${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek
- hdata[wskaźnik].zmienna1.zmienna2...: zacznij z hdata używając wskaźnika, na przykład:
- ${buffer[0x1234abcd].full_name}: pełna nazwa buforu z tym wskaźnikiem (może zostać użyte w triggerach)
-Nazwy hdata i zmiennych, można znaleźć w "Opisie API wtyczek", fukcja "weechat_hdata_get".
-
-Przykłady (proste ciągi):
- /eval -n ${info:version} ==> 0.4.3
- /eval -n ${env:HOME} ==> /home/user
- /eval -n ${weechat.look.scroll_amount} ==> 3
- /eval -n ${window} ==> 0x2549aa0
- /eval -n ${window.buffer} ==> 0x2549320
- /eval -n ${window.buffer.full_name} ==> core.weechat
- /eval -n ${window.buffer.number} ==> 1
- /eval -n ${\t} ==> <tab>
- /eval -n ${hide:-,${relay.network.password}} ==> --------
- /eval -n ${hide:-,${relay.network.password}} ==> --------
-
-Przykłady (warunki):
+Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
+ 1. an evaluated sub-string (format: "eval:xxx")
+ 2. a string with escaped chars (format: "esc:xxx" or "\xxx")
+ 3. a string with chars to hide (format: "hide:char,string")
+ 4. a string with max chars (format: "cut:max,suffix,string")
+ 5. a color (format: "color:xxx")
+ 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")
+ 9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
+ 10. an option (format: "file.section.option")
+ 11. a local variable in buffer
+ 12. 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, for example:
+ ${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
+ ${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
+ hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
+ ${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
+For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
+
+Examples (simple strings):
+ /eval -n ${info:version} ==> 0.4.3
+ /eval -n ${env:HOME} ==> /home/user
+ /eval -n ${weechat.look.scroll_amount} ==> 3
+ /eval -n ${window} ==> 0x2549aa0
+ /eval -n ${window.buffer} ==> 0x2549320
+ /eval -n ${window.buffer.full_name} ==> core.weechat
+ /eval -n ${window.buffer.number} ==> 1
+ /eval -n ${\t} ==> <tab>
+ /eval -n ${hide:-,${relay.network.password}} ==> --------
+ /eval -n ${cut:2,+,test} ==> te+
+ /eval -n ${date:%H:%M:%S} ==> 07:46:40
+ /eval -n ${if:${info:term_width}>80?big:small} ==> big
+
+Examples (conditions):
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
diff --git a/po/cs.po b/po/cs.po
index e754d097b..77e56ec65 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-01-06 21:59+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1471,13 +1471,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1496,16 +1499,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -4866,6 +4871,112 @@ msgstr "%s: upozornění: slovník \"%s\" není dostupný ve vašem systému"
msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr "%s%s: nemohu vytvořit server \"%s\""
+#, fuzzy
+msgid "Buffers list"
+msgstr "Seznam bufferů:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "seznam bufferů"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
+
msgid "Charset conversions"
msgstr "konverze znakové sady"
diff --git a/po/de.po b/po/de.po
index 7e51fcd28..34cf2ec78 100644
--- a/po/de.po
+++ b/po/de.po
@@ -19,7 +19,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-03-12 21:27+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -1537,6 +1537,7 @@ msgstr "evaluierter Ausdruck"
msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
+#, fuzzy
msgid ""
" -n: display result without sending it to buffer (debug mode)\n"
" -s: split expression before evaluating it (many commands can be "
@@ -1573,13 +1574,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1598,16 +1602,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -5732,6 +5738,122 @@ msgstr ""
"%s%s: Fehler: Rechtsschreibkorrektur für Sprache \"%s\" kann nicht erstellt "
"werden"
+#, fuzzy
+msgid "Buffers list"
+msgstr "Liste der vorhandenen Buffer:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "Auflistung der Buffer"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"Realname der auf dem Server genutzt werden soll (Hinweis: Inhalt wird "
+"evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"Realname der auf dem Server genutzt werden soll (Hinweis: Inhalt wird "
+"evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr "Passwort für Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr "Passwort für Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"Username für Proxy Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "Passwort für Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"Username für Proxy Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"Username der auf dem Server genutzt werden soll (Hinweis: Inhalt wird "
+"evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"Username der auf dem Server genutzt werden soll (Hinweis: Inhalt wird "
+"evaluiert, siehe /help eval)"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "Passwort für Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)"
+
msgid "Charset conversions"
msgstr "Zeichensatzkonvertierung"
diff --git a/po/es.po b/po/es.po
index 76cca0715..ad7ce896e 100644
--- a/po/es.po
+++ b/po/es.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-01-06 22:01+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1503,13 +1503,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1528,16 +1531,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -5078,6 +5083,112 @@ msgstr "%s: atención: diccionario \"%s\" no está disponible en su sistema"
msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr "%s%s: no es posible crear el servidor \"%s\""
+#, fuzzy
+msgid "Buffers list"
+msgstr "Lista de buffers:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "lista de buffers"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
+
msgid "Charset conversions"
msgstr "Conversiones de mapa de caracteres"
diff --git a/po/fr.po b/po/fr.po
index adda47c2e..6715ef398 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
-"PO-Revision-Date: 2017-03-12 18:32+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
+"PO-Revision-Date: 2017-03-25 15:11+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -1550,13 +1550,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1575,16 +1578,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -1635,14 +1640,18 @@ msgstr ""
"\")\n"
" 3. une chaîne avec des caractères à cacher (format : \"hide:caractère,"
"chaîne\")\n"
-" 4. une couleur (format : \"color:xxx\")\n"
-" 5. une info (format : \"info:nom,paramètres\", les paramètres sont "
+" 4. une chaîne avec un maximum de caractères (format : \"cut:max,suffixe,"
+"chaîne\")\n"
+" 5. une couleur (format : \"color:xxx\")\n"
+" 6. une info (format : \"info:nom,paramètres\", les paramètres sont "
"optionnels)\n"
-" 6. la date/heure courante (format : \"date\" ou \"date:format\")\n"
-" 7. une variable d'environnement (format : \"env:XXX\")\n"
-" 8. une option (format : \"fichier.section.option\")\n"
-" 9. une variable locale du tampon\n"
-" 10. un hdata/variable (la valeur est automatiquement convertie en chaîne), "
+" 7. la date/heure courante (format : \"date\" ou \"date:format\")\n"
+" 8. une variable d'environnement (format : \"env:XXX\")\n"
+" 9. un opérateur ternaire (format : \"if:condition?valeur_si_vrai:"
+"valeur_si_faux\")\n"
+" 10. une option (format : \"fichier.section.option\")\n"
+" 11. une variable locale du tampon\n"
+" 12. un hdata/variable (la valeur est automatiquement convertie en chaîne), "
"par défaut \"window\" et \"buffer\" pointent vers la fenêtre et le tampon "
"courants.\n"
"Le format du hdata peut être le suivant :\n"
@@ -1663,16 +1672,18 @@ msgstr ""
"fonction \"weechat_hdata_get\".\n"
"\n"
"Exemples (chaînes simples) :\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Exemples (conditions) :\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -5607,6 +5618,156 @@ msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr ""
"%s%s : impossible de créer le correcteur orthographique pour la langue \"%s\""
+msgid "Buffers list"
+msgstr "Liste des tampons"
+
+msgid "bar item with list of buffers"
+msgstr "objet de barre avec la liste des tampons"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+"refresh : forcer le rafraichissement de l'objet de barre \"buflist\"\n"
+"\n"
+"Les lignes avec les tampons sont affichées en utilisant l'évaluation de "
+"chaînes (voir /help eval pour le format), avec deux options principales :\n"
+" - buflist.format.buffer : format pour un tampon qui n'est pas le tampon "
+"courant\n"
+" - buflist.format.buffer_current: format pour le tampon courant\n"
+"\n"
+"Les variables suivantes peuvent être utilisées dans ces options :\n"
+" - données du tampon (voir le hdata \"buffer\" dans la doc API pour une "
+"liste complète), par exemple :\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - variables additionnelles ajoutées par buflist pour des raisons "
+"pratiques :\n"
+" - ${format_buffer} : la valeur évaluée de l'option buflist.format."
+"buffer ; peut être utilisée dans l'option buflist.format.buffer_current pour "
+"juste changer la couleur de fond par exemple\n"
+" - ${number} : numéro indenté, par exemple \" 1\" s'il y a entre 10 et 99 "
+"tampons\n"
+" - ${indent} : indentation pour le nom (les tampons de canaux ou privés "
+"sont indentés)\n"
+" - ${name} : le nom court (si défini), sinon le nom\n"
+" - ${color_hotlist} : la couleur qui dépend du niveau de hotlist le plus "
+"élevé pour le tampon (évaluation de l'option buflist.format.hotlist_xxx où "
+"xxx est le niveau)\n"
+" - ${format_hotlist} : la hotlist formatée (évaluation de l'option "
+"buflist.format.hotlist)\n"
+" - ${hotlist} : la hotlist brute\n"
+" - ${format_lag} : le lag pour un tampon de serveur IRC, vide s'il n'y a "
+"pas de lag (évaluation de l'option buflist.format.lag)"
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+"liste de champs séparés par des virgules pour trier les tampons ; chaque "
+"champ est une variable hdata du tampon ; le caractère \"-\" peut être "
+"utilisé pour inverser l'ordre"
+
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"format pour chaque ligne avec un tampon (note : le contenu est évalué, voir /"
+"help buflist)"
+
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"format pour la ligne avec le tampon courant (note : le contenu est évalué, "
+"voir /help buflist)"
+
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr ""
+"format pour la hotlist (note : le contenu est évalué, voir /help buflist)"
+
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr ""
+"format pour un tampon avec la hotlist de niveau \"low\" (note : le contenu "
+"est évalué, voir /help buflist)"
+
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"format pour un tampon avec la hotlist de niveau \"message\" (note : le "
+"contenu est évalué, voir /help buflist)"
+
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"format pour un tampon avec la hotlist de niveau \"private\" (note : le "
+"contenu est évalué, voir /help buflist)"
+
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"format pour un tampon avec la hotlist de niveau \"highlight\" (note : le "
+"contenu est évalué, voir /help buflist)"
+
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"format pour un tampon qui n'est pas dans la hotlist (note : le contenu est "
+"évalué, voir /help buflist)"
+
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"séparateur pour les compteurs dans la hotlist (note : le contenu est évalué, "
+"voir /help buflist)"
+
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"format pour le lag sur un tampon de serveur IRC (note : le contenu est "
+"évalué, voir /help buflist)"
+
msgid "Charset conversions"
msgstr "Conversions de charset"
diff --git a/po/hu.po b/po/hu.po
index 888f2ec04..04e959801 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-01-06 22:03+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1393,13 +1393,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1418,16 +1421,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -4404,6 +4409,111 @@ msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr "%s nem sikerült a szervert létrehozni\n"
#, fuzzy
+msgid "Buffers list"
+msgstr "hotlist törlése"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "Aliaszok listája:\n"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "felhasználónév az IRC szerveren"
+
+#, fuzzy
msgid "Charset conversions"
msgstr "WeeChat szlogen"
diff --git a/po/it.po b/po/it.po
index 547b5c602..8a43aa147 100644
--- a/po/it.po
+++ b/po/it.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-01-06 22:04+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1486,13 +1486,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1511,16 +1514,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -5217,6 +5222,132 @@ msgstr ""
msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr "%s%s: impossibile creare il server \"%s\""
+#, fuzzy
+msgid "Buffers list"
+msgstr "Elenco buffer:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "elenco dei buffer"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"nome utente per il server proxy (nota: il contenuto viene valutato, "
+"consultare /help eval)"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"nome utente per il server proxy (nota: il contenuto viene valutato, "
+"consultare /help eval)"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr ""
+"password per il server (nota: il contenuto viene valutato, consultare /help "
+"eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr ""
+"password per il server (nota: il contenuto viene valutato, consultare /help "
+"eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"nome utente per il server proxy (nota: il contenuto viene valutato, "
+"consultare /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"password per il server (nota: il contenuto viene valutato, consultare /help "
+"eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"nome utente per il server proxy (nota: il contenuto viene valutato, "
+"consultare /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"nome utente per il server proxy (nota: il contenuto viene valutato, "
+"consultare /help eval)"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"nome utente per il server proxy (nota: il contenuto viene valutato, "
+"consultare /help eval)"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"password per il server (nota: il contenuto viene valutato, consultare /help "
+"eval)"
+
msgid "Charset conversions"
msgstr "Conversione del set caratteri"
diff --git a/po/ja.po b/po/ja.po
index 7bb994331..7999dc9d2 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-03-20 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -1479,6 +1479,7 @@ msgstr "式を評価"
msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
msgstr "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
+#, fuzzy
msgid ""
" -n: display result without sending it to buffer (debug mode)\n"
" -s: split expression before evaluating it (many commands can be "
@@ -1515,13 +1516,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1540,16 +1544,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -5350,6 +5356,126 @@ msgstr "%s: 警告: 辞書 \"%s\" がこのシステム上では利用できま
msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr "%s%s: エラー: 言語 \"%s\" のスペラーを作成できません"
+#, fuzzy
+msgid "Buffers list"
+msgstr "バッファリスト:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "バッファのリスト"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"サーバで使用する実名 (注意: 値は評価されます、/help eval を参照してください)"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"サーバで使用する実名 (注意: 値は評価されます、/help eval を参照してください)"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr ""
+"サーバのパスワード (注意: 値は評価されます、/help eval を参照してください)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr ""
+"サーバのパスワード (注意: 値は評価されます、/help eval を参照してください)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"プロキシサーバのユーザ名 (注意: 値は評価されます、/help eval を参照してくださ"
+"い)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"サーバのパスワード (注意: 値は評価されます、/help eval を参照してください)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"プロキシサーバのユーザ名 (注意: 値は評価されます、/help eval を参照してくださ"
+"い)"
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"サーバで使用するユーザ名 (注意: 値は評価されます、/help eval を参照してくださ"
+"い)"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"サーバで使用するユーザ名 (注意: 値は評価されます、/help eval を参照してくださ"
+"い)"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"サーバのパスワード (注意: 値は評価されます、/help eval を参照してください)"
+
msgid "Charset conversions"
msgstr "文字セット変換"
diff --git a/po/pl.po b/po/pl.po
index e8b1565c7..a27f6040a 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-01-06 22:05+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1513,6 +1513,7 @@ msgstr "przetwórz wyrażenie"
msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
msgstr "[-n|-s] <wyrażenie> || [-n] -c <wyrażenie1> <operator> <wyrażenie2>"
+#, fuzzy
msgid ""
" -n: display result without sending it to buffer (debug mode)\n"
" -s: split expression before evaluating it (many commands can be "
@@ -1549,13 +1550,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1574,16 +1578,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -5469,6 +5475,128 @@ msgstr "%s: ostrzeżenie: słownik \"%s\" nie jest dostępny w Twoim systemie"
msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr "%s%s: błąd: nie można utworzyć słownika dla języka \"%s\""
+#, fuzzy
+msgid "Buffers list"
+msgstr "Lista buforów:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "lista buforów"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"prawdziwa nazwa do użycia na serwerze (uwaga: zawartość jest przetwarzana, "
+"zobacz /help eval)"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"prawdziwa nazwa do użycia na serwerze (uwaga: zawartość jest przetwarzana, "
+"zobacz /help eval)"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr ""
+"hasło dla serwera (uwaga: zawartość jest przetwarzana, zobacz /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr ""
+"hasło dla serwera (uwaga: zawartość jest przetwarzana, zobacz /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"nazwa użytkownika dla serwera proxy (zawartość jest przetwarzana, zobacz /"
+"help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"hasło dla serwera (uwaga: zawartość jest przetwarzana, zobacz /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"nazwa użytkownika dla serwera proxy (zawartość jest przetwarzana, zobacz /"
+"help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"nazwa użytkownika do użycia na serwerze (uwaga: zawartość jest przetwarzana, "
+"zobacz /help eval)"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"nazwa użytkownika do użycia na serwerze (uwaga: zawartość jest przetwarzana, "
+"zobacz /help eval)"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"hasło dla serwera (uwaga: zawartość jest przetwarzana, zobacz /help eval)"
+
msgid "Charset conversions"
msgstr "Konwersja kodowania"
diff --git a/po/pt.po b/po/pt.po
index 4ae2bcd08..5667e2ed8 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-01-14 21:39+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -1502,6 +1502,7 @@ msgstr "avaliar uma expressão"
msgid "[-n|-s] <expression> || [-n] -c <expression1> <operator> <expression2>"
msgstr "[-n|-s] <expressão> || [-n] -c <expressão1> <operador> <expressão2>"
+#, fuzzy
msgid ""
" -n: display result without sending it to buffer (debug mode)\n"
" -s: split expression before evaluating it (many commands can be "
@@ -1538,13 +1539,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1563,16 +1567,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -5471,6 +5477,126 @@ msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr ""
"%s%s: erro: não foi possível criar o corretor ortográfico da língua \"%s\""
+#, fuzzy
+msgid "Buffers list"
+msgstr "Lista de buffers:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "lista de buffers"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr ""
+"palavra-passe para o servidor (nota: o conteúdo é avaliado, ver /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr ""
+"palavra-passe para o servidor (nota: o conteúdo é avaliado, ver /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"nome do utilizador do servidor proxy (nota: o conteúdo é avaliado, ver /help "
+"eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"palavra-passe para o servidor (nota: o conteúdo é avaliado, ver /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"nome do utilizador do servidor proxy (nota: o conteúdo é avaliado, ver /help "
+"eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"nome de utilizador para usar no servidor (nota: o conteúdo é avaliado, ver /"
+"help eval)"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"nome de utilizador para usar no servidor (nota: o conteúdo é avaliado, ver /"
+"help eval)"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"palavra-passe para o servidor (nota: o conteúdo é avaliado, ver /help eval)"
+
msgid "Charset conversions"
msgstr "Conversões de conjunto de carateres"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index ae0d06db5..b21816d73 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2016-09-03 08:24+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1548,13 +1548,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1573,16 +1576,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -5020,6 +5025,132 @@ msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr "%s%s: não foi possível criar diretório para registros (\"%s\")"
#, fuzzy
+msgid "Buffers list"
+msgstr "Lista de buffers:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "lista de buffers"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
+"(nota: conteúdo é avaliado, veja /help eval)"
+
+#, fuzzy
msgid "Charset conversions"
msgstr "versão do WeeChat"
diff --git a/po/ru.po b/po/ru.po
index ed8dfbca5..37dda148a 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-01-06 22:06+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1415,13 +1415,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1440,16 +1443,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -4442,6 +4447,111 @@ msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr "%s не могу создать сервер \"%s\"\n"
#, fuzzy
+msgid "Buffers list"
+msgstr "Список буферов:"
+
+#, fuzzy
+msgid "bar item with list of buffers"
+msgstr "Список сокращений:\n"
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+#, fuzzy
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+#, fuzzy
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+#, fuzzy
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+
+#, fuzzy
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+#, fuzzy
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+#, fuzzy
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr "ник, используемый на IRC сервере"
+
+#, fuzzy
msgid "Charset conversions"
msgstr "слоган WeeChat"
diff --git a/po/tr.po b/po/tr.po
index d12b2b90c..b233bb7d7 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2017-01-06 22:07+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1249,13 +1249,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1274,16 +1277,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -4008,6 +4013,101 @@ msgstr ""
msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr ""
+#, fuzzy
+msgid "Buffers list"
+msgstr "Xfer listesi:"
+
+msgid "bar item with list of buffers"
+msgstr ""
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+
msgid "Charset conversions"
msgstr ""
diff --git a/po/weechat.pot b/po/weechat.pot
index 44b36b3af..9d48ae592 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-03-12 18:31+0100\n"
+"POT-Creation-Date: 2017-03-25 15:10+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1252,13 +1252,16 @@ msgid ""
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
-" 4. a color (format: \"color:xxx\")\n"
-" 5. an info (format: \"info:name,arguments\", arguments are optional)\n"
-" 6. current date/time (format: \"date\" or \"date:format\")\n"
-" 7. an environment variable (format: \"env:XXX\")\n"
-" 8. an option (format: \"file.section.option\")\n"
-" 9. a local variable in buffer\n"
-" 10. a hdata name/variable (the value is automatically converted to "
+" 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+" 5. a color (format: \"color:xxx\")\n"
+" 6. an info (format: \"info:name,arguments\", arguments are optional)\n"
+" 7. current date/time (format: \"date\" or \"date:format\")\n"
+" 8. an environment variable (format: \"env:XXX\")\n"
+" 9. a ternary operator (format: \"if:condition?value_if_true:value_if_false"
+"\")\n"
+" 10. an option (format: \"file.section.option\")\n"
+" 11. a local variable in buffer\n"
+" 12. a hdata name/variable (the value is automatically converted to "
"string), by default \"window\" and \"buffer\" point to current window/"
"buffer.\n"
"Format for hdata can be one of following:\n"
@@ -1277,16 +1280,18 @@ msgid ""
"function \"weechat_hdata_get\".\n"
"\n"
"Examples (simple strings):\n"
-" /eval -n ${info:version} ==> 0.4.3\n"
-" /eval -n ${env:HOME} ==> /home/user\n"
-" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
-" /eval -n ${window} ==> 0x2549aa0\n"
-" /eval -n ${window.buffer} ==> 0x2549320\n"
-" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
-" /eval -n ${window.buffer.number} ==> 1\n"
-" /eval -n ${\\t} ==> <tab>\n"
-" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
-" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${info:version} ==> 0.4.3\n"
+" /eval -n ${env:HOME} ==> /home/user\n"
+" /eval -n ${weechat.look.scroll_amount} ==> 3\n"
+" /eval -n ${window} ==> 0x2549aa0\n"
+" /eval -n ${window.buffer} ==> 0x2549320\n"
+" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
+" /eval -n ${window.buffer.number} ==> 1\n"
+" /eval -n ${\\t} ==> <tab>\n"
+" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+" /eval -n ${cut:2,+,test} ==> te+\n"
+" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
+" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
"Examples (conditions):\n"
" /eval -n -c ${window.buffer.number} > 2 ==> 0\n"
@@ -3994,6 +3999,100 @@ msgstr ""
msgid "%s%s: error: unable to create speller for lang \"%s\""
msgstr ""
+msgid "Buffers list"
+msgstr ""
+
+msgid "bar item with list of buffers"
+msgstr ""
+
+msgid ""
+"refresh: force the refresh of the \"buflist\" bar item\n"
+"\n"
+"The lines with buffers are displayed using string evaluation (see /help eval "
+"for the format), with two main options:\n"
+" - buflist.format.buffer: format for a buffer which is not current buffer\n"
+" - buflist.format.buffer_current: format for the current buffer\n"
+"\n"
+"The following variables can be used in these options:\n"
+" - buffer data (see hdata \"buffer\" in API doc for a complete list), for "
+"example:\n"
+" - ${buffer.number}\n"
+" - ${buffer.name}\n"
+" - ${buffer.full_name}\n"
+" - ${buffer.short_name}\n"
+" - ${buffer.nicklist_nicks_count}\n"
+" - extra variables added by buflist for convenience:\n"
+" - ${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\n"
+" - ${number}: indented number, for example \" 1\" if there are between 10 "
+"and 99 buffers\n"
+" - ${indent}: indentation for name (channel and private buffers are "
+"indented)\n"
+" - ${name}: the short name (if set), with a fallback on the name\n"
+" - ${color_hotlist}: the color depending on the highest hotlist level for "
+"the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the "
+"level)\n"
+" - ${format_hotlist}: the formatted hotlist (evaluation of option buflist."
+"format.hotlist)\n"
+" - ${hotlist}: the raw hotlist\n"
+" - ${format_lag}: the lag for an IRC server buffer, empty if there's no "
+"lag (evaluation of option buflist.format.lag)"
+msgstr ""
+
+msgid ""
+"comma-separated list of fields to sort buffers; each field is a hdata "
+"variable of buffer; char \"-\" can be used before field to reverse order"
+msgstr ""
+
+msgid ""
+"format of each line with a buffer (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+
+msgid ""
+"format for the line with current buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+
+msgid "format for hotlist (note: content is evaluated, see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer with hotlist level \"low\" (note: content is evaluated, "
+"see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer with hotlist level \"message\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer with hotlist level \"private\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer with hotlist level \"highlight\" (note: content is "
+"evaluated, see /help buflist)"
+msgstr ""
+
+msgid ""
+"format for a buffer not in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+
+msgid ""
+"separator for counts in hotlist (note: content is evaluated, see /help "
+"buflist)"
+msgstr ""
+
+msgid ""
+"format for lag on an IRC server buffer (note: content is evaluated, see /"
+"help buflist)"
+msgstr ""
+
msgid "Charset conversions"
msgstr ""
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index a6f03f3c0..a3a6bb472 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -7268,16 +7268,17 @@ command_init ()
" 1. an evaluated sub-string (format: \"eval:xxx\")\n"
" 2. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
" 3. a string with chars to hide (format: \"hide:char,string\")\n"
- " 4. a color (format: \"color:xxx\")\n"
- " 5. an info (format: \"info:name,arguments\", arguments are "
+ " 4. a string with max chars (format: \"cut:max,suffix,string\")\n"
+ " 5. a color (format: \"color:xxx\")\n"
+ " 6. an info (format: \"info:name,arguments\", arguments are "
"optional)\n"
- " 6. current date/time (format: \"date\" or \"date:format\")\n"
- " 7. an environment variable (format: \"env:XXX\")\n"
- " 8. a ternary operator (format: "
- "if:condition?value_if_true:value_if_false)\n"
- " 9. an option (format: \"file.section.option\")\n"
- " 10. a local variable in buffer\n"
- " 11. a hdata name/variable (the value is automatically converted "
+ " 7. current date/time (format: \"date\" or \"date:format\")\n"
+ " 8. an environment variable (format: \"env:XXX\")\n"
+ " 9. a ternary operator (format: "
+ "\"if:condition?value_if_true:value_if_false\")\n"
+ " 10. an option (format: \"file.section.option\")\n"
+ " 11. a local variable in buffer\n"
+ " 12. a hdata name/variable (the value is automatically converted "
"to string), by default \"window\" and \"buffer\" point to current "
"window/buffer.\n"
"Format for hdata can be one of following:\n"
@@ -7306,6 +7307,7 @@ command_init ()
" /eval -n ${window.buffer.number} ==> 1\n"
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
+ " /eval -n ${cut:2,+,test} ==> te+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/src/plugins/buflist/buflist-command.c b/src/plugins/buflist/buflist-command.c
index 57156f907..392c298ac 100644
--- a/src/plugins/buflist/buflist-command.c
+++ b/src/plugins/buflist/buflist-command.c
@@ -70,7 +70,7 @@ buflist_command_init ()
"buflist",
N_("bar item with list of buffers"),
"refresh",
- N_("refresh: force the refresh of the buflist bar item\n"
+ N_("refresh: force the refresh of the \"buflist\" bar item\n"
"\n"
"The lines with buffers are displayed using string evaluation "
"(see /help eval for the format), with two main options:\n"
@@ -92,19 +92,19 @@ buflist_command_init ()
"buflist.format.buffer_current to just change the background color "
"for example\n"
" - ${number}: indented number, for example \" 1\" if there "
- "are between 10 and 99 buffers opened\n"
+ "are between 10 and 99 buffers\n"
" - ${indent}: indentation for name (channel and private "
"buffers are indented)\n"
" - ${name}: the short name (if set), with a fallback on the "
"name\n"
" - ${color_hotlist}: the color depending on the highest "
- "hotlist level for the buffer, which is the content of option "
- "buflist.format.hotlist_xxx (xxx is the level)\n"
+ "hotlist level for the buffer (evaluation of option "
+ "buflist.format.hotlist_xxx where xxx is the level)\n"
" - ${format_hotlist}: the formatted hotlist (evaluation "
"of option buflist.format.hotlist)\n"
" - ${hotlist}: the raw hotlist\n"
- " - ${format_lag}: the lag for an IRC server buffer "
- "(empty if there's no lag)\n"),
+ " - ${format_lag}: the lag for an IRC server buffer, empty if "
+ "there's no lag (evaluation of option buflist.format.lag)"),
"refresh",
&buflist_command_buflist, NULL, NULL);
}
diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c
index cb4711001..48f5a4766 100644
--- a/src/plugins/buflist/buflist-config.c
+++ b/src/plugins/buflist/buflist-config.c
@@ -247,7 +247,7 @@ buflist_config_init ()
buflist_config_format_lag = weechat_config_new_option (
buflist_config_file, ptr_section,
"lag", "string",
- N_("format for lag on an irc server buffer "
+ N_("format for lag on an IRC server buffer "
"(note: content is evaluated, see /help buflist)"),
NULL, 0, 0,
" ${color:green}[${color:brown}${lag}${color:green}]",