diff --git a/po/cs.po b/po/cs.po index cc3c1e99b..82968c051 100644 --- a/po/cs.po +++ b/po/cs.po @@ -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 \n" "Language-Team: weechat-dev \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" diff --git a/po/de.po b/po/de.po index 84ff81d68..e7b370b24 100644 --- a/po/de.po +++ b/po/de.po @@ -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 \n" "Language-Team: weechat-dev \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" diff --git a/po/es.po b/po/es.po index f01869bff..9fa805385 100644 --- a/po/es.po +++ b/po/es.po @@ -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 \n" "Language-Team: weechat-dev \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" diff --git a/po/fr.po b/po/fr.po index 4194ef01e..ac5ae3f1e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -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 \n" "Language-Team: weechat-dev \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" diff --git a/po/hu.po b/po/hu.po index 648ae4e88..fcf8b92f6 100644 --- a/po/hu.po +++ b/po/hu.po @@ -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 \n" "Language-Team: weechat-dev \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" diff --git a/po/ru.po b/po/ru.po index 0806df15f..230f84d12 100644 --- a/po/ru.po +++ b/po/ru.po @@ -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 \n" "Language-Team: weechat-dev \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" diff --git a/po/weechat.pot b/po/weechat.pot index d3623fccd..b3c23974d 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: 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 \n" "Language-Team: LANGUAGE \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 "" diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 8832ec8f4..57470bfe2 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -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 },