1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06:38 +02:00

buflist: increase max number of buflist items from 3 to 5 (closes #1703)

This commit is contained in:
Sébastien Helleu
2023-06-20 19:16:17 +02:00
parent f811621611
commit d7a6fcba5f
18 changed files with 79 additions and 54 deletions
+1
View File
@@ -17,6 +17,7 @@ New features::
* core: add variables "_chat_focused_line_bol" and "_chat_focused_line_eol" in focus data (issue #1955)
* api: add info "buffer" (issue #1962)
* buflist: increase max number of buflist items from 3 to 5 (issue #1703)
* irc: display commands 716/717 in private buffer (if present) (issue #146)
* trigger: add options `-o`, `-ol`, `-i` and `-il` in command `/trigger list` (issue #1953)
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5555,8 +5555,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+8 -3
View File
@@ -26,7 +26,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-07-01 12:12+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -6988,10 +6988,15 @@ msgstr ""
"Variable, die verwendet werden kann, um zwischen verschiedenen buflist-"
"Elementen zu unterscheiden, zum Beispiel \"${bar_item.name}\")"
#, fuzzy
#| msgid ""
#| "number of buflist bar items that can be used; the item names are: "
#| "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one "
#| "bar item slows down the display of buffers list"
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
"Anzahl der Buflist-Bar-Items, die verwendet werden können; die Item-Namen "
"sind: \"buflist\", \"buflist2\", \"buflist3\"; Seien Sie vorsichtig, wenn "
+3 -3
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6177,8 +6177,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+7 -6
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"PO-Revision-Date: 2023-07-04 21:53+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-07-04 22:00+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -6785,12 +6785,13 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
"nombre d'objets de barre buflist qui peuvent être utilisés ; les objets de "
"barre sont : \"buflist\", \"buflist2\", \"buflist3\" ; attention, utiliser "
"plus d'un objet de barre ralentit l'affichage de la liste des tampons"
"barre sont : \"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" et "
"\"buflist5\" ; attention, utiliser plus d'un objet de barre ralentit "
"l'affichage de la liste des tampons"
msgid ""
"format of each line with a buffer (note: content is evaluated, see /help "
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5070,8 +5070,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5839,8 +5839,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -6553,8 +6553,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+8 -3
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -7070,10 +7070,15 @@ msgstr ""
"\"bar_item\" to jedyna zmienna, jaka może zostać użyta w celu rozróżnienia "
"buforów, na przykład \"${bar_item.name}\")"
#, fuzzy
#| msgid ""
#| "number of buflist bar items that can be used; the item names are: "
#| "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one "
#| "bar item slows down the display of buffers list"
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
"ilość elementów „buflist” na pasku, które mogą zostać użyte; nazwy tych "
"elementów to: \"buflist\", \"buflist2\", \"buflist3\"; używanie więcej niż "
+3 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -6495,8 +6495,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5772,8 +5772,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-17 11:47+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5107,8 +5107,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+8 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6675,10 +6675,15 @@ msgstr ""
"може да се користи, како би се направила разлика између различитих ставки "
"листе бафера, на пример „${bar_item.name}”)"
#, fuzzy
#| msgid ""
#| "number of buflist bar items that can be used; the item names are: "
#| "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one "
#| "bar item slows down the display of buffers list"
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
"број buflist ставки траке које могу да се користе; имена ставки су: "
"„buflist”, „buflist2”, „buflist3”; будите пажљиви, употреба више од једне "
+8 -3
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2023-06-26 21:34+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6686,10 +6686,15 @@ msgstr ""
"yalnızca buflist ögeleri arasında ayrım yapmak için kullanılabilecek tek "
"değişkendir; örneğin: \"${bar_item.name}\")"
#, fuzzy
#| msgid ""
#| "number of buflist bar items that can be used; the item names are: "
#| "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one "
#| "bar item slows down the display of buffers list"
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
"kullanılabilecek buflist çubuk ögelerinin sayısı; öge adları: \"buflist\", "
"\"buflist2\", \"buflist3\"; dikkatli olun, birden çok çubuk ögesi kullanmak "
+3 -3
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-07-04 21:49+0200\n"
"POT-Creation-Date: 2023-07-04 22:00+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4661,8 +4661,8 @@ msgstr ""
msgid ""
"number of buflist bar items that can be used; the item names are: "
"\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one bar "
"item slows down the display of buffers list"
"\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be "
"careful, using more than one bar item slows down the display of buffers list"
msgstr ""
msgid ""
+4 -3
View File
@@ -30,14 +30,15 @@
struct t_gui_bar_item *buflist_bar_item_buflist[BUFLIST_BAR_NUM_ITEMS] =
{ NULL, NULL, NULL };
{ NULL, NULL, NULL, NULL, NULL };
struct t_hashtable *buflist_hashtable_pointers = NULL;
struct t_hashtable *buflist_hashtable_extra_vars = NULL;
struct t_hashtable *buflist_hashtable_options_conditions = NULL;
struct t_arraylist *buflist_list_buffers[BUFLIST_BAR_NUM_ITEMS] =
{ NULL, NULL, NULL };
{ NULL, NULL, NULL, NULL, NULL };
int old_line_number_current_buffer[BUFLIST_BAR_NUM_ITEMS] = { -1, -1, -1 };
int old_line_number_current_buffer[BUFLIST_BAR_NUM_ITEMS] =
{ -1, -1, -1, -1, -1 };
/*
+1 -1
View File
@@ -22,7 +22,7 @@
#define BUFLIST_BAR_ITEM_NAME "buflist"
#define BUFLIST_BAR_NUM_ITEMS 3
#define BUFLIST_BAR_NUM_ITEMS 5
struct t_gui_bar_item;
+7 -5
View File
@@ -70,8 +70,10 @@ struct t_config_option *buflist_config_format_tls_version = NULL;
struct t_hook **buflist_config_signals_refresh = NULL;
int buflist_config_num_signals_refresh = 0;
char **buflist_config_sort_fields[BUFLIST_BAR_NUM_ITEMS] = { NULL, NULL, NULL };
int buflist_config_sort_fields_count[BUFLIST_BAR_NUM_ITEMS] = { 0, 0, 0 };
char **buflist_config_sort_fields[BUFLIST_BAR_NUM_ITEMS] =
{ NULL, NULL, NULL, NULL, NULL };
int buflist_config_sort_fields_count[BUFLIST_BAR_NUM_ITEMS] =
{ 0, 0, 0, 0, 0 };
char *buflist_config_format_buffer_eval = NULL;
char *buflist_config_format_buffer_current_eval = NULL;
char *buflist_config_format_hotlist_eval = NULL;
@@ -622,9 +624,9 @@ buflist_config_init ()
buflist_config_file, buflist_config_section_look,
"use_items", "integer",
N_("number of buflist bar items that can be used; the item names "
"are: \"buflist\", \"buflist2\", \"buflist3\"; be careful, "
"using more than one bar item slows down the display of "
"buffers list"),
"are: \"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and "
"\"buflist5\"; be careful, using more than one bar item slows "
"down the display of buffers list"),
NULL, 1, BUFLIST_BAR_NUM_ITEMS, "1", NULL, 0,
NULL, NULL, NULL,
&buflist_config_change_use_items, NULL, NULL,