mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 11:45:41 +02:00
Add option irc.look.item_display_server to display server with plugin or name in status bar
This commit is contained in:
@@ -53,6 +53,11 @@
|
||||
** type: string
|
||||
** values: any string (default value: "irc_privmsg,irc_notice")
|
||||
|
||||
* *irc.look.item_display_server*
|
||||
** description: name of bar item where IRC server is displayed (for status bar)
|
||||
** type: integer
|
||||
** values: buffer_plugin, buffer_name (default value: buffer_plugin)
|
||||
|
||||
* *irc.look.nick_completion_smart*
|
||||
** description: smart completion for nicks (completes first with last speakers)
|
||||
** type: integer
|
||||
|
||||
@@ -53,6 +53,11 @@
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "irc_privmsg,irc_notice")
|
||||
|
||||
* *irc.look.item_display_server*
|
||||
** description: name of bar item where IRC server is displayed (for status bar)
|
||||
** type: entier
|
||||
** valeurs: buffer_plugin, buffer_name (valeur par défaut: buffer_plugin)
|
||||
|
||||
* *irc.look.nick_completion_smart*
|
||||
** description: complétion intelligente pour les pseudos (complète d'abord avec les personnes qui ont parlé récemment)
|
||||
** type: entier
|
||||
|
||||
@@ -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-11 12:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-11 19:00+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"
|
||||
@@ -3799,6 +3799,9 @@ msgstr ""
|
||||
"čárkami oddělený seznam tagů pro zprávy, které mohou vyprodukovat zvýraznění "
|
||||
"(obvykle jakákoliv zpráva od jiného uživatele, ne zprávy serveru,...)"
|
||||
|
||||
msgid "name of bar item where IRC server is displayed (for status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"number of IRC raw messages to save in memory when raw data buffer is closed "
|
||||
"(messages will be displayed when opening raw data buffer)"
|
||||
|
||||
@@ -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-11 12:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-11 19:00+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"
|
||||
@@ -3776,6 +3776,9 @@ msgid ""
|
||||
"(usually any message from another user, not server messages,..)"
|
||||
msgstr ""
|
||||
|
||||
msgid "name of bar item where IRC server is displayed (for status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"number of IRC raw messages to save in memory when raw data buffer is closed "
|
||||
"(messages will be displayed when opening raw data buffer)"
|
||||
|
||||
@@ -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-11 12:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-11 19:00+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"
|
||||
@@ -3762,6 +3762,9 @@ msgid ""
|
||||
"(usually any message from another user, not server messages,..)"
|
||||
msgstr ""
|
||||
|
||||
msgid "name of bar item where IRC server is displayed (for status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"number of IRC raw messages to save in memory when raw data buffer is closed "
|
||||
"(messages will be displayed when opening raw data buffer)"
|
||||
|
||||
@@ -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-11 12:45+0200\n"
|
||||
"PO-Revision-Date: 2009-06-11 12:46+0200\n"
|
||||
"POT-Creation-Date: 2009-06-11 19:00+0200\n"
|
||||
"PO-Revision-Date: 2009-06-11 19:01+0200\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -3937,6 +3937,11 @@ msgstr ""
|
||||
"par des virgules, typiquement tout message venant d'un autre utilisateur, "
|
||||
"pas les messages du serveur, ...)"
|
||||
|
||||
msgid "name of bar item where IRC server is displayed (for status bar)"
|
||||
msgstr ""
|
||||
"nom de l'objet de barre où est affiché le serveur IRC (pour la barre de "
|
||||
"statut)"
|
||||
|
||||
msgid ""
|
||||
"number of IRC raw messages to save in memory when raw data buffer is closed "
|
||||
"(messages will be displayed when opening raw data buffer)"
|
||||
|
||||
@@ -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-11 12:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-11 19:00+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"
|
||||
@@ -3812,6 +3812,9 @@ msgid ""
|
||||
"(usually any message from another user, not server messages,..)"
|
||||
msgstr ""
|
||||
|
||||
msgid "name of bar item where IRC server is displayed (for status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"number of IRC raw messages to save in memory when raw data buffer is closed "
|
||||
"(messages will be displayed when opening raw data buffer)"
|
||||
|
||||
@@ -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-11 12:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-11 19:00+0200\n"
|
||||
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
|
||||
"Last-Translator: <soltys@szluug.org>\n"
|
||||
"Language-Team: Polish\n"
|
||||
@@ -3273,6 +3273,9 @@ msgid ""
|
||||
"(usually any message from another user, not server messages,..)"
|
||||
msgstr ""
|
||||
|
||||
msgid "name of bar item where IRC server is displayed (for status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"number of IRC raw messages to save in memory when raw data buffer is closed "
|
||||
"(messages will be displayed when opening raw data buffer)"
|
||||
|
||||
@@ -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-11 12:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-11 19:00+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"
|
||||
@@ -3804,6 +3804,9 @@ msgid ""
|
||||
"(usually any message from another user, not server messages,..)"
|
||||
msgstr ""
|
||||
|
||||
msgid "name of bar item where IRC server is displayed (for status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"number of IRC raw messages to save in memory when raw data buffer is closed "
|
||||
"(messages will be displayed when opening raw data buffer)"
|
||||
|
||||
+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-11 12:45+0200\n"
|
||||
"POT-Creation-Date: 2009-06-11 19:00+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"
|
||||
@@ -3240,6 +3240,9 @@ msgid ""
|
||||
"(usually any message from another user, not server messages,..)"
|
||||
msgstr ""
|
||||
|
||||
msgid "name of bar item where IRC server is displayed (for status bar)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"number of IRC raw messages to save in memory when raw data buffer is closed "
|
||||
"(messages will be displayed when opening raw data buffer)"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -54,6 +54,7 @@ struct t_config_option *irc_config_look_display_nick_modes;
|
||||
struct t_config_option *irc_config_look_display_old_topic;
|
||||
struct t_config_option *irc_config_look_hide_nickserv_pwd;
|
||||
struct t_config_option *irc_config_look_highlight_tags;
|
||||
struct t_config_option *irc_config_look_item_display_server;
|
||||
struct t_config_option *irc_config_look_notice_as_pv;
|
||||
struct t_config_option *irc_config_look_raw_messages;
|
||||
struct t_config_option *irc_config_look_show_away_once;
|
||||
@@ -268,6 +269,24 @@ irc_config_change_look_highlight_tags (void *data,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_config_change_look_item_display_server: called when the
|
||||
* "item_display_server" option is
|
||||
* changed
|
||||
*/
|
||||
|
||||
void
|
||||
irc_config_change_look_item_display_server (void *data,
|
||||
struct t_config_option *option)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
(void) option;
|
||||
|
||||
weechat_bar_item_update ("buffer_plugin");
|
||||
weechat_bar_item_update ("buffer_name");
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_config_change_look_topic_strip_colors: called when the "topic strip colors"
|
||||
* option is changed
|
||||
@@ -1137,6 +1156,12 @@ irc_config_init ()
|
||||
"messages,..)"),
|
||||
NULL, 0, 0, "irc_privmsg,irc_notice", NULL, 0, NULL, NULL,
|
||||
&irc_config_change_look_highlight_tags, NULL, NULL, NULL);
|
||||
irc_config_look_item_display_server = weechat_config_new_option (
|
||||
irc_config_file, ptr_section,
|
||||
"item_display_server", "integer",
|
||||
N_("name of bar item where IRC server is displayed (for status bar)"),
|
||||
"buffer_plugin|buffer_name", 0, 0, "buffer_plugin", NULL, 0, NULL, NULL,
|
||||
&irc_config_change_look_item_display_server, NULL, NULL, NULL);
|
||||
irc_config_look_raw_messages = weechat_config_new_option (
|
||||
irc_config_file, ptr_section,
|
||||
"raw_messages", "integer",
|
||||
|
||||
@@ -29,6 +29,12 @@ enum t_irc_config_look_server_buffer
|
||||
IRC_CONFIG_LOOK_SERVER_BUFFER_INDEPENDENT,
|
||||
};
|
||||
|
||||
enum t_irc_config_look_item_display_server
|
||||
{
|
||||
IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_PLUGIN = 0,
|
||||
IRC_CONFIG_LOOK_ITEM_DISPLAY_SERVER_NAME,
|
||||
};
|
||||
|
||||
enum t_irc_config_nick_completion
|
||||
{
|
||||
IRC_CONFIG_NICK_COMPLETION_SMART_OFF = 0,
|
||||
@@ -59,6 +65,7 @@ extern struct t_config_option *irc_config_look_display_nick_modes;
|
||||
extern struct t_config_option *irc_config_look_display_old_topic;
|
||||
extern struct t_config_option *irc_config_look_hide_nickserv_pwd;
|
||||
extern struct t_config_option *irc_config_look_highlight_tags;
|
||||
extern struct t_config_option *irc_config_look_item_display_server;
|
||||
extern struct t_config_option *irc_config_look_notice_as_pv;
|
||||
extern struct t_config_option *irc_config_look_raw_messages;
|
||||
extern struct t_config_option *irc_config_look_show_away_once;
|
||||
|
||||
Reference in New Issue
Block a user