mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
core: add completion "bars_items"
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
- relay: add option relay.network.websocket_permessage_deflate ([#1549](https://github.com/weechat/weechat/issues/1549))
|
||||
- relay: add option relay.look.raw_messages_max_length ([#2122](https://github.com/weechat/weechat/issues/2122))
|
||||
- relay: add infos "relay_api_version" and "relay_api_version_number"
|
||||
- core: add completion "bars_items"
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4028,6 +4028,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "jména polí"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "jména polí"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of custom bar items"
|
||||
|
||||
@@ -26,7 +26,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-05-31 20:32+0200\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
@@ -4489,6 +4489,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "Namen der Infobars"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "Namen der Infobars"
|
||||
|
||||
msgid "names of custom bar items"
|
||||
msgstr "Namen der benutzerdefinierten Bar-Items"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4134,6 +4134,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "nombres de barras"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "nombres de barras"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of custom bar items"
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"PO-Revision-Date: 2024-06-09 09:06+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-06-09 09:08+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -4396,6 +4396,9 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "noms des barres"
|
||||
|
||||
msgid "names of bar items"
|
||||
msgstr "noms des objets de barre"
|
||||
|
||||
msgid "names of custom bar items"
|
||||
msgstr "noms des objets de barre personnalisés"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3836,6 +3836,10 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "names of bar items"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "names of custom bar items"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4033,6 +4033,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "nomi delle barre"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "nomi delle barre"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of custom bar items"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@@ -4161,6 +4161,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "バーの名前"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "バーの名前"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of custom bar items"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-06-01 22:06+0200\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4276,6 +4276,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "nazwy pasków"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "nazwy pasków"
|
||||
|
||||
msgid "names of custom bar items"
|
||||
msgstr "nazwy niestandardowych elementów paska"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@@ -4168,6 +4168,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "nomes das barras"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "nomes das barras"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of custom bar items"
|
||||
|
||||
+6
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4069,6 +4069,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "nomes das barras"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "nomes das barras"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of custom bar items"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3861,6 +3861,10 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "names of bar items"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid "names of custom bar items"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-05-07 14:00+0400\n"
|
||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4271,6 +4271,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "имена трака"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "имена трака"
|
||||
|
||||
msgid "names of custom bar items"
|
||||
msgstr "имена прилагођених ставки траке"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+0200\n"
|
||||
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
|
||||
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -4192,6 +4192,11 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "çubukların adları"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of bar items"
|
||||
msgstr "çubukların adları"
|
||||
|
||||
msgid "names of custom bar items"
|
||||
msgstr "özel çubuk ögelerinin adları"
|
||||
|
||||
|
||||
+4
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-06-02 09:01+0200\n"
|
||||
"POT-Creation-Date: 2024-06-09 09:07+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"
|
||||
@@ -3601,6 +3601,9 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr ""
|
||||
|
||||
msgid "names of bar items"
|
||||
msgstr ""
|
||||
|
||||
msgid "names of custom bar items"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -111,6 +111,34 @@ completion_list_add_bars_names_cb (const void *pointer, void *data,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* Adds bar items to completion list.
|
||||
*/
|
||||
|
||||
int
|
||||
completion_list_add_bars_items_cb (const void *pointer, void *data,
|
||||
const char *completion_item,
|
||||
struct t_gui_buffer *buffer,
|
||||
struct t_gui_completion *completion)
|
||||
{
|
||||
struct t_gui_bar_item *ptr_bar_item;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
(void) completion_item;
|
||||
(void) buffer;
|
||||
|
||||
for (ptr_bar_item = gui_bar_items; ptr_bar_item;
|
||||
ptr_bar_item = ptr_bar_item->next_item)
|
||||
{
|
||||
gui_completion_list_add (completion, ptr_bar_item->name,
|
||||
0, WEECHAT_LIST_POS_SORT);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* Adds custom bar items names to completion list.
|
||||
*/
|
||||
@@ -2275,6 +2303,9 @@ completion_init ()
|
||||
hook_completion (NULL, "bars_names", /* formerly "%r" */
|
||||
N_("names of bars"),
|
||||
&completion_list_add_bars_names_cb, NULL, NULL);
|
||||
hook_completion (NULL, "bars_items",
|
||||
N_("names of bar items"),
|
||||
&completion_list_add_bars_items_cb, NULL, NULL);
|
||||
hook_completion (NULL, "custom_bar_items_names",
|
||||
N_("names of custom bar items"),
|
||||
&completion_list_add_custom_bar_items_names_cb, NULL, NULL);
|
||||
|
||||
Reference in New Issue
Block a user