diff options
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | doc/de/includes/autogen_user_commands.de.adoc | 75 | ||||
-rw-r--r-- | doc/en/includes/autogen_user_commands.en.adoc | 1 | ||||
-rw-r--r-- | doc/fr/includes/autogen_user_commands.fr.adoc | 1 | ||||
-rw-r--r-- | doc/it/includes/autogen_user_commands.it.adoc | 1 | ||||
-rw-r--r-- | doc/ja/includes/autogen_user_commands.ja.adoc | 1 | ||||
-rw-r--r-- | doc/pl/includes/autogen_user_commands.pl.adoc | 75 | ||||
-rw-r--r-- | doc/sr/includes/autogen_user_commands.sr.adoc | 75 | ||||
-rw-r--r-- | po/cs.po | 4 | ||||
-rw-r--r-- | po/de.po | 91 | ||||
-rw-r--r-- | po/es.po | 4 | ||||
-rw-r--r-- | po/fr.po | 8 | ||||
-rw-r--r-- | po/hu.po | 4 | ||||
-rw-r--r-- | po/it.po | 4 | ||||
-rw-r--r-- | po/ja.po | 4 | ||||
-rw-r--r-- | po/pl.po | 84 | ||||
-rw-r--r-- | po/pt.po | 4 | ||||
-rw-r--r-- | po/pt_BR.po | 4 | ||||
-rw-r--r-- | po/ru.po | 4 | ||||
-rw-r--r-- | po/sr.po | 84 | ||||
-rw-r--r-- | po/tr.po | 123 | ||||
-rw-r--r-- | po/weechat.pot | 4 | ||||
-rw-r--r-- | src/plugins/buflist/buflist-bar-item.c | 7 | ||||
-rw-r--r-- | src/plugins/buflist/buflist-command.c | 2 |
24 files changed, 515 insertions, 150 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index ee2af9d74..04d23279d 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -23,6 +23,7 @@ New features:: * core: add option weechat.look.highlight_disable_regex and buffer property "highlight_disable_regex" (issue #1798) * api: rename function string_build_with_split_string to string_rebuild_split_string, add arguments "index_start" and "index_end" * api: add info "uptime_current" + * buflist: add variable `${hotlist_priority_number}` (integer version of `${hotlist_priority}`) * irc: display an error message when using command /dcc without xfer plugin loaded Bug fixes:: diff --git a/doc/de/includes/autogen_user_commands.de.adoc b/doc/de/includes/autogen_user_commands.de.adoc index e0c4de07e..5f4f35d06 100644 --- a/doc/de/includes/autogen_user_commands.de.adoc +++ b/doc/de/includes/autogen_user_commands.de.adoc @@ -2285,51 +2285,52 @@ Beispiele: bar refresh - enable: buflist aktivieren -disable: buflist deaktivieren - toggle: buflist umschalten - bar: fügt eine "buflist" Bar hinzu -refresh: erzwingt eine Aktualisierung der Bar-Item (buflist, buflist2 und buflist3) - -Jede Zeile die einen Buffer anzeigt wird mittels Zeichenketten-Evaluation dargestellt (siehe /help eval für das Format), dazu werden folgende Optionen genutzt: - - buflist.look.display_conditions: Bedingungen um einen Buffer in der Liste darzustellen - - buflist.format.buffer: Format für den Buffer, der nicht der aktuell dargestellte Buffer ist - - buflist.format.buffer_current: Format für den aktuell dargestellten Buffer - -Die folgenden Variablen können in den obigen Optionen genutzt werden: - - bar item data (siehe hdata "bar_item" in API Dokumentation für eine vollständige Liste), zum Beispiel: + enable: enable buflist +disable: disable buflist + toggle: toggle buflist + bar: add the "buflist" bar +refresh: force the refresh of the bar items (buflist, buflist2 and buflist3) + +The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options: + - buflist.look.display_conditions: conditions to display a buffer in the list + - 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: + - bar item data (see hdata "bar_item" in API doc for a complete list), for example: - ${bar_item.name} - - window data, wo das Bar-Item dargestellt werden soll (in "root" Bars existieren keine Fenster, siehe hdata "window" in API Dokumentation für eine vollständige Liste), zum Beispiel: + - window data, where the bar item is displayed (there's no window in root bars, see hdata "window" in API doc for a complete list), for example: - ${window.number} - ${window.buffer.full_name} - - buffer data (siehe hdata "buffer" in API Dokumentation für eine vollständige Liste), zum Beispiel: + - 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} - - irc_server: IRC Serverdaten, ausschließlich genutzt bei einem IRC Buffer (siehe hdata "irc_server" in API Dokumentation) - - irc_channel: IRC Kanaldaten, ausschließlich genutzt bei einem IRC Kanal-Buffer (siehe hdata "irc_channel" in API Dokumentation) - - zusätzliche Variablen die durch buflist bereitgestellt werden: - - ${format_buffer}: der evaluierte Wert der Option buflist.format.buffer; dies kann in der Option buflist.format.buffer_current genutzt werden um zum Beispiel die Hintergrundfarbe zu verändern - - ${current_buffer}: ein Boolean ("0" oder "1"), "1" falls es sich um den aktuellen Buffer handelt; dies kann in einer Bedingung verwendet werden: ${if:${current_buffer}?...:...} - - ${merged}: ein Boolean ("0" oder "1"), "1" wenn der Buffer mit einem anderen zusammengefügt ist; kann innerhalb einer Bedingung genutzt werden: ${if:${merged}?...:...} - - ${format_number}: eingerückte Nummer mit Trennzeichen (evaluiert aus Option buflist.format.number) - - ${number}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt; bei zusammengefügten Buffern enthält die Variable für den ersten Buffer die entsprechende Nummer, die weiteren Buffer enthalten ein Leerzeichen anstelle der Nummer - - ${number2}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt - - ${number_displayed}: "1" falls Nummer angezeigt wird, ansonsten "0" - - ${indent}: Einrückung für Name (Channel und private Buffer werden eingerückt) (evaluiert aus Option buflist.format.indent) - - ${format_nick_prefix}: Nick-Präfix mit entsprechender Farbe für einen Channel (evaluiert aus Option buflist.format.nick_prefix) - - ${color_nick_prefix}: Farbe für den Nick-Präfix von einem Channel (wird nur genutzt wenn die Option buflist.look.nick_prefix aktiviert ist) - - ${nick_prefix}: der Nick-Präfix für einen Channel (wird nur genutzt falls die Option buflist.look.nick_prefix aktiviert ist) - - ${format_name}: der formatierte Name (evaluiert aus Option buflist.format.name) - - ${name}: der Kurzname (falls einer gesetzt ist), ersatzweise wird auf den Originalnamen zurückgegriffen - - ${color_hotlist}: die Farbe mit der höchsten Priorität für den entsprechenden Buffer (evaluiert aus Option buflist.format.hotlist_xxx wobei xxx der entsprechende Level ist) - - ${format_hotlist}: die formatierte Hotlist (evaluiert aus Option buflist.format.hotlist) - - ${hotlist}: die Hotlist in der Rohform - - ${hotlist_priority}: "none", "low", "message", "private" oder "highlight" - - ${format_lag}: die Verzögerung für einen IRC Server-Buffer, ist leer falls es keine Verzögerung gibt (evaluiert aus Option buflist.format.lag) - - ${format_tls_version}: Indikator der TLS Version für den Serverbuffer, Channels bleiben unberührt (evaluiert aus Option buflist.format.tls_version) + - irc_server: IRC server data, defined only on an IRC buffer (see hdata "irc_server" in API doc) + - irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc) + - 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 + - ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...} + - ${merged}: a boolean ("0" or "1"), "1" if the buffer is merged with at least another buffer; it can be used in a condition: ${if:${merged}?...:...} + - ${format_number}: indented number with separator (evaluation of option buflist.format.number) + - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number + - ${number2}: indented number, for example " 1" if there are between 10 and 99 buffers + - ${number_displayed}: "1" if the number is displayed, otherwise "0" + - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) + - ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix) + - ${color_nick_prefix}: color of nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled) + - ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled) + - ${format_name}: formatted name (evaluation of option buflist.format.name) + - ${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 + - ${hotlist_priority}: "none", "low", "message", "private" or "highlight" + - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight + - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag) + - ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version) ---- // end::buflist_commands[] diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc index c3e22dd14..f5353b5c7 100644 --- a/doc/en/includes/autogen_user_commands.en.adoc +++ b/doc/en/includes/autogen_user_commands.en.adoc @@ -2328,6 +2328,7 @@ The following variables can be used in these options: - ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist) - ${hotlist}: the raw hotlist - ${hotlist_priority}: "none", "low", "message", "private" or "highlight" + - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag) - ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version) ---- diff --git a/doc/fr/includes/autogen_user_commands.fr.adoc b/doc/fr/includes/autogen_user_commands.fr.adoc index 1feacbd43..2c4256a0b 100644 --- a/doc/fr/includes/autogen_user_commands.fr.adoc +++ b/doc/fr/includes/autogen_user_commands.fr.adoc @@ -2328,6 +2328,7 @@ Les variables suivantes peuvent être utilisées dans ces options : - ${format_hotlist} : la hotlist formatée (évaluation de l'option buflist.format.hotlist) - ${hotlist} : la hotlist brute - ${hotlist_priority} : "none", "low", "message", "private" ou "highlight" + - ${hotlist_priority_number} : -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight - ${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) - ${format_tls_version}: indicateur de la version de TLS pour le serveur courant, vide pour les canaux (évaluation de l'option buflist.format.tls_version) ---- diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc index 6173bb6d8..d6ff66ad8 100644 --- a/doc/it/includes/autogen_user_commands.it.adoc +++ b/doc/it/includes/autogen_user_commands.it.adoc @@ -2328,6 +2328,7 @@ The following variables can be used in these options: - ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist) - ${hotlist}: the raw hotlist - ${hotlist_priority}: "none", "low", "message", "private" or "highlight" + - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag) - ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version) ---- diff --git a/doc/ja/includes/autogen_user_commands.ja.adoc b/doc/ja/includes/autogen_user_commands.ja.adoc index b711401d2..2e8a00166 100644 --- a/doc/ja/includes/autogen_user_commands.ja.adoc +++ b/doc/ja/includes/autogen_user_commands.ja.adoc @@ -2328,6 +2328,7 @@ The following variables can be used in these options: - ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist) - ${hotlist}: the raw hotlist - ${hotlist_priority}: "none", "low", "message", "private" or "highlight" + - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag) - ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version) ---- diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc index ae29f1cea..3f21371c0 100644 --- a/doc/pl/includes/autogen_user_commands.pl.adoc +++ b/doc/pl/includes/autogen_user_commands.pl.adoc @@ -2284,51 +2284,52 @@ Przykłady: bar refresh - enable: włącza buflist -disable: wyłącza buflist - toggle: przełącza buflist - bar: dodaje pasek "buflist" -refresh: wymusza odświeżenie elementów paska (buflist, buflist2 oraz buflist3) - -Linie z buforami są wyświetlane za pomocą przetwarzania ciągów (zobacz /help eval żeby poznać format), za pomocą tych opcji: - - buflist.look.display_conditions: warunki wyświetlenia buforu na liście - - buflist.format.buffer: format dla buforu nie będącego obecnym buforem - - buflist.format.buffer_current: format format dla obecnego buforu - -Następujące zmienne mogą być użyte w powyższych opcjach: - - dane elementu paska (pełną listę można znaleźć w dokumentacji API dla hdata "bar_item"), na przykład: + enable: enable buflist +disable: disable buflist + toggle: toggle buflist + bar: add the "buflist" bar +refresh: force the refresh of the bar items (buflist, buflist2 and buflist3) + +The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options: + - buflist.look.display_conditions: conditions to display a buffer in the list + - 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: + - bar item data (see hdata "bar_item" in API doc for a complete list), for example: - ${bar_item.name} - - dane okna, w którym element paska jest wyświetlany (okna nie ma w głównych paskach, zobacz hdata "window" w dokumentacji API dla pełnej listy zmiennych), na przykład: + - window data, where the bar item is displayed (there's no window in root bars, see hdata "window" in API doc for a complete list), for example: - ${window.number} - ${window.buffer.full_name} - - dane buforu (zobacz hdata "buffer" w dokumentacji API dla pełnej listy zmiennych), na przykład: + - 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} - - irc_server: dane serwera IRC, zdefiniowane tylko w buforze IRC (zobacz hdata "irc_server" w dokumentacji API) - - irc_channel: dane kanału IRC, zdefiniowane tylko w buforze kanału IRC (zobacz hdata "irc_channel" w dokumentacji API) - - dodatkowe zmienne dodane dla wygody przez listę buforów: - - ${format_buffer}: przetworzona wartość opcji buflist.format.buffer; może to zostać użyte w opcji buflist.format.buffer_current na przykład do zmiany koloru tła - - ${current_buffer}: boolowskie ("0" lub "1"), "1" jeśli jest to obecny bufor; może zostać użyte w warunku: ${if: ${current_buffer}?...:...} - - ${merged}: boolowskie ("0" lub "1"), "1" jeśli bufor jest połączony z przynajmniej jednym innym buforem; może zostać użyte w warunku: ${if:${merged}?...:...} - - ${format_number}: wyrównany numer z separatorem (przetworzona opcja buflist.format.number) - - ${number}: wyrównany numer, na przykład " 1" jeśli buforów jest między 10 a 99 - - ${number2}: wyrównany numer, na przykład " 1" jeśli buforów jest między 10 a 99 - - ${number_displayed}: "1" jeśli numer jest wyświetlany, w przeciwnym wypadku "0" - - ${indent}: wyrównanie dla nazwy (kanały i bufory prywatne są wyrównywane) (przetworzona opcja buflist.format.indent) - - ${format_nick_prefix}: kolorowy prefiks nicka dla kanału (przetworzona opcja buflist.format.nick_prefix) - - ${color_nick_prefix}: kolor prefiksu nicka dla kanału (ustawiany, jeśli opcja buflist.look.nick_prefix jest włączona) - - ${nick_prefix}: prefix nicka dla kanału (ustawiany, jeśli opcja buflist.look.nick_prefix jest włączona) - - ${format_name}: sformatowana nazwa (przetworzona opcja buflist.format.name) - - ${name}: skrócona nazwa (jeśli ustawiona inaczej zwraca pełną nazwę) - - ${color_hotlist}: kolor zależący od najwyższego poziomu hotlisty dla bufora (przetworzona opcja buflist.format.hotlist_xxx, gdzie xxx to poziom) - - ${format_hotlist}: sformatowana hotlista (przetworzenie opcji buflist.format.hotlist) - - ${hotlist}: niesformatowana hotlista - - ${hotlist_priority}: "none", "low", "message", "private" lub "highlight" - - ${format_lag}: opóźnienie buforu serwera IRC, puste jeśli nie ma opóźnienia (przetworzona opcja buflist.format.lag) - - ${format_tls_version}: wskaźnik wersji TLS w buforze serwera, pusty dla kanałów (wynik przetworzenia opcji buflist.format.tls_version) + - irc_server: IRC server data, defined only on an IRC buffer (see hdata "irc_server" in API doc) + - irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc) + - 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 + - ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...} + - ${merged}: a boolean ("0" or "1"), "1" if the buffer is merged with at least another buffer; it can be used in a condition: ${if:${merged}?...:...} + - ${format_number}: indented number with separator (evaluation of option buflist.format.number) + - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number + - ${number2}: indented number, for example " 1" if there are between 10 and 99 buffers + - ${number_displayed}: "1" if the number is displayed, otherwise "0" + - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) + - ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix) + - ${color_nick_prefix}: color of nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled) + - ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled) + - ${format_name}: formatted name (evaluation of option buflist.format.name) + - ${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 + - ${hotlist_priority}: "none", "low", "message", "private" or "highlight" + - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight + - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag) + - ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version) ---- // end::buflist_commands[] diff --git a/doc/sr/includes/autogen_user_commands.sr.adoc b/doc/sr/includes/autogen_user_commands.sr.adoc index 54a861984..6078b9206 100644 --- a/doc/sr/includes/autogen_user_commands.sr.adoc +++ b/doc/sr/includes/autogen_user_commands.sr.adoc @@ -2285,51 +2285,52 @@ scroll_unread: скролује на непрочитани маркер bar refresh - enable: укључује buflist -disable: искључује buflist - toggle: пребацује buflist - bar: додаје „buflist” траку -refresh: форсира освежавање ставки траке (buflist, buflist2 и buflist3) - -Линије са баферима се приказују употребом израчунавања стринга (погледајте /help eval за формат), са следећим опцијама: - - buflist.look.display_conditions: услови под којима се бафер приказује у листи - - buflist.format.buffer: формат за бафер који није текући бафер - - buflist.format.buffer_current: формат за текући бафер - -У овим опцијама је могуће коришћење следећих променљивих: - - подаци ставке траке (погледајте hdata „bar_item” у документацији API за комплетну листу), на пример: + enable: enable buflist +disable: disable buflist + toggle: toggle buflist + bar: add the "buflist" bar +refresh: force the refresh of the bar items (buflist, buflist2 and buflist3) + +The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options: + - buflist.look.display_conditions: conditions to display a buffer in the list + - 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: + - bar item data (see hdata "bar_item" in API doc for a complete list), for example: - ${bar_item.name} - - подаци о прозору, у коме се трака приказује (не постоји прозор у кореним тракама, погледајте hdata „window” у документацији API за комплетну листу), на пример: + - window data, where the bar item is displayed (there's no window in root bars, see hdata "window" in API doc for a complete list), for example: - ${window.number} - ${window.buffer.full_name} - - подаци о баферу (погледајте hdata „buffer” у API доку за комплетну листу), на пример: + - 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} - - irc_server: подаци о IRC серверу, дефинисани су само за IRC бафер (погледајте hdata „irc_server” у документацији API) - - irc_channel: подаци о IRC каналу, дефинисани су само за бафер IRC канала (погледајте hdata „irc_channel” у документацији API) - - buflist додаје још неке променљиве како би се олакшала употреба: - - ${format_buffer}: израчуната вредност опције buflist.format.buffer; ово може да се користи у опцији buflist.format.buffer_current да би се, на пример, променила само боја позадине - - ${current_buffer}: логичка вредност („0” или „1”), „1” ако је ово текући бафер; може да се користи у услову: ${if:${current_buffer}?...:...} - - ${merged}: логичка вредност („0” или „1”), „1” ако је бафер спојен са барем још једним другим бафером; може да се користи у услову: ${if:${merged}?...:...} - - ${format_number}: увучени број са граничником (израчуната вредност опције buflist.format.number) - - ${number}: увучени број, на пример „1” ако постоји између 10 и 99 бафера; заспојене бафере, ова променљива се поставља на број првог бафера и размаке за наредне бафере са под истим бројем - - ${number2}: увучени број, на пример „ 1” ако постоји између 10 и 99 бафера - - ${number_displayed}: „1” ако се број приказује, у супротном „0” - - ${indent}: увлачење за име (бафери канала и приватни бафери се увлаче) (израчуната вредност опције buflist.format.indent) - - ${format_nick_prefix}: обојени префикс надимка за канал (израчуната вредност опције buflist.format.nick_prefix) - - ${color_nick_prefix}: боја префикса надимка за канал (постављена је само ако је опција buflist.look.nick_prefix укључена) - - ${nick_prefix}: префикс надимка за канал (постављена је само ако је опција buflist.look.nick_prefix укључена) - - ${format_name}: форматирано име (израчуната вредност опције buflist.format.name) - - ${name}: кратко име (ако је постављено), има вредност имена ако није постављено - - ${color_hotlist}: боја која зависи ид највишег нивоа бафера у врућој листи (израчуната вредност опције buflist.format.hotlist_xxx где је xxx ниво) - - ${format_hotlist}: форматирана врућа листа (израчуната вредност опције buflist.format.hotlist) - - ${hotlist}: сирова врућа листа - - ${hotlist_priority}: „none”, „low”, „message”, „private” или „highlight” - - ${format_lag}: кашњење за бафер IRC сервера, празна у случају да нема кашњења (израчуната вредност опције buflist.format.lag) - - ${format_tls_version}: индикатор TLS верзије за серверски бафер, празно за канале (резултат израчунавања опције buflist.format.tls_version) + - irc_server: IRC server data, defined only on an IRC buffer (see hdata "irc_server" in API doc) + - irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc) + - 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 + - ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...} + - ${merged}: a boolean ("0" or "1"), "1" if the buffer is merged with at least another buffer; it can be used in a condition: ${if:${merged}?...:...} + - ${format_number}: indented number with separator (evaluation of option buflist.format.number) + - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number + - ${number2}: indented number, for example " 1" if there are between 10 and 99 buffers + - ${number_displayed}: "1" if the number is displayed, otherwise "0" + - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) + - ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix) + - ${color_nick_prefix}: color of nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled) + - ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled) + - ${format_name}: formatted name (evaluation of option buflist.format.name) + - ${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 + - ${hotlist_priority}: "none", "low", "message", "private" or "highlight" + - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight + - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag) + - ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version) ---- // end::buflist_commands[] @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-06-18 16:11+0200\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5173,6 +5173,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -25,7 +25,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 22:06+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-07-28 13:30+0200\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German <kde-i18n-de@kde.org>\n" @@ -6281,6 +6281,86 @@ msgstr "" msgid "bar item with list of buffers" msgstr "Bar-Item mit der Liste von Buffern" +#, fuzzy +#| msgid "" +#| " enable: enable buflist\n" +#| "disable: disable buflist\n" +#| " toggle: toggle buflist\n" +#| " bar: add the \"buflist\" bar\n" +#| "refresh: force the refresh of the bar items (buflist, buflist2 and " +#| "buflist3)\n" +#| "\n" +#| "The lines with buffers are displayed using string evaluation (see /help " +#| "eval for the format), with these options:\n" +#| " - buflist.look.display_conditions: conditions to display a buffer in " +#| "the list\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" +#| " - bar item data (see hdata \"bar_item\" in API doc for a complete " +#| "list), for example:\n" +#| " - ${bar_item.name}\n" +#| " - window data, where the bar item is displayed (there's no window in " +#| "root bars, see hdata \"window\" in API doc for a complete list), for " +#| "example:\n" +#| " - ${window.number}\n" +#| " - ${window.buffer.full_name}\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" +#| " - irc_server: IRC server data, defined only on an IRC buffer (see hdata " +#| "\"irc_server\" in API doc)\n" +#| " - irc_channel: IRC channel data, defined only on an IRC channel buffer " +#| "(see hdata \"irc_channel\" in API doc)\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" +#| " - ${current_buffer}: a boolean (\"0\" or \"1\"), \"1\" if this is the " +#| "current buffer; it can be used in a condition: ${if:" +#| "${current_buffer}?...:...}\n" +#| " - ${merged}: a boolean (\"0\" or \"1\"), \"1\" if the buffer is " +#| "merged with at least another buffer; it can be used in a condition: ${if:" +#| "${merged}?...:...}\n" +#| " - ${format_number}: indented number with separator (evaluation of " +#| "option buflist.format.number)\n" +#| " - ${number}: indented number, for example \" 1\" if there are between " +#| "10 and 99 buffers; for merged buffers, this variable is set with number " +#| "for the first buffer and spaces for the next buffers with same number\n" +#| " - ${number2}: indented number, for example \" 1\" if there are " +#| "between 10 and 99 buffers\n" +#| " - ${number_displayed}: \"1\" if the number is displayed, otherwise " +#| "\"0\"\n" +#| " - ${indent}: indentation for name (channel and private buffers are " +#| "indented) (evaluation of option buflist.format.indent)\n" +#| " - ${format_nick_prefix}: colored nick prefix for a channel " +#| "(evaluation of option buflist.format.nick_prefix)\n" +#| " - ${color_nick_prefix}: color of nick prefix for a channel (set only " +#| "if the option buflist.look.nick_prefix is enabled)\n" +#| " - ${nick_prefix}: nick prefix for a channel (set only if the option " +#| "buflist.look.nick_prefix is enabled)\n" +#| " - ${format_name}: formatted name (evaluation of option buflist.format." +#| "name)\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" +#| " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " +#| "\"highlight\"\n" +#| " - ${format_lag}: the lag for an IRC server buffer, empty if there's " +#| "no lag (evaluation of option buflist.format.lag)\n" +#| " - ${format_tls_version}: indicator of TLS version for a server " +#| "buffer, empty for channels (evaluation of option buflist.format." +#| "tls_version)" msgid "" " enable: enable buflist\n" "disable: disable buflist\n" @@ -6353,6 +6433,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -8212,7 +8294,6 @@ msgstr "" "%d %s" #, c-format -#| msgid "%s%s: unable to create socket" msgid "%s%s: unable to create DCC" msgstr "%s%s: DCC kann nicht erstellt werden" @@ -15356,8 +15437,7 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat" msgid "" "list|listfull|listdefault || add|addoff|addreplace <name> <hook> " -"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<" -"return_code>\" [\"<post_action>\"]]]]]] " +"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del " @@ -15365,8 +15445,7 @@ msgid "" "monitor [<filter>]" msgstr "" "list|listfull|listdefault || add|addoff|addreplace <name> <hook> " -"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<" -"return_code>\" [\"<post_action>\"]]]]]] " +"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|-" "all [<name>...]] || restart <name>|-all [<name>...] || show <name> || del " @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-06-18 16:11+0200\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5724,6 +5724,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" -"PO-Revision-Date: 2022-07-27 21:41+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" +"PO-Revision-Date: 2022-07-31 09:55+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -6211,6 +6211,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -6290,6 +6292,8 @@ msgstr "" " - ${hotlist} : la hotlist brute\n" " - ${hotlist_priority} : \"none\", \"low\", \"message\", \"private\" ou " "\"highlight\"\n" +" - ${hotlist_priority_number} : -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\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)\n" " - ${format_tls_version}: indicateur de la version de TLS pour le serveur " @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4736,6 +4736,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5461,6 +5461,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-06-18 16:12+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -5915,6 +5915,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-06-18 16:12+0200\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n" @@ -6148,6 +6148,86 @@ msgstr "" msgid "bar item with list of buffers" msgstr "element paska z listą buforów" +#, fuzzy +#| msgid "" +#| " enable: enable buflist\n" +#| "disable: disable buflist\n" +#| " toggle: toggle buflist\n" +#| " bar: add the \"buflist\" bar\n" +#| "refresh: force the refresh of the bar items (buflist, buflist2 and " +#| "buflist3)\n" +#| "\n" +#| "The lines with buffers are displayed using string evaluation (see /help " +#| "eval for the format), with these options:\n" +#| " - buflist.look.display_conditions: conditions to display a buffer in " +#| "the list\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" +#| " - bar item data (see hdata \"bar_item\" in API doc for a complete " +#| "list), for example:\n" +#| " - ${bar_item.name}\n" +#| " - window data, where the bar item is displayed (there's no window in " +#| "root bars, see hdata \"window\" in API doc for a complete list), for " +#| "example:\n" +#| " - ${window.number}\n" +#| " - ${window.buffer.full_name}\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" +#| " - irc_server: IRC server data, defined only on an IRC buffer (see hdata " +#| "\"irc_server\" in API doc)\n" +#| " - irc_channel: IRC channel data, defined only on an IRC channel buffer " +#| "(see hdata \"irc_channel\" in API doc)\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" +#| " - ${current_buffer}: a boolean (\"0\" or \"1\"), \"1\" if this is the " +#| "current buffer; it can be used in a condition: ${if:" +#| "${current_buffer}?...:...}\n" +#| " - ${merged}: a boolean (\"0\" or \"1\"), \"1\" if the buffer is " +#| "merged with at least another buffer; it can be used in a condition: ${if:" +#| "${merged}?...:...}\n" +#| " - ${format_number}: indented number with separator (evaluation of " +#| "option buflist.format.number)\n" +#| " - ${number}: indented number, for example \" 1\" if there are between " +#| "10 and 99 buffers; for merged buffers, this variable is set with number " +#| "for the first buffer and spaces for the next buffers with same number\n" +#| " - ${number2}: indented number, for example \" 1\" if there are " +#| "between 10 and 99 buffers\n" +#| " - ${number_displayed}: \"1\" if the number is displayed, otherwise " +#| "\"0\"\n" +#| " - ${indent}: indentation for name (channel and private buffers are " +#| "indented) (evaluation of option buflist.format.indent)\n" +#| " - ${format_nick_prefix}: colored nick prefix for a channel " +#| "(evaluation of option buflist.format.nick_prefix)\n" +#| " - ${color_nick_prefix}: color of nick prefix for a channel (set only " +#| "if the option buflist.look.nick_prefix is enabled)\n" +#| " - ${nick_prefix}: nick prefix for a channel (set only if the option " +#| "buflist.look.nick_prefix is enabled)\n" +#| " - ${format_name}: formatted name (evaluation of option buflist.format." +#| "name)\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" +#| " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " +#| "\"highlight\"\n" +#| " - ${format_lag}: the lag for an IRC server buffer, empty if there's " +#| "no lag (evaluation of option buflist.format.lag)\n" +#| " - ${format_tls_version}: indicator of TLS version for a server " +#| "buffer, empty for channels (evaluation of option buflist.format." +#| "tls_version)" msgid "" " enable: enable buflist\n" "disable: disable buflist\n" @@ -6220,6 +6300,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-06-18 16:12+0200\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Language-Team: Portuguese <>\n" @@ -5964,6 +5964,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " diff --git a/po/pt_BR.po b/po/pt_BR.po index 89f2a15a9..a8352e6ee 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: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5384,6 +5384,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4773,6 +4773,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-07-06 08:29+0400\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5989,6 +5989,86 @@ msgstr "" msgid "bar item with list of buffers" msgstr "ставка траке са листом бафера" +#, fuzzy +#| msgid "" +#| " enable: enable buflist\n" +#| "disable: disable buflist\n" +#| " toggle: toggle buflist\n" +#| " bar: add the \"buflist\" bar\n" +#| "refresh: force the refresh of the bar items (buflist, buflist2 and " +#| "buflist3)\n" +#| "\n" +#| "The lines with buffers are displayed using string evaluation (see /help " +#| "eval for the format), with these options:\n" +#| " - buflist.look.display_conditions: conditions to display a buffer in " +#| "the list\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" +#| " - bar item data (see hdata \"bar_item\" in API doc for a complete " +#| "list), for example:\n" +#| " - ${bar_item.name}\n" +#| " - window data, where the bar item is displayed (there's no window in " +#| "root bars, see hdata \"window\" in API doc for a complete list), for " +#| "example:\n" +#| " - ${window.number}\n" +#| " - ${window.buffer.full_name}\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" +#| " - irc_server: IRC server data, defined only on an IRC buffer (see hdata " +#| "\"irc_server\" in API doc)\n" +#| " - irc_channel: IRC channel data, defined only on an IRC channel buffer " +#| "(see hdata \"irc_channel\" in API doc)\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" +#| " - ${current_buffer}: a boolean (\"0\" or \"1\"), \"1\" if this is the " +#| "current buffer; it can be used in a condition: ${if:" +#| "${current_buffer}?...:...}\n" +#| " - ${merged}: a boolean (\"0\" or \"1\"), \"1\" if the buffer is " +#| "merged with at least another buffer; it can be used in a condition: ${if:" +#| "${merged}?...:...}\n" +#| " - ${format_number}: indented number with separator (evaluation of " +#| "option buflist.format.number)\n" +#| " - ${number}: indented number, for example \" 1\" if there are between " +#| "10 and 99 buffers; for merged buffers, this variable is set with number " +#| "for the first buffer and spaces for the next buffers with same number\n" +#| " - ${number2}: indented number, for example \" 1\" if there are " +#| "between 10 and 99 buffers\n" +#| " - ${number_displayed}: \"1\" if the number is displayed, otherwise " +#| "\"0\"\n" +#| " - ${indent}: indentation for name (channel and private buffers are " +#| "indented) (evaluation of option buflist.format.indent)\n" +#| " - ${format_nick_prefix}: colored nick prefix for a channel " +#| "(evaluation of option buflist.format.nick_prefix)\n" +#| " - ${color_nick_prefix}: color of nick prefix for a channel (set only " +#| "if the option buflist.look.nick_prefix is enabled)\n" +#| " - ${nick_prefix}: nick prefix for a channel (set only if the option " +#| "buflist.look.nick_prefix is enabled)\n" +#| " - ${format_name}: formatted name (evaluation of option buflist.format." +#| "name)\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" +#| " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " +#| "\"highlight\"\n" +#| " - ${format_lag}: the lag for an IRC server buffer, empty if there's " +#| "no lag (evaluation of option buflist.format.lag)\n" +#| " - ${format_tls_version}: indicator of TLS version for a server " +#| "buffer, empty for channels (evaluation of option buflist.format." +#| "tls_version)" msgid "" " enable: enable buflist\n" "disable: disable buflist\n" @@ -6061,6 +6141,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-07-27 21:18+0300\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\n" "PO-Revision-Date: 2022-07-27 23:00+0300\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -1791,10 +1791,10 @@ msgstr "" " 6. küçük harfe dönüştürülmüş bir dizi (biçim: \"lower:xxx\")\n" " 7. BÜYÜK harfe dönüştürülmüş bir dizi (biçim: \"upper:xxx\")\n" " 8. gizlenecek karakterleri olan bir dizi (biçim: \"hide:char,string\")\n" -" 9. en çok karakterli bir dizi (biçim: \"cut:max,suffix,string\" " -"veya \"cut:+max,suffix,string\")\n" -" veya ekranda görüntülenecek en çok karakter (biçim: " -"\"cutscr:max,suffix,string\" veya \"cutscr:+max,suffix,string\")\n" +" 9. en çok karakterli bir dizi (biçim: \"cut:max,suffix,string\" veya \"cut:" +"+max,suffix,string\")\n" +" veya ekranda görüntülenecek en çok karakter (biçim: \"cutscr:max,suffix," +"string\" veya \"cutscr:+max,suffix,string\")\n" " 10. ters çevrilmiş bir dizi (biçim: \"rev:xxx\" veya \"revscr:xxx\")\n" " 11. yinelenmiş bir dizi (biçim: \"repeat:count,string\")\n" " 12. bir dizinin uzunluğu (biçim: \"length:xxx\" veya \"lengthscr:xxx\")\n" @@ -2217,9 +2217,8 @@ msgid "" "<name> <new_name> || refresh <name> [<name>...] || recreate <name> || del " "<name>|-all" msgstr "" -"list || add|addreplace <ad> \"<koşullar>\" \"<içerik>\" || rename " -"<ad> <yeni_ad> || refresh <ad> [<ad>...] || recreate <ad> || del " -"<ad>|-all" +"list || add|addreplace <ad> \"<koşullar>\" \"<içerik>\" || rename <ad> " +"<yeni_ad> || refresh <ad> [<ad>...] || recreate <ad> || del <ad>|-all" msgid "" " list: list all custom bar items\n" @@ -2272,9 +2271,10 @@ msgstr "" "çubuk ögesini belirli arabelleklerde göstermek için)\n" " içerik: içerik (değerlendirilir, bkz. /help eval)\n" " rename: bir özel çubuk ögesini yeniden adlandır\n" -" refresh: ögenin görüntülendiği tüm çubuklardaki içeriği güncelle; herhangi " -"bir öge yenilenebilir: öntanımlı/eklenti/özel çubuk ögeleri\n" -" recreate: özel çubuk ögesi düzenlemek için kullanılan komutla girdi ayarla\n" +" refresh: ögenin görüntülendiği tüm çubuklardaki içeriği güncelle; " +"herhangi bir öge yenilenebilir: öntanımlı/eklenti/özel çubuk ögeleri\n" +" recreate: özel çubuk ögesi düzenlemek için kullanılan komutla girdi " +"ayarla\n" " del: bir özel çubuk ögesi sil\n" " -all: tüm özel çubuk ögelerini sil\n" "\n" @@ -3564,8 +3564,8 @@ msgstr "özel çubuk ögesi içeriği" msgid "" "arguments for command that adds a custom bar item: item name, conditions, " "content" -msgstr "bir özel çubuk ögesi ekleyen komut argümanları: öge adı, koşullar, " -"içerik" +msgstr "" +"bir özel çubuk ögesi ekleyen komut argümanları: öge adı, koşullar, içerik" msgid "values for a configuration option" msgstr "bir yapılandırma seçeneğinin değerleri" @@ -4001,9 +4001,10 @@ msgid "" msgstr "" "bir iletiden vurgulamayı engellemek için POSIX genişletilmiş düzenli ifadesi " "kullanılır: bu seçenekte diğer vurgulama seçeneklerinden daha yüksek öncelik " -"vardır (dizi iletide bulunursa vurgu devre dışı bırakılır ve diğer seçenekler " -"yok sayılır), düzenli ifade BÜYÜK/küçük harf duyarsızdar (duyarlı yapmak için " -"başında \"(?-i)\" kullanın), örneğin: \"<flash.*>\", \"(?-i)\"<Flash.*>\"" +"vardır (dizi iletide bulunursa vurgu devre dışı bırakılır ve diğer " +"seçenekler yok sayılır), düzenli ifade BÜYÜK/küçük harf duyarsızdar (duyarlı " +"yapmak için başında \"(?-i)\" kullanın), örneğin: \"<flash.*>\", \"(?-" +"i)\"<Flash.*>\"" msgid "" "POSIX extended regular expression used to check if a message has highlight " @@ -5633,8 +5634,8 @@ msgid "away" msgstr "uzakta" msgid "condition(s) to display the bar item (evaluated, see /help eval)" -msgstr "çubuk ögesini görüntülemek için koşul(lar) (değerlendirilir, bkz. " -"/help eval)" +msgstr "" +"çubuk ögesini görüntülemek için koşul(lar) (değerlendirilir, bkz. /help eval)" msgid "content of bar item (evaluated, see /help eval)" msgstr "çubuk ögesinin içeriği (değerlendirilir, bkz. /help eval)" @@ -5875,6 +5876,86 @@ msgstr "" msgid "bar item with list of buffers" msgstr "arabellek listesini içeren çubuk ögesi" +#, fuzzy +#| msgid "" +#| " enable: enable buflist\n" +#| "disable: disable buflist\n" +#| " toggle: toggle buflist\n" +#| " bar: add the \"buflist\" bar\n" +#| "refresh: force the refresh of the bar items (buflist, buflist2 and " +#| "buflist3)\n" +#| "\n" +#| "The lines with buffers are displayed using string evaluation (see /help " +#| "eval for the format), with these options:\n" +#| " - buflist.look.display_conditions: conditions to display a buffer in " +#| "the list\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" +#| " - bar item data (see hdata \"bar_item\" in API doc for a complete " +#| "list), for example:\n" +#| " - ${bar_item.name}\n" +#| " - window data, where the bar item is displayed (there's no window in " +#| "root bars, see hdata \"window\" in API doc for a complete list), for " +#| "example:\n" +#| " - ${window.number}\n" +#| " - ${window.buffer.full_name}\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" +#| " - irc_server: IRC server data, defined only on an IRC buffer (see hdata " +#| "\"irc_server\" in API doc)\n" +#| " - irc_channel: IRC channel data, defined only on an IRC channel buffer " +#| "(see hdata \"irc_channel\" in API doc)\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" +#| " - ${current_buffer}: a boolean (\"0\" or \"1\"), \"1\" if this is the " +#| "current buffer; it can be used in a condition: ${if:" +#| "${current_buffer}?...:...}\n" +#| " - ${merged}: a boolean (\"0\" or \"1\"), \"1\" if the buffer is " +#| "merged with at least another buffer; it can be used in a condition: ${if:" +#| "${merged}?...:...}\n" +#| " - ${format_number}: indented number with separator (evaluation of " +#| "option buflist.format.number)\n" +#| " - ${number}: indented number, for example \" 1\" if there are between " +#| "10 and 99 buffers; for merged buffers, this variable is set with number " +#| "for the first buffer and spaces for the next buffers with same number\n" +#| " - ${number2}: indented number, for example \" 1\" if there are " +#| "between 10 and 99 buffers\n" +#| " - ${number_displayed}: \"1\" if the number is displayed, otherwise " +#| "\"0\"\n" +#| " - ${indent}: indentation for name (channel and private buffers are " +#| "indented) (evaluation of option buflist.format.indent)\n" +#| " - ${format_nick_prefix}: colored nick prefix for a channel " +#| "(evaluation of option buflist.format.nick_prefix)\n" +#| " - ${color_nick_prefix}: color of nick prefix for a channel (set only " +#| "if the option buflist.look.nick_prefix is enabled)\n" +#| " - ${nick_prefix}: nick prefix for a channel (set only if the option " +#| "buflist.look.nick_prefix is enabled)\n" +#| " - ${format_name}: formatted name (evaluation of option buflist.format." +#| "name)\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" +#| " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " +#| "\"highlight\"\n" +#| " - ${format_lag}: the lag for an IRC server buffer, empty if there's " +#| "no lag (evaluation of option buflist.format.lag)\n" +#| " - ${format_tls_version}: indicator of TLS version for a server " +#| "buffer, empty for channels (evaluation of option buflist.format." +#| "tls_version)" msgid "" " enable: enable buflist\n" "disable: disable buflist\n" @@ -5947,6 +6028,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " @@ -8179,8 +8262,8 @@ msgid "" "add [<channel1> [<channel2>...]] || addraw <channel1>[,<channel2>...] " "[<key1>[,<key2>...]] || del [<channel1> [<channel2>...]] || apply || sort" msgstr "" -"add [<kanal1> [<kanal2>...]] || addraw <kanal1>[,<kanal2>...] " -"[<anahtar1>[,<anahtar2>...]] || del [<kanal1> [<kanal2>...]] || apply || sort" +"add [<kanal1> [<kanal2>...]] || addraw <kanal1>[,<kanal2>...] [<anahtar1>[," +"<anahtar2>...]] || del [<kanal1> [<kanal2>...]] || apply || sort" msgid "" " add: add current channel or a list of channels (with optional keys) to " diff --git a/po/weechat.pot b/po/weechat.pot index d2461eca4..616ba1d2d 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: 2022-07-27 21:18+0200\n" +"POT-Creation-Date: 2022-07-31 09:53+0200\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" @@ -4336,6 +4336,8 @@ msgid "" " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", \"private\" or " "\"highlight\"\n" +" - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = " +"private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if there's no " "lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server buffer, " diff --git a/src/plugins/buflist/buflist-bar-item.c b/src/plugins/buflist/buflist-bar-item.c index 39aa598d9..82be155aa 100644 --- a/src/plugins/buflist/buflist-bar-item.c +++ b/src/plugins/buflist/buflist-bar-item.c @@ -316,6 +316,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data, int item_index, num_buffers, is_channel, is_private; int i, j, length_max_number, current_buffer, number, prev_number, priority; int rc, count, line_number, line_number_current_buffer; + int hotlist_priority_number; /* make C compiler happy */ (void) data; @@ -517,6 +518,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data, ptr_hotlist_format = weechat_config_string ( buflist_config_format_hotlist_level_none); ptr_hotlist_priority = hotlist_priority_none; + hotlist_priority_number = -1; if (ptr_hotlist) { priority = weechat_hdata_integer (buflist_hdata_hotlist, @@ -526,12 +528,17 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data, ptr_hotlist_format = weechat_config_string ( buflist_config_format_hotlist_level[priority]); ptr_hotlist_priority = hotlist_priority[priority]; + hotlist_priority_number = priority; } } weechat_hashtable_set (buflist_hashtable_extra_vars, "color_hotlist", ptr_hotlist_format); weechat_hashtable_set (buflist_hashtable_extra_vars, "hotlist_priority", ptr_hotlist_priority); + snprintf (str_number, sizeof (str_number), + "%d", hotlist_priority_number); + weechat_hashtable_set (buflist_hashtable_extra_vars, + "hotlist_priority_number", str_number); str_hotlist = NULL; if (ptr_hotlist) { diff --git a/src/plugins/buflist/buflist-command.c b/src/plugins/buflist/buflist-command.c index 9b8e9f65b..11bb74acb 100644 --- a/src/plugins/buflist/buflist-command.c +++ b/src/plugins/buflist/buflist-command.c @@ -167,6 +167,8 @@ buflist_command_init () " - ${hotlist}: the raw hotlist\n" " - ${hotlist_priority}: \"none\", \"low\", \"message\", " "\"private\" or \"highlight\"\n" + " - ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, " + "2 = private, 3 = highlight\n" " - ${format_lag}: the lag for an IRC server buffer, empty if " "there's no lag (evaluation of option buflist.format.lag)\n" " - ${format_tls_version}: indicator of TLS version for a server " |