1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

Add missing IRC command 328 (channel url)

This commit is contained in:
Sebastien Helleu
2008-10-03 14:54:00 +02:00
parent e2b60e73c2
commit 97a2c7bc39
8 changed files with 70 additions and 8 deletions
+5 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2008-10-02 18:44+0200\n"
"POT-Creation-Date: 2008-10-03 14:40+0200\n"
"PO-Revision-Date: 2008-09-17 16:19+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3677,6 +3677,10 @@ msgid ""
"%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s"
msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, přihlášen v: %s%s"
#, fuzzy, c-format
msgid "%sURL for %s%s%s: %s"
msgstr "Téma pro %s%s%s je: "
#, fuzzy, c-format
msgid "%sChannel created on %s"
msgstr "Kanál vytvořen v %s"
+5 -1
View File
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2008-10-02 18:44+0200\n"
"POT-Creation-Date: 2008-10-03 14:40+0200\n"
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3593,6 +3593,10 @@ msgid ""
"%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s"
msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, hat sich um %s%s angemeldet"
#, fuzzy, c-format
msgid "%sURL for %s%s%s: %s"
msgstr "Das Topic von %s%s%s lautet: "
#, fuzzy, c-format
msgid "%sChannel created on %s"
msgstr "Channel erstellt am %s"
+5 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2008-10-02 18:44+0200\n"
"POT-Creation-Date: 2008-10-03 14:40+0200\n"
"PO-Revision-Date: 2007-09-19 12:09+0200\n"
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3587,6 +3587,10 @@ msgid ""
"%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s"
msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, firmó en: %s%s"
#, fuzzy, c-format
msgid "%sURL for %s%s%s: %s"
msgstr "El tema para %s%s%s es: "
#, fuzzy, c-format
msgid "%sChannel created on %s"
msgstr "lista de excepción de canal"
+6 -2
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2008-10-02 18:44+0200\n"
"PO-Revision-Date: 2008-10-02 18:45+0200\n"
"POT-Creation-Date: 2008-10-03 14:40+0200\n"
"PO-Revision-Date: 2008-10-03 14:41+0200\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@@ -3622,6 +3622,10 @@ msgstr ""
"%s%s[%s%s%s]%s inactivité: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signé le: %s%"
"s"
#, c-format
msgid "%sURL for %s%s%s: %s"
msgstr "%sURL pour %s%s%s: %s"
#, c-format
msgid "%sChannel created on %s"
msgstr "%sCanal créé le %s"
+5 -1
View File
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2008-10-02 18:44+0200\n"
"POT-Creation-Date: 2008-10-03 14:40+0200\n"
"PO-Revision-Date: 2007-10-10 18:07+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3619,6 +3619,10 @@ msgid ""
"%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s"
msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, bejelentkezett: %s%s"
#, fuzzy, c-format
msgid "%sURL for %s%s%s: %s"
msgstr "A %s%s%s szoba témája: "
#, fuzzy, c-format
msgid "%sChannel created on %s"
msgstr "Szoba létrehozva: %s"
+5 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2008-10-02 18:44+0200\n"
"POT-Creation-Date: 2008-10-03 14:40+0200\n"
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3613,6 +3613,10 @@ msgid ""
"%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s"
msgstr "%s%02d %s%s %s%02d %s%s %s%02d %s%s, вошёл в сеть: %s%s"
#, fuzzy, c-format
msgid "%sURL for %s%s%s: %s"
msgstr "Тема канала %s%s%s: "
#, fuzzy, c-format
msgid "%sChannel created on %s"
msgstr "Канал создан %s"
+5 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2008-10-02 18:44+0200\n"
"POT-Creation-Date: 2008-10-03 14:40+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"
@@ -3070,6 +3070,10 @@ msgid ""
"%s%s[%s%s%s]%s idle: %s%02d %s%s %s%02d %s%s %s%02d %s%s, signon at: %s%s"
msgstr ""
#, c-format
msgid "%sURL for %s%s%s: %s"
msgstr ""
#, c-format
msgid "%sChannel created on %s"
msgstr ""
+34
View File
@@ -2993,6 +2993,39 @@ irc_protocol_cmd_327 (struct t_irc_server *server, const char *command,
return WEECHAT_RC_OK;
}
/*
* irc_protocol_cmd_328: '328' channel URL
*/
int
irc_protocol_cmd_328 (struct t_irc_server *server, const char *command,
int argc, char **argv, char **argv_eol)
{
struct t_irc_channel *ptr_channel;
/* 328 message looks like:
:server 328 mynick #channel :http://sample.url.com
*/
IRC_PROTOCOL_MIN_ARGS(5);
ptr_channel = irc_channel_search (server, argv[3]);
if (ptr_channel)
{
weechat_printf_tags (ptr_channel->buffer,
irc_protocol_tags(command, "irc_numeric"),
_("%sURL for %s%s%s: %s"),
weechat_prefix ("network"),
IRC_COLOR_CHAT_CHANNEL,
argv[3],
IRC_COLOR_CHAT,
(argv_eol[4][0] == ':') ?
argv_eol[4] + 1 : argv_eol[4]);
}
return WEECHAT_RC_OK;
}
/*
* irc_protocol_cmd_329: '329' command received (channel creation date)
*/
@@ -4154,6 +4187,7 @@ irc_protocol_recv_command (struct t_irc_server *server, const char *entire_line,
{ "324", /* channel mode */ 1, &irc_protocol_cmd_324 },
{ "326", /* whois (has oper privs) */ 1, &irc_protocol_cmd_whois_nick_msg },
{ "327", /* whois (host) */ 1, &irc_protocol_cmd_327 },
{ "328", /* channel url */ 1, &irc_protocol_cmd_328 },
{ "329", /* channel creation date */ 1, &irc_protocol_cmd_329 },
{ "331", /* no topic for channel */ 1, &irc_protocol_cmd_331 },
{ "332", /* topic of channel */ 1, &irc_protocol_cmd_332 },