diff --git a/doc/de/autogen/user/buflist_commands.adoc b/doc/de/autogen/user/buflist_commands.adoc index dd97adcf5..0d769c523 100644 --- a/doc/de/autogen/user/buflist_commands.adoc +++ b/doc/de/autogen/user/buflist_commands.adoc @@ -9,37 +9,37 @@ /buflist bar refresh - bar: add the "buflist" bar -refresh: force the refresh of the "buflist" bar item + bar: fügt eine "buflist" Bar hinzu +refresh: erzwingt eine Aktualisierung des "buflist" Bar-Item -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 +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 -The following variables can be used in these options: - - buffer data (see hdata "buffer" in API doc for a complete list), for example: +Die folgenden Variablen können in den obigen Optionen genutzt werden: + - buffer data (siehe hdata "buffer" in API Dokumentation für eine vollständige Liste), zum Beispiel: - ${buffer.number} - ${buffer.name} - ${buffer.full_name} - ${buffer.short_name} - ${buffer.nicklist_nicks_count} - - 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}?...:...} - - ${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 - - ${number_displayed}: "1" is 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) - - ${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" - - ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag) + - irc_server: IRC Serverdaten, ausschließlich genutzt bei einem IRC Buffer (siehe hdata "irc_server" in API Dokumentation) + - irc_channel: IRC Channeldaten, ausschließlich genutzt bei einem IRC Channel 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}?...:...} + - ${format_number}: eingerückte Numer 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 + - ${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) + - ${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) ---- diff --git a/doc/en/autogen/user/buflist_commands.adoc b/doc/en/autogen/user/buflist_commands.adoc index fe66fba3f..ccd38f9b8 100644 --- a/doc/en/autogen/user/buflist_commands.adoc +++ b/doc/en/autogen/user/buflist_commands.adoc @@ -31,7 +31,7 @@ The following variables can be used in these options: - ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...} - ${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 - - ${number_displayed}: "1" is the number is displayed, otherwise "0" + - ${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) diff --git a/doc/it/autogen/user/buflist_commands.adoc b/doc/it/autogen/user/buflist_commands.adoc index fe66fba3f..ccd38f9b8 100644 --- a/doc/it/autogen/user/buflist_commands.adoc +++ b/doc/it/autogen/user/buflist_commands.adoc @@ -31,7 +31,7 @@ The following variables can be used in these options: - ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...} - ${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 - - ${number_displayed}: "1" is the number is displayed, otherwise "0" + - ${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) diff --git a/doc/ja/autogen/user/buflist_commands.adoc b/doc/ja/autogen/user/buflist_commands.adoc index 69d1a86a7..50fd23c15 100644 --- a/doc/ja/autogen/user/buflist_commands.adoc +++ b/doc/ja/autogen/user/buflist_commands.adoc @@ -31,7 +31,7 @@ The following variables can be used in these options: - ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...} - ${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 - - ${number_displayed}: "1" is the number is displayed, otherwise "0" + - ${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) diff --git a/doc/pl/autogen/user/buflist_commands.adoc b/doc/pl/autogen/user/buflist_commands.adoc index fb82d8c42..de582424f 100644 --- a/doc/pl/autogen/user/buflist_commands.adoc +++ b/doc/pl/autogen/user/buflist_commands.adoc @@ -31,7 +31,7 @@ The following variables can be used in these options: - ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...} - ${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 - - ${number_displayed}: "1" is the number is displayed, otherwise "0" + - ${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) diff --git a/po/cs.po b/po/cs.po index 38c657bee..03c1f6e59 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2017-05-13 22:06+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -4942,7 +4942,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/de.po b/po/de.po index a9cf87ebf..be3006ca3 100644 --- a/po/de.po +++ b/po/de.po @@ -19,8 +19,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-05-31 22:41+0200\n" -"PO-Revision-Date: 2017-06-02 19:18+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" +"PO-Revision-Date: 2017-06-02 20:00+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de\n" @@ -5832,7 +5832,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/es.po b/po/es.po index 84429bc37..e2850c7e5 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2017-01-06 22:01+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -5156,7 +5156,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/fr.po b/po/fr.po index d7717cb22..c893d8586 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-05-31 22:41+0200\n" -"PO-Revision-Date: 2017-05-31 22:42+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" +"PO-Revision-Date: 2017-06-02 19:59+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -5703,7 +5703,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/hu.po b/po/hu.po index 4226f45ac..e37e1a701 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2017-01-06 22:03+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -4480,7 +4480,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/it.po b/po/it.po index 4bddf5979..e00181a34 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2017-01-06 22:04+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -5294,7 +5294,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/ja.po b/po/ja.po index 987f48d02..59fc4ec9d 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2017-05-20 09:00+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: weechat-dev \n" @@ -5574,7 +5574,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/pt.po b/po/pt.po index 3072eb654..895596d34 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2017-04-08 14:50+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -5550,7 +5550,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/pt_BR.po b/po/pt_BR.po index 610688cea..b5163d46d 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2016-09-03 08:24+0200\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -5096,7 +5096,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/ru.po b/po/ru.po index 8768ad3a0..756101884 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2017-01-06 22:06+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -4518,7 +4518,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/tr.po b/po/tr.po index 15abaaa77..8bd6cf7a5 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2017-01-06 22:07+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -4083,7 +4083,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/po/weechat.pot b/po/weechat.pot index b0c0cf24d..58052010e 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-05-31 22:41+0200\n" +"POT-Creation-Date: 2017-06-02 19:56+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -4068,7 +4068,7 @@ msgid "" "buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there are between 10 " "and 99 buffers\n" -" - ${number_displayed}: \"1\" is the number is displayed, otherwise " +" - ${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" diff --git a/src/plugins/buflist/buflist-command.c b/src/plugins/buflist/buflist-command.c index 6f91437ce..adf4a1ba2 100644 --- a/src/plugins/buflist/buflist-command.c +++ b/src/plugins/buflist/buflist-command.c @@ -106,7 +106,7 @@ buflist_command_init () "(evaluation of option buflist.format.number)\n" " - ${number}: indented number, for example \" 1\" if there " "are between 10 and 99 buffers\n" - " - ${number_displayed}: \"1\" is the number is displayed, " + " - ${number_displayed}: \"1\" if the number is displayed, " "otherwise \"0\"\n" " - ${indent}: indentation for name (channel and private " "buffers are indented) (evaluation of "