From 669ca77c415d98aefdccd31d79842b5a8b0307ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 20 Apr 2017 22:00:17 +0200 Subject: [PATCH] buflist: add example in /help buflist.look.display_conditions --- po/cs.po | 15 +++++++++++---- po/de.po | 15 +++++++++++---- po/es.po | 16 ++++++++++++---- po/fr.po | 19 +++++++++++++++---- po/hu.po | 15 +++++++++++---- po/it.po | 17 ++++++++++++----- po/ja.po | 13 ++++++++++--- po/pl.po | 17 ++++++++++++----- po/pt.po | 15 +++++++++++---- po/pt_BR.po | 17 ++++++++++++----- po/ru.po | 15 +++++++++++---- po/tr.po | 6 ++++-- po/weechat.pot | 6 ++++-- src/plugins/buflist/buflist-config.c | 5 ++++- 14 files changed, 140 insertions(+), 51 deletions(-) diff --git a/po/cs.po b/po/cs.po index c0dc34feb..5ae5a87d8 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-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2017-01-06 21:59+0100\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -4947,11 +4947,12 @@ msgstr "" msgid "%s: %d signals hooked" msgstr " napojené signály:" -#, 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ů" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" +msgstr "" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -11655,6 +11656,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 "" +#~ "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" diff --git a/po/de.po b/po/de.po index acb4668a8..b64c19245 100644 --- a/po/de.po +++ b/po/de.po @@ -19,7 +19,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2017-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2017-04-08 14:48+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -5872,10 +5872,10 @@ msgstr "%s: %d Signale hooked" msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" msgstr "" -"Bedingungen für die Darstellung eines Buffers (Hinweis: Inhalt wird " -"evaluiert, siehe /help buflist)" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -13367,6 +13367,13 @@ msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "" "%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)" +#~ 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" diff --git a/po/es.po b/po/es.po index ed29e1879..60f1800ce 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-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2017-01-06 22:01+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -5160,11 +5160,12 @@ msgstr "" msgid "%s: %d signals hooked" msgstr " señales enganchadas:" -#, 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" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" +msgstr "" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -11918,6 +11919,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 "" +#~ "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" diff --git a/po/fr.po b/po/fr.po index f985c662d..23739799f 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-04-08 14:48+0200\n" -"PO-Revision-Date: 2017-04-08 14:49+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" +"PO-Revision-Date: 2017-04-20 21:58+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -5744,10 +5744,14 @@ msgstr "%s: %d signaux accrochés" msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" msgstr "" "conditions pour afficher un tampon (note : le contenu est évalué, voir /help " -"buflist)" +"buflist) ; par exemple pour cacher les tampons de serveurs s'ils sont " +"fusionnés avec le tampon \"core\" : \"${buffer.hidden}==0 && ((${type}!" +"=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)\"" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -13100,6 +13104,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 "" +#~ "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" diff --git a/po/hu.po b/po/hu.po index 3fd29aa6c..b09c51b96 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-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2017-01-06 22:03+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -4484,11 +4484,12 @@ msgstr "" msgid "%s: %d signals hooked" msgstr " üzenetkezelők:\n" -#, fuzzy msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" -msgstr "felhasználónév az IRC szerveren" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" +msgstr "" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -10946,6 +10947,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 "" +#~ "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" diff --git a/po/it.po b/po/it.po index e772fc4a7..c1b0c16d8 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-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2017-01-06 22:04+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -5298,13 +5298,12 @@ msgstr "" msgid "%s: %d signals hooked" msgstr " hook sui segnali:" -#, fuzzy msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" msgstr "" -"nome utente per il server proxy (nota: il contenuto viene valutato, " -"consultare /help eval)" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -12129,6 +12128,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 "" +#~ "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" diff --git a/po/ja.po b/po/ja.po index b4737ba1e..08d373d8a 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-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2017-04-08 14:49+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: weechat-dev \n" @@ -5552,13 +5552,12 @@ msgstr "" msgid "%s: %d signals hooked" msgstr " powiązane sygnały:" -#, fuzzy msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" msgstr "" -"prawdziwa nazwa do użycia na serwerze (uwaga: zawartość jest przetwarzana, " -"zobacz /help eval)" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -12754,6 +12753,14 @@ 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)" +#, 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" diff --git a/po/pt.po b/po/pt.po index 52e9b5866..42acd9365 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-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2017-04-08 14:50+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -5554,12 +5554,12 @@ msgstr "" msgid "%s: %d signals hooked" msgstr " sinais ligados:" -#, fuzzy msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" msgstr "" -"nome real a usar no servidor (nota: o conteúdo é avaliado, ver /help eval)" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -12763,6 +12763,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 "" +#~ "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 c8a009be6..761ca742f 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-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2016-09-03 08:24+0200\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -5100,13 +5100,12 @@ msgstr "" msgid "%s: %d signals hooked" msgstr " sinais relacionados:" -#, fuzzy msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" msgstr "" -"comando executado quando o WeeChat inicia, antes do carregamento dos plugins " -"(nota: conteúdo é avaliado, veja /help eval)" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -11417,6 +11416,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 "" +#~ "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" diff --git a/po/ru.po b/po/ru.po index 03510d1b7..00fe4919b 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-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+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" @@ -4522,11 +4522,12 @@ msgstr "" msgid "%s: %d signals hooked" msgstr " обработчики сообщений:\n" -#, fuzzy msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" -msgstr "ник, используемый на IRC сервере" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" +msgstr "" msgid "" "if enabled, clicks with left/right buttons on the line with current buffer " @@ -10978,6 +10979,12 @@ msgstr "%s нет аргумента для параметра \"%s\"\n" 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" diff --git a/po/tr.po b/po/tr.po index c07ee7a7a..066d61b61 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-04-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2017-01-06 22:07+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -4089,7 +4089,9 @@ msgstr "" msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" msgstr "" msgid "" diff --git a/po/weechat.pot b/po/weechat.pot index 91f392293..52ff9ee9f 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-08 14:48+0200\n" +"POT-Creation-Date: 2017-04-20 21:55+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -4074,7 +4074,9 @@ msgstr "" msgid "" "conditions to display a buffer (note: content is evaluated, see /help " -"buflist)" +"buflist); for example to hide server buffers if they are merged with core " +"buffer: \"${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!" +"=core.weechat) || ${buffer.active}==1)\"" msgstr "" msgid "" diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c index d5640227a..1933a5a99 100644 --- a/src/plugins/buflist/buflist-config.c +++ b/src/plugins/buflist/buflist-config.c @@ -299,7 +299,10 @@ buflist_config_init () buflist_config_file, ptr_section, "display_conditions", "string", N_("conditions to display a buffer " - "(note: content is evaluated, see /help buflist)"), + "(note: content is evaluated, see /help buflist); for example " + "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,