From 0f8485f54e24d5ae152b4c1bd102ad14ca23d3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 19 May 2018 14:47:59 +0200 Subject: [PATCH] buflist: add example of format for two bar items using a ternary operator in /help buflist.format.buffer --- doc/de/autogen/user/buflist_options.adoc | 2 +- doc/en/autogen/user/buflist_options.adoc | 2 +- doc/fr/autogen/user/buflist_options.adoc | 2 +- doc/it/autogen/user/buflist_options.adoc | 2 +- doc/ja/autogen/user/buflist_options.adoc | 2 +- doc/pl/autogen/user/buflist_options.adoc | 2 +- po/cs.po | 17 +++++++++++++---- po/de.po | 17 +++++++++++++---- po/es.po | 18 ++++++++++++++---- po/fr.po | 23 +++++++++++++++++++---- po/hu.po | 17 +++++++++++++---- po/it.po | 19 ++++++++++++++----- po/ja.po | 16 +++++++++++++--- po/pl.po | 17 +++++++++++++---- po/pt.po | 17 +++++++++++++---- po/pt_BR.po | 19 ++++++++++++++----- po/ru.po | 17 +++++++++++++---- po/tr.po | 8 ++++++-- po/weechat.pot | 8 ++++++-- src/plugins/buflist/buflist-config.c | 8 +++++++- 20 files changed, 177 insertions(+), 56 deletions(-) diff --git a/doc/de/autogen/user/buflist_options.adoc b/doc/de/autogen/user/buflist_options.adoc index 0adb13ba9..edcaa4be3 100644 --- a/doc/de/autogen/user/buflist_options.adoc +++ b/doc/de/autogen/user/buflist_options.adoc @@ -3,7 +3,7 @@ // DO NOT EDIT BY HAND! // * [[option_buflist.format.buffer]] *buflist.format.buffer* -** Beschreibung: pass:none[Format für eine Zeile mit einem Buffer (Hinweis: Inhalt wird evaluiert, siehe /help buflist)] +** Beschreibung: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist); example: standard format for bar item "buflist" and only the buffer number between square brackets for other bar items ("buflist2" and "buflist3"): "${if:${bar_item.name}==buflist?${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:[${number}\]}"] ** Typ: Zeichenkette ** Werte: beliebige Zeichenkette ** Standardwert: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+` diff --git a/doc/en/autogen/user/buflist_options.adoc b/doc/en/autogen/user/buflist_options.adoc index 18a099098..a28f958e9 100644 --- a/doc/en/autogen/user/buflist_options.adoc +++ b/doc/en/autogen/user/buflist_options.adoc @@ -3,7 +3,7 @@ // DO NOT EDIT BY HAND! // * [[option_buflist.format.buffer]] *buflist.format.buffer* -** description: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)] +** description: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist); example: standard format for bar item "buflist" and only the buffer number between square brackets for other bar items ("buflist2" and "buflist3"): "${if:${bar_item.name}==buflist?${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:[${number}\]}"] ** type: string ** values: any string ** default value: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+` diff --git a/doc/fr/autogen/user/buflist_options.adoc b/doc/fr/autogen/user/buflist_options.adoc index 71ce26b09..1024c29a0 100644 --- a/doc/fr/autogen/user/buflist_options.adoc +++ b/doc/fr/autogen/user/buflist_options.adoc @@ -3,7 +3,7 @@ // DO NOT EDIT BY HAND! // * [[option_buflist.format.buffer]] *buflist.format.buffer* -** description: pass:none[format pour chaque ligne avec un tampon (note : le contenu est évalué, voir /help buflist)] +** description: pass:none[format pour chaque ligne avec un tampon (note : le contenu est évalué, voir /help buflist) ; exemple : format standard pour l'objet de barre "buflist" et seulement le numéro du tampon entre crochets pour les autres objets de barre ("buflist2" et "buflist3") : "${if:${bar_item.name}==buflist?${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:[${number}\]}"] ** type: chaîne ** valeurs: toute chaîne ** valeur par défaut: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+` diff --git a/doc/it/autogen/user/buflist_options.adoc b/doc/it/autogen/user/buflist_options.adoc index 6fbb9d8b6..cbafd9b85 100644 --- a/doc/it/autogen/user/buflist_options.adoc +++ b/doc/it/autogen/user/buflist_options.adoc @@ -3,7 +3,7 @@ // DO NOT EDIT BY HAND! // * [[option_buflist.format.buffer]] *buflist.format.buffer* -** descrizione: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)] +** descrizione: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist); example: standard format for bar item "buflist" and only the buffer number between square brackets for other bar items ("buflist2" and "buflist3"): "${if:${bar_item.name}==buflist?${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:[${number}\]}"] ** tipo: stringa ** valori: qualsiasi stringa ** valore predefinito: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+` diff --git a/doc/ja/autogen/user/buflist_options.adoc b/doc/ja/autogen/user/buflist_options.adoc index d21857f3a..07b63b303 100644 --- a/doc/ja/autogen/user/buflist_options.adoc +++ b/doc/ja/autogen/user/buflist_options.adoc @@ -3,7 +3,7 @@ // DO NOT EDIT BY HAND! // * [[option_buflist.format.buffer]] *buflist.format.buffer* -** 説明: pass:none[各バッファの表示書式 (注意: 値は評価されます、/help eval を参照してください)] +** 説明: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist); example: standard format for bar item "buflist" and only the buffer number between square brackets for other bar items ("buflist2" and "buflist3"): "${if:${bar_item.name}==buflist?${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:[${number}\]}"] ** タイプ: 文字列 ** 値: 未制約文字列 ** デフォルト値: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+` diff --git a/doc/pl/autogen/user/buflist_options.adoc b/doc/pl/autogen/user/buflist_options.adoc index 101f90f37..868a5792a 100644 --- a/doc/pl/autogen/user/buflist_options.adoc +++ b/doc/pl/autogen/user/buflist_options.adoc @@ -3,7 +3,7 @@ // DO NOT EDIT BY HAND! // * [[option_buflist.format.buffer]] *buflist.format.buffer* -** opis: pass:none[format każdej linii w buforze (uwaga: zawartość jest przetwarzana, zobacz /help buflist)] +** opis: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist); example: standard format for bar item "buflist" and only the buffer number between square brackets for other bar items ("buflist2" and "buflist3"): "${if:${bar_item.name}==buflist?${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:[${number}\]}"] ** typ: ciąg ** wartości: dowolny ciąg ** domyślna wartość: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+` diff --git a/po/cs.po b/po/cs.po index d09815038..e3da10f3f 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -5130,11 +5130,14 @@ msgid "" "and reverse sort on buffer short name" msgstr "" -#, fuzzy msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" -msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" +msgstr "" #, fuzzy msgid "" @@ -12558,6 +12561,12 @@ 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 "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[[,...]] [] [-re ]" diff --git a/po/de.po b/po/de.po index fdb35be0d..9bc5896c6 100644 --- a/po/de.po +++ b/po/de.po @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-04-20 16:10+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -6176,10 +6176,12 @@ msgstr "" msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgstr "" -"Format für eine Zeile mit einem Buffer (Hinweis: Inhalt wird evaluiert, " -"siehe /help buflist)" msgid "" "format for the line with current buffer (note: content is evaluated, see /" @@ -14617,6 +14619,13 @@ msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "" "%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)" +#~ msgid "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "" +#~ "Format für eine Zeile mit einem Buffer (Hinweis: Inhalt wird evaluiert, " +#~ "siehe /help buflist)" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[[,...]] [] [-re ]" diff --git a/po/es.po b/po/es.po index 68c8e805d..46ab1a46e 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -5345,11 +5345,14 @@ msgid "" "and reverse sort on buffer short name" msgstr "" -#, fuzzy msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" -msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" +msgstr "" #, fuzzy msgid "" @@ -12838,6 +12841,13 @@ 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 "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "" +#~ "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[[,...]] [] [-re ]" diff --git a/po/fr.po b/po/fr.po index c50f8f0ef..6892cc234 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: 2018-05-19 09:04+0200\n" -"PO-Revision-Date: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" +"PO-Revision-Date: 2018-05-19 14:46+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -6029,10 +6029,18 @@ msgstr "" msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgstr "" "format pour chaque ligne avec un tampon (note : le contenu est évalué, voir /" -"help buflist)" +"help buflist) ; exemple : format standard pour l'objet de barre \"buflist\" " +"et seulement le numéro du tampon entre crochets pour les autres objets de " +"barre (\"buflist2\" et \"buflist3\") : \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgid "" "format for the line with current buffer (note: content is evaluated, see /" @@ -14327,6 +14335,13 @@ msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s" msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)" +#~ msgid "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "" +#~ "format pour chaque ligne avec un tampon (note : le contenu est évalué, " +#~ "voir /help buflist)" + #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[[,...]] [] [-re ]" diff --git a/po/hu.po b/po/hu.po index 12102ed2a..3e48d4f15 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -4664,11 +4664,14 @@ msgid "" "and reverse sort on buffer short name" msgstr "" -#, fuzzy msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" -msgstr "felhasználónév az IRC szerveren" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" +msgstr "" #, fuzzy msgid "" @@ -11843,6 +11846,12 @@ msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n" 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 "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "felhasználónév az IRC szerveren" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[szoba[,szoba] [szerver]]" diff --git a/po/it.po b/po/it.po index 37c010c99..aae02a2c0 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -5483,13 +5483,14 @@ msgid "" "and reverse sort on buffer short name" msgstr "" -#, fuzzy msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgstr "" -"nome utente per il server proxy (nota: il contenuto viene valutato, " -"consultare /help eval)" #, fuzzy msgid "" @@ -13053,6 +13054,14 @@ 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 "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "" +#~ "nome utente per il server proxy (nota: il contenuto viene valutato, " +#~ "consultare /help eval)" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[[,...]] [] [-re ]" diff --git a/po/ja.po b/po/ja.po index c99ef4e45..76dc696d3 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-04-21 09:00+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese [,...]] [] [-re ]" #~ msgstr "[[,...]] [] [-re ]" diff --git a/po/pl.po b/po/pl.po index f91977784..0d35eec53 100644 --- a/po/pl.po +++ b/po/pl.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: Polish <>\n" @@ -5886,10 +5886,12 @@ msgstr "" msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgstr "" -"format każdej linii w buforze (uwaga: zawartość jest przetwarzana, zobacz /" -"help buflist)" msgid "" "format for the line with current buffer (note: content is evaluated, see /" @@ -14021,6 +14023,13 @@ msgstr "%s%s: przekroczono czas na \"%s\" z %s" msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: nie można połączyć: niespodziewany błąd (%d)" +#~ msgid "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "" +#~ "format każdej linii w buforze (uwaga: zawartość jest przetwarzana, " +#~ "zobacz /help buflist)" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[[,...]] [] [-re ]" diff --git a/po/pt.po b/po/pt.po index 705118bce..925735307 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -5746,12 +5746,14 @@ msgid "" "and reverse sort on buffer short name" msgstr "" -#, fuzzy msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgstr "" -"nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)" #, fuzzy msgid "" @@ -13709,6 +13711,13 @@ msgstr "%s%s: tempo limite de \"%s\" com %s" msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: não foi possível conectar: erro inesperado (%d)" +#, fuzzy +#~ msgid "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "" +#~ "nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[[,...]] [servidor>] [-re ]" diff --git a/po/pt_BR.po b/po/pt_BR.po index 6fc056823..1176eeb0f 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-03-31 15:37+0200\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -5285,13 +5285,14 @@ msgid "" "and reverse sort on buffer short name" msgstr "" -#, fuzzy msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgstr "" -"comando executado quando o WeeChat inicia, antes do carregamento dos plugins " -"(nota: conteúdo é avaliado, veja /help eval)" #, fuzzy msgid "" @@ -12304,6 +12305,14 @@ 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 "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "" +#~ "comando executado quando o WeeChat inicia, antes do carregamento dos " +#~ "plugins (nota: conteúdo é avaliado, veja /help eval)" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[[,...]] [] [-re ]" diff --git a/po/ru.po b/po/ru.po index bb157ee34..1b9139dbc 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2018-03-31 15:37+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -4702,11 +4702,14 @@ msgid "" "and reverse sort on buffer short name" msgstr "" -#, fuzzy msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" -msgstr "ник, используемый на IRC сервере" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" +msgstr "" #, fuzzy msgid "" @@ -11875,6 +11878,12 @@ msgstr "%s нет аргумента для параметра \"%s\"\n" msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s DCC: не могу соединиться с отправителем\n" +#, fuzzy +#~ msgid "" +#~ "format of each line with a buffer (note: content is evaluated, see /help " +#~ "buflist)" +#~ msgstr "ник, используемый на IRC сервере" + #, fuzzy #~ msgid "[[,...]] [] [-re ]" #~ msgstr "[канал[,канал] [сервер]]" diff --git a/po/tr.po b/po/tr.po index f881f7eff..f181293ea 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2017-06-26 23:33+0200\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -4270,7 +4270,11 @@ msgstr "" msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgstr "" msgid "" diff --git a/po/weechat.pot b/po/weechat.pot index 8ac251b88..a37246ef6 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: 2018-05-19 09:04+0200\n" +"POT-Creation-Date: 2018-05-19 14:46+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -4253,7 +4253,11 @@ msgstr "" msgid "" "format of each line with a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); example: standard format for bar item \"buflist\" and only the " +"buffer number between square brackets for other bar items (\"buflist2\" and " +"\"buflist3\"): \"${if:${bar_item.name}==buflist?" +"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}:" +"[${number}]}\"" msgstr "" msgid "" diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c index f71603f4c..a32826d86 100644 --- a/src/plugins/buflist/buflist-config.c +++ b/src/plugins/buflist/buflist-config.c @@ -541,7 +541,13 @@ buflist_config_init () buflist_config_file, ptr_section, "buffer", "string", N_("format of each line with a buffer " - "(note: content is evaluated, see /help buflist)"), + "(note: content is evaluated, see /help buflist); " + "example: standard format for bar item \"buflist\" and only the " + "buffer number between square brackets for other bar items " + "(\"buflist2\" and \"buflist3\"): " + "\"${if:${bar_item.name}==buflist?${format_number}${indent}" + "${format_nick_prefix}${color_hotlist}${format_name}:" + "[${number}]}\""), NULL, 0, 0, "${format_number}${indent}${format_nick_prefix}${color_hotlist}" "${format_name}",