From 230e827d24f46296dfce5e183c3fdd6378fab538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 31 Mar 2018 15:57:38 +0200 Subject: [PATCH] core: fix help on option weechat.look.hotlist_count_max --- doc/de/autogen/user/weechat_options.adoc | 2 +- doc/en/autogen/user/weechat_options.adoc | 2 +- doc/fr/autogen/user/weechat_options.adoc | 2 +- doc/it/autogen/user/weechat_options.adoc | 2 +- doc/ja/autogen/user/weechat_options.adoc | 2 +- doc/pl/autogen/user/weechat_options.adoc | 2 +- po/cs.po | 7 +++---- po/de.po | 7 +++---- po/es.po | 7 +++---- po/fr.po | 16 +++++++--------- po/hu.po | 7 +++---- po/it.po | 7 +++---- po/ja.po | 7 +++---- po/pl.po | 7 +++---- po/pt.po | 7 +++---- po/pt_BR.po | 7 +++---- po/ru.po | 7 +++---- po/tr.po | 7 +++---- po/weechat.pot | 7 +++---- src/core/wee-config.c | 5 ++--- 20 files changed, 51 insertions(+), 66 deletions(-) diff --git a/doc/de/autogen/user/weechat_options.adoc b/doc/de/autogen/user/weechat_options.adoc index 1754107fa..cd2e796a3 100644 --- a/doc/de/autogen/user/weechat_options.adoc +++ b/doc/de/autogen/user/weechat_options.adoc @@ -741,7 +741,7 @@ ** Standardwert: `+", "+` * [[option_weechat.look.hotlist_count_max]] *weechat.look.hotlist_count_max* -** Beschreibung: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, 1 = display count for highlights/private messages, 2 = display count for highlight/private messages and messages, 3 = display count for all types of messages] +** Beschreibung: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, other number = display max N messages count (from the highest to lowest priority)] ** Typ: integer ** Werte: 0 .. 4 ** Standardwert: `+2+` diff --git a/doc/en/autogen/user/weechat_options.adoc b/doc/en/autogen/user/weechat_options.adoc index ff30c575d..404410c87 100644 --- a/doc/en/autogen/user/weechat_options.adoc +++ b/doc/en/autogen/user/weechat_options.adoc @@ -741,7 +741,7 @@ ** default value: `+", "+` * [[option_weechat.look.hotlist_count_max]] *weechat.look.hotlist_count_max* -** description: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, 1 = display count for highlights/private messages, 2 = display count for highlight/private messages and messages, 3 = display count for all types of messages] +** description: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, other number = display max N messages count (from the highest to lowest priority)] ** type: integer ** values: 0 .. 4 ** default value: `+2+` diff --git a/doc/fr/autogen/user/weechat_options.adoc b/doc/fr/autogen/user/weechat_options.adoc index 40bdc41a9..41df0e836 100644 --- a/doc/fr/autogen/user/weechat_options.adoc +++ b/doc/fr/autogen/user/weechat_options.adoc @@ -741,7 +741,7 @@ ** valeur par défaut: `+", "+` * [[option_weechat.look.hotlist_count_max]] *weechat.look.hotlist_count_max* -** description: pass:none[nombre maximum de compteurs de messages à afficher dans la hotlist pour un tampon : 0 = ne jamais afficher les compteurs de messages, 1 = afficher les compteurs pour les highlights/messages privés, 2 = afficher les compteurs pour les highlights/messages privés et messages, 3 = afficher les compteurs pour tous les types de messages] +** description: pass:none[nombre maximum de compteurs de messages à afficher dans la hotlist pour un tampon : 0 = ne jamais afficher les compteurs de messages, autre nombre = afficher un maximum de N compteurs de messages (de la plus haute à la plus basse priorité)] ** type: entier ** valeurs: 0 .. 4 ** valeur par défaut: `+2+` diff --git a/doc/it/autogen/user/weechat_options.adoc b/doc/it/autogen/user/weechat_options.adoc index 221e75715..95689c9a2 100644 --- a/doc/it/autogen/user/weechat_options.adoc +++ b/doc/it/autogen/user/weechat_options.adoc @@ -741,7 +741,7 @@ ** valore predefinito: `+", "+` * [[option_weechat.look.hotlist_count_max]] *weechat.look.hotlist_count_max* -** descrizione: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, 1 = display count for highlights/private messages, 2 = display count for highlight/private messages and messages, 3 = display count for all types of messages] +** descrizione: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, other number = display max N messages count (from the highest to lowest priority)] ** tipo: intero ** valori: 0 .. 4 ** valore predefinito: `+2+` diff --git a/doc/ja/autogen/user/weechat_options.adoc b/doc/ja/autogen/user/weechat_options.adoc index edacfb693..4eb294e76 100644 --- a/doc/ja/autogen/user/weechat_options.adoc +++ b/doc/ja/autogen/user/weechat_options.adoc @@ -741,7 +741,7 @@ ** デフォルト値: `+", "+` * [[option_weechat.look.hotlist_count_max]] *weechat.look.hotlist_count_max* -** 説明: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, 1 = display count for highlights/private messages, 2 = display count for highlight/private messages and messages, 3 = display count for all types of messages] +** 説明: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, other number = display max N messages count (from the highest to lowest priority)] ** タイプ: 整数 ** 値: 0 .. 4 ** デフォルト値: `+2+` diff --git a/doc/pl/autogen/user/weechat_options.adoc b/doc/pl/autogen/user/weechat_options.adoc index 5fb1a053d..0e84a80c8 100644 --- a/doc/pl/autogen/user/weechat_options.adoc +++ b/doc/pl/autogen/user/weechat_options.adoc @@ -741,7 +741,7 @@ ** domyślna wartość: `+", "+` * [[option_weechat.look.hotlist_count_max]] *weechat.look.hotlist_count_max* -** opis: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, 1 = display count for highlights/private messages, 2 = display count for highlight/private messages and messages, 3 = display count for all types of messages] +** opis: pass:none[max number of messages count to display in hotlist for a buffer: 0 = never display messages count, other number = display max N messages count (from the highest to lowest priority)] ** typ: liczba ** wartości: 0 .. 4 ** domyślna wartość: `+2+` diff --git a/po/cs.po b/po/cs.po index 87a69eb78..dc2ef786c 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -3182,9 +3182,8 @@ msgstr "řetězec zobrazený mezi buffery v hotlistu" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/de.po b/po/de.po index e91b083d7..71b21f1ab 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -3823,9 +3823,8 @@ msgstr "" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/es.po b/po/es.po index 27920fa0d..bbd737690 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -3319,9 +3319,8 @@ msgstr "cadena mostrada entre los buffers en la lista de actividad" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/fr.po b/po/fr.po index 1b6eb83c7..0e321b260 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-03-31 15:36+0200\n" -"PO-Revision-Date: 2018-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" +"PO-Revision-Date: 2018-03-31 15:57+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -3718,15 +3718,13 @@ msgstr "chaîne affichée entre les tampons dans la hotlist" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" "nombre maximum de compteurs de messages à afficher dans la hotlist pour un " -"tampon : 0 = ne jamais afficher les compteurs de messages, 1 = afficher les " -"compteurs pour les highlights/messages privés, 2 = afficher les compteurs " -"pour les highlights/messages privés et messages, 3 = afficher les compteurs " -"pour tous les types de messages" +"tampon : 0 = ne jamais afficher les compteurs de messages, autre nombre = " +"afficher un maximum de N compteurs de messages (de la plus haute à la plus " +"basse priorité)" msgid "" "display messages count if number of messages is greater or equal to this " diff --git a/po/hu.po b/po/hu.po index 1bc9f5a46..704ac2c02 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -2780,9 +2780,8 @@ msgstr "kiemelendő szavak listája" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/it.po b/po/it.po index 838760eb3..b9acce7a6 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -3417,9 +3417,8 @@ msgstr "stringa mostrata tra i buffer nella hotlist" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/ja.po b/po/ja.po index 155ece55c..5981a77ad 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish <>\n" @@ -3670,9 +3670,8 @@ msgstr "ciąg znaków wyświetlany pomiędzy buforami w hotliście" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/pt.po b/po/pt.po index 0c192e1dd..f28f4db01 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2018-03-31 15:36+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -3634,9 +3634,8 @@ msgstr "cadeia apresentada entre buffers na hotlist" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/pt_BR.po b/po/pt_BR.po index 3dd738f2a..4cfd0596c 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2018-03-31 15:37+0200\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -3349,9 +3349,8 @@ msgstr "string exibida entre buffers na lista de atividade" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/ru.po b/po/ru.po index d52946e16..94df51963 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+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" @@ -2806,9 +2806,8 @@ msgstr "максимальная длина имён в хотлисте" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/tr.po b/po/tr.po index 368b9e9f2..87300df2d 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2017-06-26 23:33+0200\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -2529,9 +2529,8 @@ msgstr "" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/po/weechat.pot b/po/weechat.pot index 9375eee26..9ad7d323e 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-03-31 15:36+0200\n" +"POT-Creation-Date: 2018-03-31 15:55+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -2525,9 +2525,8 @@ msgstr "" msgid "" "max number of messages count to display in hotlist for a buffer: 0 = never " -"display messages count, 1 = display count for highlights/private messages, 2 " -"= display count for highlight/private messages and messages, 3 = display " -"count for all types of messages" +"display messages count, other number = display max N messages count (from " +"the highest to lowest priority)" msgstr "" msgid "" diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 406d5d581..1d94b3e37 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -2886,9 +2886,8 @@ config_weechat_init_options () "hotlist_count_max", "integer", N_("max number of messages count to display in hotlist for a buffer: " "0 = never display messages count, " - "1 = display count for highlights/private messages, " - "2 = display count for highlight/private messages and messages, " - "3 = display count for all types of messages"), + "other number = display max N messages count (from the highest to " + "lowest priority)"), NULL, 0, GUI_HOTLIST_NUM_PRIORITIES, "2", NULL, 0, NULL, NULL, NULL, &config_change_buffer_content, NULL, NULL,