mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
Add new option weechat.look.hotlist_names_merged_buffers
This commit is contained in:
@@ -413,6 +413,11 @@
|
||||
** type: integer
|
||||
** values: 1 .. 15 (default value: 12)
|
||||
|
||||
* *weechat.look.hotlist_names_merged_buffers*
|
||||
** description: if set, force display of names in hotlist for merged buffers
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *weechat.look.hotlist_short_names*
|
||||
** description: if set, uses short names to display buffer names in hotlist (start after first '.' in name)
|
||||
** type: boolean
|
||||
|
||||
@@ -413,6 +413,11 @@
|
||||
** type: entier
|
||||
** valeurs: 1 .. 15 (valeur par défaut: 12)
|
||||
|
||||
* *weechat.look.hotlist_names_merged_buffers*
|
||||
** description: si défini, force l'affichage des noms dans la hotlist pour les tampons mélangés
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: off)
|
||||
|
||||
* *weechat.look.hotlist_short_names*
|
||||
** description: si défini, utilie des noms courts pour afficher les noms de tampons dans la hotlist (commence après le premier '.' dans le nom)
|
||||
** type: booléen
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-14 10:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-14 11:01+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1370,6 +1370,9 @@ msgstr ""
|
||||
"úroveň pro zobrazování jmen v hotlistu (kombinace: 1=připojení/odpojení "
|
||||
"2=zpráva, 4=soukromé, 8=zvýraznění, příklad: 12=soukromé+zvýraznění)"
|
||||
|
||||
msgid "if set, force display of names in hotlist for merged buffers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"if set, uses short names to display buffer names in hotlist (start after "
|
||||
"first '.' in name)"
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-14 10:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-14 11:01+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1392,6 +1392,9 @@ msgstr ""
|
||||
"Level für Namensanzeige in der Hotlist (Kombination von: 1=join/part, "
|
||||
"2=Nachricht, 4=Query, 8=Highlight, z.B. 12=Query+Highlight)"
|
||||
|
||||
msgid "if set, force display of names in hotlist for merged buffers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"if set, uses short names to display buffer names in hotlist (start after "
|
||||
"first '.' in name)"
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-14 10:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-14 11:01+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1369,6 +1369,9 @@ msgstr ""
|
||||
"nivel para mostrar mensajes en la hotlist (combinación de: 1=join/part, "
|
||||
"2=mensaje, 4=privado, 8=resaltado, por ejemplo: 12=privado + resaltado)"
|
||||
|
||||
msgid "if set, force display of names in hotlist for merged buffers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"if set, uses short names to display buffer names in hotlist (start after "
|
||||
"first '.' in name)"
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-14 10:45+0200\n"
|
||||
"PO-Revision-Date: 2009-06-14 10:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-14 11:01+0200\n"
|
||||
"PO-Revision-Date: 2009-06-14 11:01+0200\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -1544,6 +1544,11 @@ msgstr ""
|
||||
"1=join/part, 2=message, 4=privé, 8=highlight, par exemple: 12=privé"
|
||||
"+highlight)"
|
||||
|
||||
msgid "if set, force display of names in hotlist for merged buffers"
|
||||
msgstr ""
|
||||
"si défini, force l'affichage des noms dans la hotlist pour les tampons "
|
||||
"mélangés"
|
||||
|
||||
msgid ""
|
||||
"if set, uses short names to display buffer names in hotlist (start after "
|
||||
"first '.' in name)"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-14 10:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-14 11:01+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1401,6 +1401,9 @@ msgid ""
|
||||
"2=message, 4=private, 8=highlight, for example: 12=private+highlight)"
|
||||
msgstr ""
|
||||
|
||||
msgid "if set, force display of names in hotlist for merged buffers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"if set, uses short names to display buffer names in hotlist (start after "
|
||||
"first '.' in name)"
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-14 10:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-14 11:01+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: <soltys@szluug.org>\n"
|
||||
"Language-Team: Polish\n"
|
||||
@@ -1232,6 +1232,9 @@ msgid ""
|
||||
"2=message, 4=private, 8=highlight, for example: 12=private+highlight)"
|
||||
msgstr ""
|
||||
|
||||
msgid "if set, force display of names in hotlist for merged buffers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"if set, uses short names to display buffer names in hotlist (start after "
|
||||
"first '.' in name)"
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-14 10:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-14 11:01+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -1401,6 +1401,9 @@ msgstr ""
|
||||
"уровень отображения имён в хотлисте (сочетание: 1=вход/выход, 2=сообщение, "
|
||||
"4=личное сообщение, 8=подсветка, например: 12=личные+подсветка)"
|
||||
|
||||
msgid "if set, force display of names in hotlist for merged buffers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"if set, uses short names to display buffer names in hotlist (start after "
|
||||
"first '.' in name)"
|
||||
|
||||
+4
-1
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2009-06-14 10:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-14 11:01+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -1200,6 +1200,9 @@ msgid ""
|
||||
"2=message, 4=private, 8=highlight, for example: 12=private+highlight)"
|
||||
msgstr ""
|
||||
|
||||
msgid "if set, force display of names in hotlist for merged buffers"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"if set, uses short names to display buffer names in hotlist (start after "
|
||||
"first '.' in name)"
|
||||
|
||||
@@ -80,6 +80,7 @@ struct t_config_option *config_look_highlight;
|
||||
struct t_config_option *config_look_hotlist_names_count;
|
||||
struct t_config_option *config_look_hotlist_names_length;
|
||||
struct t_config_option *config_look_hotlist_names_level;
|
||||
struct t_config_option *config_look_hotlist_names_merged_buffers;
|
||||
struct t_config_option *config_look_hotlist_short_names;
|
||||
struct t_config_option *config_look_hotlist_sort;
|
||||
struct t_config_option *config_look_item_time_format;
|
||||
@@ -1281,6 +1282,11 @@ config_weechat_init_options ()
|
||||
"of: 1=join/part, 2=message, 4=private, 8=highlight, "
|
||||
"for example: 12=private+highlight)"),
|
||||
NULL, 1, 15, "12", NULL, 0, NULL, NULL, &config_change_buffer_content, NULL, NULL, NULL);
|
||||
config_look_hotlist_names_merged_buffers = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"hotlist_names_merged_buffers", "boolean",
|
||||
N_("if set, force display of names in hotlist for merged buffers"),
|
||||
NULL, 0, 0, "off", NULL, 0, NULL, NULL, &config_change_buffer_content, NULL, NULL, NULL);
|
||||
config_look_hotlist_short_names = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
"hotlist_short_names", "boolean",
|
||||
|
||||
@@ -95,6 +95,7 @@ extern struct t_config_option *config_look_highlight;
|
||||
extern struct t_config_option *config_look_hotlist_names_count;
|
||||
extern struct t_config_option *config_look_hotlist_names_length;
|
||||
extern struct t_config_option *config_look_hotlist_names_level;
|
||||
extern struct t_config_option *config_look_hotlist_names_merged_buffers;
|
||||
extern struct t_config_option *config_look_hotlist_short_names;
|
||||
extern struct t_config_option *config_look_hotlist_sort;
|
||||
extern struct t_config_option *config_look_item_time_format;
|
||||
|
||||
@@ -997,7 +997,8 @@ gui_bar_item_default_hotlist (void *data, struct t_gui_bar_item *item,
|
||||
|
||||
sprintf (buf + strlen (buf), "%d", ptr_hotlist->buffer->number);
|
||||
|
||||
if ((gui_buffer_count_merged_buffers (ptr_hotlist->buffer->number) > 1)
|
||||
if ((CONFIG_BOOLEAN(config_look_hotlist_names_merged_buffers)
|
||||
&& (gui_buffer_count_merged_buffers (ptr_hotlist->buffer->number) > 1))
|
||||
|| (display_name
|
||||
&& (CONFIG_INTEGER(config_look_hotlist_names_count) != 0)
|
||||
&& (names_count < CONFIG_INTEGER(config_look_hotlist_names_count))))
|
||||
|
||||
Reference in New Issue
Block a user