From 6d6e0e0ad92307e3fcb4c269716044da86f34bc0 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 29 Oct 2011 11:40:58 +0200 Subject: [PATCH] core: add help for values of option "conditions" in bars (options weechat.bar.xxx.conditions) --- po/cs.po | 12 +++++++++--- po/de.po | 14 ++++++++++---- po/es.po | 13 ++++++++++--- po/fr.po | 17 +++++++++++++---- po/hu.po | 7 +++++-- po/it.po | 13 ++++++++++--- po/pl.po | 12 +++++++++--- po/pt_BR.po | 7 +++++-- po/ru.po | 7 +++++-- po/weechat.pot | 7 +++++-- src/gui/gui-bar.c | 4 +++- 11 files changed, 84 insertions(+), 29 deletions(-) diff --git a/po/cs.po b/po/cs.po index 232f5794f..fdcaecd5c 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: 2011-10-22 12:21+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -3223,8 +3223,11 @@ msgstr "priorita pole (vyšší číslo znamená zobrazení pole jako první)" msgid "bar type (root, window, window_active, window_inactive)" msgstr "typ pole (root, window, window_active, window_inactive)" -msgid "condition(s) for displaying bar (for bars of type \"window\")" -msgstr "podmínka/podmínky pro zobrazení pole (pro pole typu \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" +msgstr "" msgid "bar position (bottom, top, left, right)" msgstr "pozice pole (bottom, top, left, right)" @@ -8117,3 +8120,6 @@ msgstr "" msgid "Lists" msgstr "" + +#~ msgid "condition(s) for displaying bar (for bars of type \"window\")" +#~ msgstr "podmínka/podmínky pro zobrazení pole (pro pole typu \"window\")" diff --git a/po/de.po b/po/de.po index baf21b1a2..159c15d59 100644 --- a/po/de.po +++ b/po/de.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: 2011-10-27 11:56+0200\n" "Last-Translator: Nils Görs\n" "Language-Team: weechat-dev \n" @@ -3495,10 +3495,11 @@ msgstr "" msgid "bar type (root, window, window_active, window_inactive)" msgstr "Bar-Typ (root, window, window_active, window_inactive)" -msgid "condition(s) for displaying bar (for bars of type \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" msgstr "" -"Bedingung(en) für die Darstellung von Infobar(s) (für Infobars des Typs " -"\"window\")" msgid "bar position (bottom, top, left, right)" msgstr "Position der Infobar (unten, oben, links, rechts)" @@ -8551,3 +8552,8 @@ msgstr "Variablen" msgid "Lists" msgstr "Listen" + +#~ msgid "condition(s) for displaying bar (for bars of type \"window\")" +#~ msgstr "" +#~ "Bedingung(en) für die Darstellung von Infobar(s) (für Infobars des Typs " +#~ "\"window\")" diff --git a/po/es.po b/po/es.po index 18cefc23a..068eec5cf 100644 --- a/po/es.po +++ b/po/es.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: 2011-10-27 11:56+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -3385,8 +3385,11 @@ msgstr "" msgid "bar type (root, window, window_active, window_inactive)" msgstr "tipo de barra (root, window, window_active, window_inactive)" -msgid "condition(s) for displaying bar (for bars of type \"window\")" -msgstr "condicion(es) para mostrar la barra (para barras del tipo \"window\"" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" +msgstr "" msgid "bar position (bottom, top, left, right)" msgstr "posición de la barra (bottom, top, left, right)" @@ -8330,3 +8333,7 @@ msgstr "Variables" msgid "Lists" msgstr "Listas" + +#~ msgid "condition(s) for displaying bar (for bars of type \"window\")" +#~ msgstr "" +#~ "condicion(es) para mostrar la barra (para barras del tipo \"window\"" diff --git a/po/fr.po b/po/fr.po index 71bb93e34..42bff2882 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" -"PO-Revision-Date: 2011-10-29 11:33+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" +"PO-Revision-Date: 2011-10-29 11:39+0200\n" "Last-Translator: Sebastien Helleu \n" "Language-Team: weechat-dev \n" "Language: French\n" @@ -3405,9 +3405,14 @@ msgstr "" msgid "bar type (root, window, window_active, window_inactive)" msgstr "type de barre (root, window, window_active, window_inactive)" -msgid "condition(s) for displaying bar (for bars of type \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" msgstr "" -"condition(s) pour afficher la barre (pour les barres de type \"window\")" +"condition(s) pour afficher la barre (pour les barres de type \"window\"): " +"\"active\" = la fenêtre doit être active, \"inactive\" = la fenêtre doit " +"être inactive, \"nicklist\" = le tampon doit avoir une liste de pseudos" msgid "bar position (bottom, top, left, right)" msgstr "" @@ -8371,3 +8376,7 @@ msgstr "Variables" msgid "Lists" msgstr "Listes" + +#~ msgid "condition(s) for displaying bar (for bars of type \"window\")" +#~ msgstr "" +#~ "condition(s) pour afficher la barre (pour les barres de type \"window\")" diff --git a/po/hu.po b/po/hu.po index a0c454d4b..010c5a6ac 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: 2011-10-22 12:21+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -2892,7 +2892,10 @@ msgstr "" msgid "bar type (root, window, window_active, window_inactive)" msgstr "" -msgid "condition(s) for displaying bar (for bars of type \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" msgstr "" #, fuzzy diff --git a/po/it.po b/po/it.po index 733a6c9cb..9270f5af6 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: 2011-10-27 11:56+0200\n" "Last-Translator: Marco Paolone \n" "Language-Team: weechat-dev \n" @@ -3379,9 +3379,11 @@ msgstr "priorità barra (a numero alto corrisponde priorità maggiore)" msgid "bar type (root, window, window_active, window_inactive)" msgstr "tipo di barra (root, window, window_active, window_inactive)" -msgid "condition(s) for displaying bar (for bars of type \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" msgstr "" -"condizione(i) per la visualizzazione della barra (barre di tipo \"window\")" msgid "bar position (bottom, top, left, right)" msgstr "" @@ -8301,3 +8303,8 @@ msgstr "Variabili" msgid "Lists" msgstr "Liste" + +#~ msgid "condition(s) for displaying bar (for bars of type \"window\")" +#~ msgstr "" +#~ "condizione(i) per la visualizzazione della barra (barre di tipo \"window" +#~ "\")" diff --git a/po/pl.po b/po/pl.po index 5cd662833..507aa4c9b 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: 2011-10-27 11:56+0200\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" @@ -3371,8 +3371,11 @@ msgstr "" msgid "bar type (root, window, window_active, window_inactive)" msgstr "typ paska (root, window, window_active, window_inactive)" -msgid "condition(s) for displaying bar (for bars of type \"window\")" -msgstr "warunek(i) wyświetlenia paska (dla pasków o typie \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" +msgstr "" msgid "bar position (bottom, top, left, right)" msgstr "pozycja paska (bottom (dół), top (góra), left (lewo), right (prawo))" @@ -8239,3 +8242,6 @@ msgstr "Zmienne" msgid "Lists" msgstr "Listy" + +#~ msgid "condition(s) for displaying bar (for bars of type \"window\")" +#~ msgstr "warunek(i) wyświetlenia paska (dla pasków o typie \"window\")" diff --git a/po/pt_BR.po b/po/pt_BR.po index 1255fb367..758159a85 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: 2011-10-26 19:30+0200\n" "Last-Translator: Ivan Sichmann Freitas \n" "Language-Team: weechat-dev \n" @@ -3317,7 +3317,10 @@ msgstr "" msgid "bar type (root, window, window_active, window_inactive)" msgstr "" -msgid "condition(s) for displaying bar (for bars of type \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" msgstr "" msgid "bar position (bottom, top, left, right)" diff --git a/po/ru.po b/po/ru.po index a67ad0bbc..208bd5cd1 100644 --- a/po/ru.po +++ b/po/ru.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: 2011-10-22 12:21+0200\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -2909,7 +2909,10 @@ msgstr "" msgid "bar type (root, window, window_active, window_inactive)" msgstr "" -msgid "condition(s) for displaying bar (for bars of type \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" msgstr "" #, fuzzy diff --git a/po/weechat.pot b/po/weechat.pot index ca6e1004d..d5e3ced62 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2011-10-29 11:32+0200\n" +"POT-Creation-Date: 2011-10-29 11:38+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2536,7 +2536,10 @@ msgstr "" msgid "bar type (root, window, window_active, window_inactive)" msgstr "" -msgid "condition(s) for displaying bar (for bars of type \"window\")" +msgid "" +"condition(s) for displaying bar (for bars of type \"window\"): \"active\" = " +"window must be active, \"inactive\" = window must be inactive, \"nicklist\" " +"= buffer must have a nicklist" msgstr "" msgid "bar position (bottom, top, left, right)" diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c index eef66d3b7..e03ab22aa 100644 --- a/src/gui/gui-bar.c +++ b/src/gui/gui-bar.c @@ -1343,7 +1343,9 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value weechat_config_file, weechat_config_section_bar, option_name, "string", N_("condition(s) for displaying bar (for bars of type " - "\"window\")"), + "\"window\"): \"active\" = window must be active, " + "\"inactive\" = window must be inactive, " + "\"nicklist\" = buffer must have a nicklist"), NULL, 0, 0, value, NULL, 0, NULL, NULL, &gui_bar_config_change_conditions, NULL, NULL, NULL); break;