Add IRC command /map
This commit is contained in:
parent
fbc1c2a9b1
commit
69b53c8f3d
@ -19,6 +19,7 @@ Version 0.3.2 (under dev!)
|
||||
* irc: add options irc.look.smart_filter_join and irc.look.smart_filter_quit
|
||||
* irc: add option irc.look.display_channel_modes_hide_key to hide channel key
|
||||
in channel modes (bug #23961)
|
||||
* irc: add command /map
|
||||
* irc: fix compilation with old GnuTLS versions (bug #28723)
|
||||
* logger: allow date format in logger options path and mask (task #9430)
|
||||
* xfer: fix crash when purging old xfer chats (bug #28764)
|
||||
|
@ -265,6 +265,12 @@
|
||||
target: server for forwarding request
|
||||
........................................
|
||||
|
||||
• *`/map`*::
|
||||
|
||||
........................................
|
||||
show a graphical map of the IRC network
|
||||
........................................
|
||||
|
||||
• *`/me`* `message`::
|
||||
|
||||
........................................
|
||||
|
@ -265,6 +265,12 @@
|
||||
cible: serveur pour faire suivre la requête
|
||||
........................................
|
||||
|
||||
• *`/map`*::
|
||||
|
||||
........................................
|
||||
afficher une carte graphique du réseau IRC
|
||||
........................................
|
||||
|
||||
• *`/me`* `message`::
|
||||
|
||||
........................................
|
||||
|
@ -264,6 +264,12 @@
|
||||
destinazione: server per redirigere la richiesta
|
||||
........................................
|
||||
|
||||
• *`/map`*::
|
||||
|
||||
........................................
|
||||
show a graphical map of the IRC network
|
||||
........................................
|
||||
|
||||
• *`/me`* `messaggio`::
|
||||
|
||||
........................................
|
||||
|
5
po/cs.po
5
po/cs.po
@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:56+0100\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -3316,6 +3316,9 @@ msgstr ""
|
||||
"maska: pouze servery odpovídající této masce\n"
|
||||
" cíl: server pro dopravující požadavek"
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr ""
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr "poslat CTCP akci na aktuální kanál"
|
||||
|
||||
|
5
po/de.po
5
po/de.po
@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\n"
|
||||
"PO-Revision-Date: 2010-01-26 22:35+0100\n"
|
||||
"Last-Translator: Nils G <weechatter@arcor.de>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -3476,6 +3476,9 @@ msgstr ""
|
||||
" Maske: Nur Server, die diesem Muster entsprechen\n"
|
||||
"Ziel: Server, der die Anfrage weiterleiten soll"
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr ""
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr "Eine CTCP ACTION an den aktuellen Channel senden"
|
||||
|
||||
|
5
po/es.po
5
po/es.po
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:56+0100\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -3400,6 +3400,9 @@ msgstr ""
|
||||
" máscara: servidores que coinciden sólo con la máscara\n"
|
||||
"objetivo: servidor a remitir la consulta"
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr ""
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr "envía una acción CTCP al canal actual"
|
||||
|
||||
|
7
po/fr.po
7
po/fr.po
@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"PO-Revision-Date: 2010-02-02 15:00+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\n"
|
||||
"PO-Revision-Date: 2010-02-02 15:35+0100\n"
|
||||
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -3424,6 +3424,9 @@ msgstr ""
|
||||
"masque: serveurs qui correspondent au masque seulement\n"
|
||||
" cible: serveur pour faire suivre la requête"
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr "afficher une carte graphique du réseau IRC"
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr "envoyer une action CTCP au canal courant"
|
||||
|
||||
|
5
po/hu.po
5
po/hu.po
@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:57+0100\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -3228,6 +3228,9 @@ msgstr ""
|
||||
"maszk: csak azok a szerverek amik megfelelnek a maszknak\n"
|
||||
" cél: a kérés továbbítására szolgáló szerver"
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr ""
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr "CTCP parancs küldése az aktuális szobába"
|
||||
|
||||
|
5
po/it.po
5
po/it.po
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Weechat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:57+0100\n"
|
||||
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -3401,6 +3401,9 @@ msgstr ""
|
||||
" mask: server corrispondenti alla mask\n"
|
||||
"destinazione: server per redirigere la richiesta"
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr ""
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr "invia un'azione CTCP al canale corrente"
|
||||
|
||||
|
5
po/pl.po
5
po/pl.po
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:57+0100\n"
|
||||
"Last-Translator: Krzysztof Koroscik <soltys@szluug.org>\n"
|
||||
"Language-Team: Polish\n"
|
||||
@ -3390,6 +3390,9 @@ msgstr ""
|
||||
" maska: tylko serwery pasujące do maski\n"
|
||||
"cel: serwer, do któego ma być przesłane rządanie"
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr ""
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr "wysyła akcję CTCP na aktualny kanał"
|
||||
|
||||
|
5
po/ru.po
5
po/ru.po
@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.2-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\n"
|
||||
"PO-Revision-Date: 2010-01-23 11:57+0100\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -3237,6 +3237,9 @@ msgstr ""
|
||||
"маска: показывать только серверы, подходящие по маске\n"
|
||||
" цель: сервер для перенаправления запроса"
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr ""
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr "отправить CTCP-действие на текущий канал"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2010-02-02 14:58+0100\n"
|
||||
"POT-Creation-Date: 2010-02-02 15:34+0100\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"
|
||||
@ -2805,6 +2805,9 @@ msgid ""
|
||||
"target: server for forwarding request"
|
||||
msgstr ""
|
||||
|
||||
msgid "show a graphical map of the IRC network"
|
||||
msgstr ""
|
||||
|
||||
msgid "send a CTCP action to the current channel"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1976,6 +1976,29 @@ irc_command_lusers (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_command_map: show a graphical map of the IRC network
|
||||
*/
|
||||
|
||||
int
|
||||
irc_command_map (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
char **argv, char **argv_eol)
|
||||
{
|
||||
IRC_GET_SERVER(buffer);
|
||||
IRC_COMMAND_CHECK_SERVER("map", 1);
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
(void) argv;
|
||||
|
||||
if (argc > 1)
|
||||
irc_server_sendf (ptr_server, 0, "MAP %s", argv_eol[1]);
|
||||
else
|
||||
irc_server_sendf (ptr_server, 0, "MAP");
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_command_me: send a ctcp action to the current channel
|
||||
*/
|
||||
@ -4166,6 +4189,11 @@ irc_command_init ()
|
||||
N_(" mask: servers matching the mask only\n"
|
||||
"target: server for forwarding request"),
|
||||
NULL, &irc_command_lusers, NULL);
|
||||
weechat_hook_command ("map",
|
||||
N_("show a graphical map of the IRC network"),
|
||||
"",
|
||||
"",
|
||||
NULL, &irc_command_map, NULL);
|
||||
weechat_hook_command ("me",
|
||||
N_("send a CTCP action to the current channel"),
|
||||
N_("message"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user