diff options
-rw-r--r-- | doc/en/autogen/user/irc_options.txt | 5 | ||||
-rw-r--r-- | doc/fr/autogen/user/irc_options.txt | 5 | ||||
-rw-r--r-- | po/cs.po | 6 | ||||
-rw-r--r-- | po/de.po | 6 | ||||
-rw-r--r-- | po/es.po | 6 | ||||
-rw-r--r-- | po/fr.po | 7 | ||||
-rw-r--r-- | po/hu.po | 6 | ||||
-rw-r--r-- | po/pl.po | 5 | ||||
-rw-r--r-- | po/ru.po | 6 | ||||
-rw-r--r-- | po/weechat.pot | 5 | ||||
-rw-r--r-- | src/plugins/irc/irc-config.c | 7 | ||||
-rw-r--r-- | src/plugins/irc/irc-config.h | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 3 | ||||
-rw-r--r-- | src/plugins/irc/irc.h | 1 |
14 files changed, 59 insertions, 10 deletions
diff --git a/doc/en/autogen/user/irc_options.txt b/doc/en/autogen/user/irc_options.txt index 8ae312194..204dc31e3 100644 --- a/doc/en/autogen/user/irc_options.txt +++ b/doc/en/autogen/user/irc_options.txt @@ -18,6 +18,11 @@ ** type: color ** values: a color name (default value: red) +* *irc.color.notice* +** description: color for text "Notice" in notices +** type: color +** values: a color name (default value: green) + * *irc.look.color_nicks_in_server_messages* ** description: use nick color in messages from server ** type: boolean diff --git a/doc/fr/autogen/user/irc_options.txt b/doc/fr/autogen/user/irc_options.txt index 2ded851e3..1bb551f9c 100644 --- a/doc/fr/autogen/user/irc_options.txt +++ b/doc/fr/autogen/user/irc_options.txt @@ -18,6 +18,11 @@ ** type: couleur ** valeurs: un nom de couleur (valeur par défaut: red) +* *irc.color.notice* +** description: couleur pour le texte "Notice" dans les notices +** type: couleur +** valeurs: un nom de couleur (valeur par défaut: green) + * *irc.look.color_nicks_in_server_messages* ** description: utiliser la couleur du pseudo dans les messages du serveur ** 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 11:01+0200\n" +"POT-Creation-Date: 2009-06-14 12:44+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" @@ -3836,6 +3836,10 @@ msgid "color for text in part/quit messages" msgstr "prefix pro zprávy ukončení" #, fuzzy +msgid "color for text \"Notice\" in notices" +msgstr "prefix pro zprávy připojení" + +#, fuzzy msgid "color for nick in input bar" msgstr "barva přezdívek" @@ -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 11:01+0200\n" +"POT-Creation-Date: 2009-06-14 12:44+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" @@ -3814,6 +3814,10 @@ msgid "color for text in part/quit messages" msgstr "Standardnachricht beim Beenden" #, fuzzy +msgid "color for text \"Notice\" in notices" +msgstr "Farbe eines Fensters mit neuen Messages" + +#, fuzzy msgid "color for nick in input bar" msgstr "Farbe von Nicknames" @@ -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 11:01+0200\n" +"POT-Creation-Date: 2009-06-14 12:44+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" @@ -3800,6 +3800,10 @@ msgid "color for text in part/quit messages" msgstr "mensaje de fin por defecto" #, fuzzy +msgid "color for text \"Notice\" in notices" +msgstr "color para una ventana con mensajes nuevos" + +#, fuzzy msgid "color for nick in input bar" msgstr "color para los nombres de usuario" @@ -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 11:01+0200\n" -"PO-Revision-Date: 2009-06-14 11:01+0200\n" +"POT-Creation-Date: 2009-06-14 12:44+0200\n" +"PO-Revision-Date: 2009-06-14 12:44+0200\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -3984,6 +3984,9 @@ msgstr "couleur pour le texte dans les messages join" msgid "color for text in part/quit messages" msgstr "couleur pour le texte dans les messages part/quit" +msgid "color for text \"Notice\" in notices" +msgstr "couleur pour le texte \"Notice\" dans les notices" + msgid "color for nick in input bar" msgstr "couleur du pseudo dans la barre de saisie" @@ -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 11:01+0200\n" +"POT-Creation-Date: 2009-06-14 12:44+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" @@ -3849,6 +3849,10 @@ msgid "color for text in part/quit messages" msgstr "alapértelmezett kilépő üzenet" #, fuzzy +msgid "color for text \"Notice\" in notices" +msgstr "új üzenetet tartalmazó ablak színe" + +#, fuzzy msgid "color for nick in input bar" msgstr "nevek színe" @@ -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 11:01+0200\n" +"POT-Creation-Date: 2009-06-14 12:44+0200\n" "PO-Revision-Date: 2009-05-11 13:02+0200\n" "Last-Translator: <soltys@szluug.org>\n" "Language-Team: Polish\n" @@ -3307,6 +3307,9 @@ msgstr "" msgid "color for text in part/quit messages" msgstr "" +msgid "color for text \"Notice\" in notices" +msgstr "" + msgid "color for nick in input bar" msgstr "" @@ -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 11:01+0200\n" +"POT-Creation-Date: 2009-06-14 12:44+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" @@ -3841,6 +3841,10 @@ msgid "color for text in part/quit messages" msgstr "сообщение о выходе по-умолчанию" #, fuzzy +msgid "color for text \"Notice\" in notices" +msgstr "цвет текущего окна с сообщениями" + +#, fuzzy msgid "color for nick in input bar" msgstr "цвет ников" diff --git a/po/weechat.pot b/po/weechat.pot index fb24a0e21..6a6cda90a 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -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 11:01+0200\n" +"POT-Creation-Date: 2009-06-14 12:44+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" @@ -3274,6 +3274,9 @@ msgstr "" msgid "color for text in part/quit messages" msgstr "" +msgid "color for text \"Notice\" in notices" +msgstr "" + msgid "color for nick in input bar" msgstr "" diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c index b1f37aec7..8c2b5d841 100644 --- a/src/plugins/irc/irc-config.c +++ b/src/plugins/irc/irc-config.c @@ -66,6 +66,7 @@ struct t_config_option *irc_config_look_topic_strip_colors; struct t_config_option *irc_config_color_message_join; struct t_config_option *irc_config_color_message_quit; +struct t_config_option *irc_config_color_notice; struct t_config_option *irc_config_color_input_nick; struct t_config_option *irc_config_color_item_away; @@ -1221,6 +1222,12 @@ irc_config_init () N_("color for text in part/quit messages"), NULL, -1, 0, "red", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL); + irc_config_color_notice = weechat_config_new_option ( + irc_config_file, ptr_section, + "notice", "color", + N_("color for text \"Notice\" in notices"), + NULL, -1, 0, "green", NULL, 0, NULL, NULL, + NULL, NULL, NULL, NULL); irc_config_color_input_nick = weechat_config_new_option ( irc_config_file, ptr_section, "input_nick", "color", diff --git a/src/plugins/irc/irc-config.h b/src/plugins/irc/irc-config.h index 2071824af..da48b66d0 100644 --- a/src/plugins/irc/irc-config.h +++ b/src/plugins/irc/irc-config.h @@ -75,6 +75,7 @@ extern struct t_config_option *irc_config_look_topic_strip_colors; extern struct t_config_option *irc_config_color_message_join; extern struct t_config_option *irc_config_color_message_quit; +extern struct t_config_option *irc_config_color_notice; extern struct t_config_option *irc_config_color_input_nick; extern struct t_config_option *irc_config_color_item_away; diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 17e908ee8..c235223ad 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -834,8 +834,9 @@ irc_protocol_cmd_notice (struct t_irc_server *server, const char *command, ptr_nick = irc_nick_search (ptr_channel, nick); weechat_printf_tags ((ptr_channel) ? ptr_channel->buffer : server->buffer, irc_protocol_tags (command, NULL), - "%sNotice%s(%s%s%s)%s: %s", + "%s%sNotice%s(%s%s%s)%s: %s", weechat_prefix ("network"), + IRC_COLOR_NOTICE, IRC_COLOR_CHAT_DELIMITERS, IRC_COLOR_NICK_IN_SERVER_MESSAGE(ptr_nick), (nick && nick[0]) ? nick : "?", diff --git a/src/plugins/irc/irc.h b/src/plugins/irc/irc.h index 9819396e2..bdac5a508 100644 --- a/src/plugins/irc/irc.h +++ b/src/plugins/irc/irc.h @@ -62,6 +62,7 @@ #define IRC_COLOR_STATUS_NAME weechat_color(weechat_config_string(weechat_config_get("weechat.color.status_name"))) #define IRC_COLOR_MESSAGE_JOIN weechat_color(weechat_config_string(irc_config_color_message_join)) #define IRC_COLOR_MESSAGE_QUIT weechat_color(weechat_config_string(irc_config_color_message_quit)) +#define IRC_COLOR_NOTICE weechat_color(weechat_config_string(irc_config_color_notice)) #define IRC_COLOR_INPUT_NICK weechat_color(weechat_config_string(irc_config_color_input_nick)) #define IRC_COLOR_ITEM_AWAY weechat_color(weechat_config_string(irc_config_color_item_away)) #define IRC_COLOR_NICK_IN_SERVER_MESSAGE(nick) \ |