diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-04-23 14:49:04 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-04-23 14:49:04 +0200 |
commit | 671c216eb3bc40c8a2c56dc79dbfe88123fa68df (patch) | |
tree | 7a0654051a964d03b5c228155a6561efd848d58f | |
parent | 2606b8a5a327a8c33924a87f3a39f9fe61a494c3 (diff) | |
download | weechat-671c216eb3bc40c8a2c56dc79dbfe88123fa68df.zip |
buflist: add option buflist.format.indent
29 files changed, 222 insertions, 179 deletions
diff --git a/doc/de/autogen/user/buflist_commands.adoc b/doc/de/autogen/user/buflist_commands.adoc index c9030a1cf..ce37d0691 100644 --- a/doc/de/autogen/user/buflist_commands.adoc +++ b/doc/de/autogen/user/buflist_commands.adoc @@ -8,29 +8,29 @@ ---- /buflist refresh -refresh: erzwingt eine Aktualisierung des "buflist" Bar-Item +refresh: force the refresh of the "buflist" bar item -Die einzelnen Zeilen mit Buffern die dargestellt werden mittels String-Evaluation (siehe /help eval für das Format), mittels folgenden Optionen: - - 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 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 -Die folgenden Variablen können für obige Optionen genutzt werden: - - buffer data (siehe hdata "buffer" in API Dokumentation für eine vollständige Liste), zum Beispiel: +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} - - 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 - - ${format_number}: eingerückte Numer mit Trennzeichen (evaluiert für Option buflist.format.number) - - ${number}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt - - ${indent}: Einrückung für Name (Channel und private Buffer werden eingerückt) - - ${nick_prefix}: 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), mit einem Rückgriff auf den Originalnamen - - ${color_hotlist}: die Farbe mit der höchsten Priorität für den entsprechenden Buffer (wird evaluiert mit Option buflist.format.hotlist_xxx wobei xxx der entsprechende Level ist) - - ${format_hotlist}: die formatierte Hotlist (wird evaluiert mit Option buflist.format.hotlist) - - ${hotlist}: die Hotlist in der Rohform - - ${format_lag}: die Verzögerung für einen IRC Server-Buffer, ist leer falls es keine Verzögerung gibt (wird evaluiert mit Option buflist.format.lag) + - extra variables added by buflist for convenience: + - ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example + - ${format_number}: indented number with separator (evaluation of option buflist.format.number) + - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers + - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) + - ${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 + - ${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 7c5efd878..6898e7bae 100644 --- a/doc/de/autogen/user/buflist_options.adoc +++ b/doc/de/autogen/user/buflist_options.adoc @@ -56,6 +56,12 @@ ** Werte: beliebige Zeichenkette ** Standardwert: `+"${color:default},"+` +* [[option_buflist.format.indent]] *buflist.format.indent* +** Beschreibung: pass:none[string displayed to indent channel and private buffers (note: content is evaluated, see /help buflist)] +** Typ: Zeichenkette +** Werte: beliebige Zeichenkette +** Standardwert: `+" "+` + * [[option_buflist.format.lag]] *buflist.format.lag* ** Beschreibung: pass:none[Format für die Anzeige der Verzögerungsanzeige für IRC Serverbuffer (Hinweis: Inhalt wird evaluiert, siehe /help buflist)] ** Typ: Zeichenkette diff --git a/doc/en/autogen/user/buflist_commands.adoc b/doc/en/autogen/user/buflist_commands.adoc index ca80e8765..45989b6d8 100644 --- a/doc/en/autogen/user/buflist_commands.adoc +++ b/doc/en/autogen/user/buflist_commands.adoc @@ -26,7 +26,7 @@ The following variables can be used in these options: - ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example - ${format_number}: indented number with separator (evaluation of option buflist.format.number) - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers - - ${indent}: indentation for name (channel and private buffers are indented) + - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) - ${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) diff --git a/doc/en/autogen/user/buflist_options.adoc b/doc/en/autogen/user/buflist_options.adoc index 40bbe4c80..10ec96f0c 100644 --- a/doc/en/autogen/user/buflist_options.adoc +++ b/doc/en/autogen/user/buflist_options.adoc @@ -56,6 +56,12 @@ ** values: any string ** default value: `+"${color:default},"+` +* [[option_buflist.format.indent]] *buflist.format.indent* +** description: pass:none[string displayed to indent channel and private buffers (note: content is evaluated, see /help buflist)] +** type: string +** values: any string +** default value: `+" "+` + * [[option_buflist.format.lag]] *buflist.format.lag* ** description: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)] ** type: string diff --git a/doc/fr/autogen/user/buflist_commands.adoc b/doc/fr/autogen/user/buflist_commands.adoc index eb8dbc0db..bf7aa7d4f 100644 --- a/doc/fr/autogen/user/buflist_commands.adoc +++ b/doc/fr/autogen/user/buflist_commands.adoc @@ -26,7 +26,7 @@ Les variables suivantes peuvent être utilisées dans ces options : - ${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 - ${format_number} : numéro indenté avec un séparateur (évaluation de l'option buflist.format.number) - ${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) + - ${indent} : indentation pour le nom (les tampons de canaux ou privés sont indentés) (évaluation de l'option buflist.format.indent) - ${nick_prefix} : le préfixe du pseudo pour un cancl (défini seulement si l'option buflist.look.nick_prefix est activée) - ${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) diff --git a/doc/fr/autogen/user/buflist_options.adoc b/doc/fr/autogen/user/buflist_options.adoc index 4b4f5a749..1958e8449 100644 --- a/doc/fr/autogen/user/buflist_options.adoc +++ b/doc/fr/autogen/user/buflist_options.adoc @@ -56,6 +56,12 @@ ** valeurs: toute chaîne ** valeur par défaut: `+"${color:default},"+` +* [[option_buflist.format.indent]] *buflist.format.indent* +** description: pass:none[chaîne affichée pour indenter un tampon de canal ou privé (note : le contenu est évalué, voir /help buflist)] +** type: chaîne +** valeurs: toute chaîne +** valeur par défaut: `+" "+` + * [[option_buflist.format.lag]] *buflist.format.lag* ** description: pass:none[format pour le lag sur un tampon de serveur IRC (note : le contenu est évalué, voir /help buflist)] ** type: chaîne diff --git a/doc/it/autogen/user/buflist_commands.adoc b/doc/it/autogen/user/buflist_commands.adoc index ca80e8765..45989b6d8 100644 --- a/doc/it/autogen/user/buflist_commands.adoc +++ b/doc/it/autogen/user/buflist_commands.adoc @@ -26,7 +26,7 @@ The following variables can be used in these options: - ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example - ${format_number}: indented number with separator (evaluation of option buflist.format.number) - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers - - ${indent}: indentation for name (channel and private buffers are indented) + - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) - ${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) diff --git a/doc/it/autogen/user/buflist_options.adoc b/doc/it/autogen/user/buflist_options.adoc index 85cefbdfd..89bdbe16a 100644 --- a/doc/it/autogen/user/buflist_options.adoc +++ b/doc/it/autogen/user/buflist_options.adoc @@ -56,6 +56,12 @@ ** valori: qualsiasi stringa ** valore predefinito: `+"${color:default},"+` +* [[option_buflist.format.indent]] *buflist.format.indent* +** descrizione: pass:none[string displayed to indent channel and private buffers (note: content is evaluated, see /help buflist)] +** tipo: stringa +** valori: qualsiasi stringa +** valore predefinito: `+" "+` + * [[option_buflist.format.lag]] *buflist.format.lag* ** descrizione: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)] ** tipo: stringa diff --git a/doc/ja/autogen/user/buflist_commands.adoc b/doc/ja/autogen/user/buflist_commands.adoc index 08d133408..de8a1484b 100644 --- a/doc/ja/autogen/user/buflist_commands.adoc +++ b/doc/ja/autogen/user/buflist_commands.adoc @@ -8,29 +8,29 @@ ---- /buflist refresh -refresh: 強制的に "buflist" バー要素の内容を最新の状態に更新します +refresh: force the refresh of the "buflist" bar item -各バッファエントリは文字列評価 (書式は /help eval を参照してください) を使って表示されます、以下のオプションで指定します: - - buflist.look.display_conditions: バッファをリスト内に表示する条件 - - buflist.format.buffer: 現在のバッファ以外のバッファを表示する書式 - - buflist.format.buffer_current: 現在のバッファを表示する書式 +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 -以下は上記オプションで使用可能な変数です: - - バッファデータ (完全なリストは API リファレンスの hdata "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} - - buflist プラグインが利便性向上の目的で追加した変数: - - ${format_buffer}: buflist.format.buffer オプションの評価結果; 例えば単に背景色を変えるなどの目的で、この変数を buflist.format.buffer_current オプションの中で使うことも可能です。 - - ${format_number}: 区切り文字を付けたインデント済み番号 (buflist.format.number オプションの評価結果) - - ${number}: インデント済み番号、例えば 10 から 99 番のバッファがある場合に " 1" - - ${indent}: 名前用のインデント (チャンネルとプライベートバッファがインデントされます) - - ${nick_prefix}: チャンネルにおけるニックネームプレフィックス (buflist.look.nick_prefix オプションが有効化された場合のみ設定されます) - - ${name}: 短縮名 (設定済みの場合)、未設定の場合には名前 - - ${color_hotlist}: 対象バッファのホットリストレベルの最大値に対応する色 (buflist.format.hotlist_xxx オプションの評価結果、xxx がレベル) - - ${format_hotlist}: 評価後のホットリスト (buflist.format.hotlist オプションの評価結果) - - ${hotlist}: 評価前のホットリスト - - ${format_lag}: IRC サーババッファの遅延時間、遅延がない場合は空 (buflist.format.lag オプションの評価結果) + - extra variables added by buflist for convenience: + - ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example + - ${format_number}: indented number with separator (evaluation of option buflist.format.number) + - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers + - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) + - ${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 + - ${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 8c5adb224..e84cd1a74 100644 --- a/doc/ja/autogen/user/buflist_options.adoc +++ b/doc/ja/autogen/user/buflist_options.adoc @@ -56,6 +56,12 @@ ** 値: 未制約文字列 ** デフォルト値: `+"${color:default},"+` +* [[option_buflist.format.indent]] *buflist.format.indent* +** 説明: pass:none[string displayed to indent channel and private buffers (note: content is evaluated, see /help buflist)] +** タイプ: 文字列 +** 値: 未制約文字列 +** デフォルト値: `+" "+` + * [[option_buflist.format.lag]] *buflist.format.lag* ** 説明: pass:none[IRC サーババッファの遅延時間の表示書式 (注意: 値は評価されます、/help eval を参照してください)] ** タイプ: 文字列 diff --git a/doc/pl/autogen/user/buflist_commands.adoc b/doc/pl/autogen/user/buflist_commands.adoc index ca80e8765..45989b6d8 100644 --- a/doc/pl/autogen/user/buflist_commands.adoc +++ b/doc/pl/autogen/user/buflist_commands.adoc @@ -26,7 +26,7 @@ The following variables can be used in these options: - ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example - ${format_number}: indented number with separator (evaluation of option buflist.format.number) - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers - - ${indent}: indentation for name (channel and private buffers are indented) + - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) - ${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) diff --git a/doc/pl/autogen/user/buflist_options.adoc b/doc/pl/autogen/user/buflist_options.adoc index 0c56ea7f7..8d1f99f24 100644 --- a/doc/pl/autogen/user/buflist_options.adoc +++ b/doc/pl/autogen/user/buflist_options.adoc @@ -56,6 +56,12 @@ ** wartości: dowolny ciąg ** domyślna wartość: `+"${color:default},"+` +* [[option_buflist.format.indent]] *buflist.format.indent* +** opis: pass:none[string displayed to indent channel and private buffers (note: content is evaluated, see /help buflist)] +** typ: ciąg +** wartości: dowolny ciąg +** domyślna wartość: `+" "+` + * [[option_buflist.format.lag]] *buflist.format.lag* ** opis: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)] ** typ: ciąg @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\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" @@ -4928,7 +4928,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5042,6 +5042,12 @@ msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů" #, fuzzy msgid "" +"string displayed to indent channel and private buffers (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ů" @@ -11649,12 +11655,6 @@ msgstr "%s%s: vypršel časový limit \"%s\" pro %s" msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: nemohu se připojit\" neočekávaná chyba (%d)" -#, fuzzy -#~ msgid "" -#~ "conditions to display 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ů" - #~ msgid "commands defined by plugins" #~ msgstr "příkazy definované pluginy" @@ -19,7 +19,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\n" "PO-Revision-Date: 2017-04-21 21:58+0200\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German <kde-i18n-de@kde.org>\n" @@ -5782,6 +5782,7 @@ msgstr "Liste von Buffern" msgid "bar item with list of buffers" msgstr "Bar-Item mit der Liste von Buffern" +#, fuzzy msgid "" "refresh: force the refresh of the \"buflist\" bar item\n" "\n" @@ -5809,7 +5810,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5994,6 +5995,14 @@ msgstr "" "Trennzeichen for counts in hotlist (Hinweis: Inhalt wird evaluiert, siehe /" "help buflist)" +#, fuzzy +msgid "" +"string displayed to indent channel and private buffers (note: content is " +"evaluated, see /help buflist)" +msgstr "" +"Bedingungen für die Darstellung eines Buffers (Hinweis: Inhalt wird " +"evaluiert, siehe /help buflist)" + msgid "" "format for lag on an IRC server buffer (note: content is evaluated, see /" "help buflist)" @@ -13376,13 +13385,6 @@ msgstr "" #~ "bevorzugt; diese Einstellung sollte nur deaktiviert werden falls Probleme " #~ "beim Herunterladen auftreten" -#~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "" -#~ "Bedingungen für die Darstellung eines Buffers (Hinweis: Inhalt wird " -#~ "evaluiert, siehe /help buflist)" - #~ msgid "commands defined by plugins" #~ msgstr "Befehle, definiert durch Erweiterungen" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\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" @@ -5141,7 +5141,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5255,6 +5255,12 @@ msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins" #, fuzzy msgid "" +"string displayed to indent channel and private buffers (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" @@ -11912,13 +11918,6 @@ msgstr "%s%s: tiempo de espera máximo para \"%s\" con %s" msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: no es posible conectarse al transmisor" -#, fuzzy -#~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "" -#~ "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins" - #~ msgid "commands defined by plugins" #~ msgstr "comandos definidos por plugins" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" -"PO-Revision-Date: 2017-04-23 14:10+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\n" +"PO-Revision-Date: 2017-04-23 14:45+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -5682,7 +5682,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5723,7 +5723,7 @@ msgstr "" " - ${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" +"sont indentés) (évaluation de l'option buflist.format.indent)\n" " - ${nick_prefix} : le préfixe du pseudo pour un cancl (défini seulement " "si l'option buflist.look.nick_prefix est activée)\n" " - ${name} : le nom court (si défini), sinon le nom\n" @@ -5865,6 +5865,13 @@ msgstr "" "voir /help buflist)" msgid "" +"string displayed to indent channel and private buffers (note: content is " +"evaluated, see /help buflist)" +msgstr "" +"chaîne affichée pour indenter un tampon de canal ou privé (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 "" @@ -13106,13 +13113,6 @@ msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)" #~ "problèmes avec les téléchargements" #~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "" -#~ "conditions pour afficher un tampon (note : le contenu est évalué, voir /" -#~ "help buflist)" - -#~ msgid "" #~ "jump to previous/next visited buffer if you click with left/right mouse " #~ "button on line with current buffer" #~ msgstr "" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\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" @@ -4465,7 +4465,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -4577,6 +4577,12 @@ msgstr "felhasználónév az IRC szerveren" #, fuzzy msgid "" +"string displayed to indent channel and private buffers (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" @@ -10941,12 +10947,6 @@ msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s DCC: nem sikerült kapcsolódni a küldőhöz\n" #, fuzzy -#~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "felhasználónév az IRC szerveren" - -#, fuzzy #~ msgid "commands defined by plugins" #~ msgstr " (nem található bővítőmodul)\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\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" @@ -5279,7 +5279,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5411,6 +5411,14 @@ msgstr "" #, fuzzy msgid "" +"string displayed to indent channel and private buffers (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 "" @@ -12121,14 +12129,6 @@ msgstr "%s%s: timeout per \"%s\" con %s" msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: impossibile connettersi al mittente" -#, fuzzy -#~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "" -#~ "nome utente per il server proxy (nota: il contenuto viene valutato, " -#~ "consultare /help eval)" - #~ msgid "commands defined by plugins" #~ msgstr "comandi definiti dai plugin" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\n" "PO-Revision-Date: 2017-04-23 09:00+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -5391,6 +5391,7 @@ msgstr "バッファリスト" msgid "bar item with list of buffers" msgstr "バッファのリストを表示するバー要素" +#, fuzzy msgid "" "refresh: force the refresh of the \"buflist\" bar item\n" "\n" @@ -5418,7 +5419,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5596,6 +5597,13 @@ msgstr "" "ホットリスト内のカウンタを示す区切り文字 (注意: 値は評価されます、/help eval " "を参照してください)" +#, fuzzy +msgid "" +"string displayed to indent channel and private buffers (note: content is " +"evaluated, see /help buflist)" +msgstr "" +"バッファの表示条件 (注意: 値は評価されます、/help eval を参照してください)" + msgid "" "format for lag on an IRC server buffer (note: content is evaluated, see /" "help buflist)" @@ -12600,12 +12608,6 @@ msgstr "%s%s: 接続できません: 未定義のエラー (%d)" #~ "ダウンロード (インデックスおよびスクリプト) の際に HTTPS を使うことを強制" #~ "する; ダウンロードに問題がある場合のみこのオプションを無効化してください" -#~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "" -#~ "バッファの表示条件 (注意: 値は評価されます、/help eval を参照してください)" - #~ msgid "commands defined by plugins" #~ msgstr "プラグインの定義するコマンド" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\n" "PO-Revision-Date: 2017-04-08 14:49+0200\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5533,7 +5533,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5662,6 +5662,14 @@ msgstr "" #, fuzzy msgid "" +"string displayed to indent channel and private buffers (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 lag on an IRC server buffer (note: content is evaluated, see /" "help buflist)" msgstr "" @@ -12756,14 +12764,6 @@ msgstr "%s%s: nie można połączyć: niespodziewany błąd (%d)" #~ "wymusza użycie HTTPS do pobierania (listy i skryptów); powinieneś " #~ "wyłączyć tą opcję tylko jeśli występują problemy z pobieraniem" -#, fuzzy -#~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "" -#~ "prawdziwa nazwa do użycia na serwerze (uwaga: zawartość jest " -#~ "przetwarzana, zobacz /help eval)" - #~ msgid "commands defined by plugins" #~ msgstr "komendy zdefiniowane przez wtyczki" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\n" "PO-Revision-Date: 2017-04-08 14:50+0200\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Language-Team: Portuguese <>\n" @@ -5535,7 +5535,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5662,6 +5662,13 @@ msgstr "" #, fuzzy msgid "" +"string displayed to indent channel and private buffers (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 lag on an IRC server buffer (note: content is evaluated, see /" "help buflist)" msgstr "" @@ -12766,13 +12773,6 @@ msgstr "%s%s: não foi possível conectar: erro inesperado (%d)" #~ "forçar uso de HTTPS para transferir (índice e scripts); deve desativar " #~ "esta opção apenas se tem problemas com as transferências" -#, fuzzy -#~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "" -#~ "nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)" - #~ msgid "commands defined by plugins" #~ msgstr "comandos definidos por plugins" diff --git a/po/pt_BR.po b/po/pt_BR.po index 271eefe4f..d55a571a1 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-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\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" @@ -5081,7 +5081,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -5213,6 +5213,14 @@ msgstr "" #, fuzzy msgid "" +"string displayed to indent channel and private buffers (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 "" @@ -11409,14 +11417,6 @@ msgstr "%s%s: tempo esgotado para \"%s\" com %s" msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: não foi possível conectar ao remetente" -#, fuzzy -#~ msgid "" -#~ "conditions to display 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)" - #~ msgid "commands defined by plugins" #~ msgstr "comandos definidos por plugins" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\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" @@ -4503,7 +4503,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -4615,6 +4615,12 @@ msgstr "ник, используемый на IRC сервере" #, fuzzy msgid "" +"string displayed to indent channel and private buffers (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 сервере" @@ -10973,12 +10979,6 @@ msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s DCC: не могу соединиться с отправителем\n" #, fuzzy -#~ msgid "" -#~ "conditions to display a buffer (note: content is evaluated, see /help " -#~ "buflist)" -#~ msgstr "ник, используемый на IRC сервере" - -#, fuzzy #~ msgid "commands defined by plugins" #~ msgstr " (нет pluginа)\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+0200\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" @@ -4068,7 +4068,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -4171,6 +4171,11 @@ msgid "" msgstr "" msgid "" +"string displayed to indent channel and private buffers (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 "" diff --git a/po/weechat.pot b/po/weechat.pot index 207d67f36..dadce4ee9 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-04-23 14:09+0200\n" +"POT-Creation-Date: 2017-04-23 14:44+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" @@ -4053,7 +4053,7 @@ msgid "" " - ${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" +"indented) (evaluation of option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only if the option " "buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the name\n" @@ -4156,6 +4156,11 @@ msgid "" msgstr "" msgid "" +"string displayed to indent channel and private buffers (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 "" diff --git a/src/plugins/buflist/buflist-bar-item.c b/src/plugins/buflist/buflist-bar-item.c index 25b11a5d4..218b9bb6f 100644 --- a/src/plugins/buflist/buflist-bar-item.c +++ b/src/plugins/buflist/buflist-bar-item.c @@ -55,14 +55,15 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data, char **buflist, *str_buflist, *condition; char str_format_number[32], str_format_number_empty[32]; char str_nick_prefix[32]; - char str_number[32], str_indent_name[4], *line, **hotlist, *str_hotlist; + char str_number[32], *line, **hotlist, *str_hotlist; char str_hotlist_count[32]; - const char *ptr_format, *ptr_format_current, *ptr_name, *ptr_type; - const char *ptr_nick, *ptr_nick_prefix; + const char *ptr_format, *ptr_format_current, *ptr_format_indent; + const char *ptr_name, *ptr_type, *ptr_nick, *ptr_nick_prefix; const char *ptr_hotlist_format, *ptr_hotlist_priority; const char *hotlist_priority_none = "none"; const char *hotlist_priority[4] = { "low", "message", "private", "highlight" }; + const char indent_empty[1] = { '\0' }; const char *ptr_lag; int is_channel, is_private; int i, j, length_max_number, current_buffer, number, prev_number, priority; @@ -163,12 +164,11 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data, prev_number = number; /* buffer name */ - str_indent_name[0] = '\0'; ptr_type = weechat_buffer_get_string (ptr_buffer, "localvar_type"); is_channel = (ptr_type && (strcmp (ptr_type, "channel") == 0)); is_private = (ptr_type && (strcmp (ptr_type, "private") == 0)); - if (is_channel || is_private) - snprintf (str_indent_name, sizeof (str_indent_name), " "); + ptr_format_indent = (is_channel || is_private) ? + weechat_config_string (buflist_config_format_indent) : indent_empty; /* nick prefix */ str_nick_prefix[0] = '\0'; @@ -216,7 +216,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data, weechat_config_string ( buflist_config_format_number)); weechat_hashtable_set (buflist_hashtable_extra_vars, - "indent", str_indent_name); + "indent", ptr_format_indent); weechat_hashtable_set (buflist_hashtable_extra_vars, "name", ptr_name); diff --git a/src/plugins/buflist/buflist-command.c b/src/plugins/buflist/buflist-command.c index 2c61252c9..606117331 100644 --- a/src/plugins/buflist/buflist-command.c +++ b/src/plugins/buflist/buflist-command.c @@ -98,7 +98,8 @@ buflist_command_init () " - ${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" + "buffers are indented) (evaluation of " + "option buflist.format.indent)\n" " - ${nick_prefix}: nick prefix for a channel (set only " "if the option buflist.look.nick_prefix is enabled)\n" " - ${name}: the short name (if set), with a fallback on the " diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c index 1933a5a99..0ae5dbc0b 100644 --- a/src/plugins/buflist/buflist-config.c +++ b/src/plugins/buflist/buflist-config.c @@ -49,6 +49,7 @@ struct t_config_option *buflist_config_format_hotlist; struct t_config_option *buflist_config_format_hotlist_level[4]; struct t_config_option *buflist_config_format_hotlist_level_none; struct t_config_option *buflist_config_format_hotlist_separator; +struct t_config_option *buflist_config_format_indent; struct t_config_option *buflist_config_format_lag; struct t_config_option *buflist_config_format_number; @@ -303,9 +304,7 @@ buflist_config_init () "to hide server buffers if they are merged with core buffer: " "\"${buffer.hidden}==0 && ((${type}!=server && " "${buffer.full_name}!=core.weechat) || ${buffer.active}==1)\""), - NULL, 0, 0, - "${buffer.hidden}==0", - NULL, 0, + NULL, 0, 0, "${buffer.hidden}==0", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, NULL, NULL, NULL); @@ -371,9 +370,7 @@ buflist_config_init () N_("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"), - NULL, 0, 0, - "number,-active", - NULL, 0, + NULL, 0, 0, "number,-active", NULL, 0, NULL, NULL, NULL, &buflist_config_change_sort, NULL, NULL, NULL, NULL, NULL); @@ -408,9 +405,7 @@ buflist_config_init () "buffer_current", "string", N_("format for the line with current buffer " "(note: content is evaluated, see /help buflist)"), - NULL, 0, 0, - "${color:,blue}${format_buffer}", - NULL, 0, + NULL, 0, 0, "${color:,blue}${format_buffer}", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, NULL, NULL, NULL); @@ -430,9 +425,7 @@ buflist_config_init () "hotlist_low", "string", N_("format for a buffer with hotlist level \"low\" " "(note: content is evaluated, see /help buflist)"), - NULL, 0, 0, - "${color:white}", - NULL, 0, + NULL, 0, 0, "${color:white}", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, NULL, NULL, NULL); @@ -441,9 +434,7 @@ buflist_config_init () "hotlist_message", "string", N_("format for a buffer with hotlist level \"message\" " "(note: content is evaluated, see /help buflist)"), - NULL, 0, 0, - "${color:brown}", - NULL, 0, + NULL, 0, 0, "${color:brown}", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, NULL, NULL, NULL); @@ -452,9 +443,7 @@ buflist_config_init () "hotlist_private", "string", N_("format for a buffer with hotlist level \"private\" " "(note: content is evaluated, see /help buflist)"), - NULL, 0, 0, - "${color:green}", - NULL, 0, + NULL, 0, 0, "${color:green}", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, NULL, NULL, NULL); @@ -463,9 +452,7 @@ buflist_config_init () "hotlist_highlight", "string", N_("format for a buffer with hotlist level \"highlight\" " "(note: content is evaluated, see /help buflist)"), - NULL, 0, 0, - "${color:magenta}", - NULL, 0, + NULL, 0, 0, "${color:magenta}", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, NULL, NULL, NULL); @@ -474,9 +461,7 @@ buflist_config_init () "hotlist_none", "string", N_("format for a buffer not in hotlist " "(note: content is evaluated, see /help buflist)"), - NULL, 0, 0, - "${color:default}", - NULL, 0, + NULL, 0, 0, "${color:default}", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, NULL, NULL, NULL); @@ -485,9 +470,16 @@ buflist_config_init () "hotlist_separator", "string", N_("separator for counts in hotlist " "(note: content is evaluated, see /help buflist)"), - NULL, 0, 0, - "${color:default},", - NULL, 0, + NULL, 0, 0, "${color:default},", NULL, 0, + NULL, NULL, NULL, + &buflist_config_change_buflist, NULL, NULL, + NULL, NULL, NULL); + buflist_config_format_indent = weechat_config_new_option ( + buflist_config_file, ptr_section, + "indent", "string", + N_("string displayed to indent channel and private buffers " + "(note: content is evaluated, see /help buflist)"), + NULL, 0, 0, " ", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, NULL, NULL, NULL); diff --git a/src/plugins/buflist/buflist-config.h b/src/plugins/buflist/buflist-config.h index f78dcce29..36935235b 100644 --- a/src/plugins/buflist/buflist-config.h +++ b/src/plugins/buflist/buflist-config.h @@ -47,6 +47,7 @@ extern struct t_config_option *buflist_config_format_hotlist; extern struct t_config_option *buflist_config_format_hotlist_level[4]; extern struct t_config_option *buflist_config_format_hotlist_level_none; extern struct t_config_option *buflist_config_format_hotlist_separator; +extern struct t_config_option *buflist_config_format_indent; extern struct t_config_option *buflist_config_format_lag; extern struct t_config_option *buflist_config_format_number; |