summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-01-23 11:38:07 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-01-23 11:38:07 +0100
commit498f2131a747acc1c0e48cfc5b4bd33c6fef4e31 (patch)
tree3ef998c9361db319af7c09b28d18a580ab9b9ee0
parentrelay: do not create relay if there is a problem with socket creation (bug #35345) (diff)
downloadweechat-498f2131a747acc1c0e48cfc5b4bd33c6fef4e31.tar.xz
weechat-498f2131a747acc1c0e48cfc5b4bd33c6fef4e31.zip
relay: add protocol "weechat" in /help relay
-rw-r--r--doc/de/autogen/user/relay_commands.txt28
-rw-r--r--doc/en/autogen/user/relay_commands.txt10
-rw-r--r--doc/fr/autogen/user/relay_commands.txt10
-rw-r--r--doc/it/autogen/user/relay_commands.txt30
-rw-r--r--po/cs.po15
-rw-r--r--po/de.po15
-rw-r--r--po/es.po15
-rw-r--r--po/fr.po28
-rw-r--r--po/hu.po14
-rw-r--r--po/it.po15
-rw-r--r--po/pl.po15
-rw-r--r--po/pt_BR.po14
-rw-r--r--po/ru.po14
-rw-r--r--po/weechat.pot14
-rw-r--r--src/plugins/relay/relay-command.c15
15 files changed, 145 insertions, 107 deletions
diff --git a/doc/de/autogen/user/relay_commands.txt b/doc/de/autogen/user/relay_commands.txt
index d48742714..9793fc7f9 100644
--- a/doc/de/autogen/user/relay_commands.txt
+++ b/doc/de/autogen/user/relay_commands.txt
@@ -6,21 +6,23 @@
del <protocol.name>
raw
- list: Auflistung der Relay-Clients (nur aktive Relays)
- listfull: detaillierte Auflistung der Relay-Clients (alle Relays)
- listrelay: Auflistung der Relays (Name und Port)
- add: füge ein Relay, für ein Protokoll + Name, hinzu
- del: entferne Relay für ein Protokoll + Name
-protocol.name: Protokoll und Name des Relays
- zur Zeit wird ausschließlich das "irc" Protokoll unterstützt
- Beispiel: irc.freenode
- port: Port den der Relay nutzen soll
- raw: öffnet Buffer mit RAW-Relay Daten
+ list: list relay clients (only active relays)
+ listfull: list relay clients (verbose, all relays)
+ listrelay: list relays (name and port)
+ add: add relay for a protocol + name
+ del: remove relay for a protocol + name
+protocol.name: protocol and name to relay:
+ - protocol "irc": name is the server to share
+ - protocol "weechat" (name is not used)
+ port: port used for relay
+ raw: open buffer with raw Relay data
-Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
+Without argument, this command opens buffer with list of relay clients.
-Beispiel:
- IRC Proxy für Server "freenode":
+Examples:
+ irc proxy, for server "freenode":
/relay add irc.freenode 8000
+ weechat protocol:
+ /relay add weechat 8001
........................................
diff --git a/doc/en/autogen/user/relay_commands.txt b/doc/en/autogen/user/relay_commands.txt
index 4da58bef0..94b7b6a1e 100644
--- a/doc/en/autogen/user/relay_commands.txt
+++ b/doc/en/autogen/user/relay_commands.txt
@@ -11,16 +11,18 @@
listrelay: list relays (name and port)
add: add relay for a protocol + name
del: remove relay for a protocol + name
-protocol.name: protocol and name to relay
- currently, only protocol "irc" is supported
- for example: irc.freenode
+protocol.name: protocol and name to relay:
+ - protocol "irc": name is the server to share
+ - protocol "weechat" (name is not used)
port: port used for relay
raw: open buffer with raw Relay data
Without argument, this command opens buffer with list of relay clients.
-Example:
+Examples:
irc proxy, for server "freenode":
/relay add irc.freenode 8000
+ weechat protocol:
+ /relay add weechat 8001
........................................
diff --git a/doc/fr/autogen/user/relay_commands.txt b/doc/fr/autogen/user/relay_commands.txt
index e8a80b4b8..0c04b0590 100644
--- a/doc/fr/autogen/user/relay_commands.txt
+++ b/doc/fr/autogen/user/relay_commands.txt
@@ -11,16 +11,18 @@
listrelay: lister les relais (nom et port)
add: ajouter un relai pour un protocole + nom
del: supprimer un relai pour un protocole + nom
-protocole.nom: protocole et nom à relayer
- actuellement, seul le protocole "irc" est supporté
- par exemple: irc.freenode
+protocole.nom: protocole et nom à relayer:
+ - protocole "irc": le nom est le serveur à partager
+ - protocole "weechat" (le nom n'est pas utilisé)
port: port utilisé pour le relai
raw: ouvrir le tampon avec les données brutes Relay
Sans paramètre, cette commande ouvre le tampon avec la liste des clients pour le relai.
-Exemple:
+Exemples:
proxy irc, pour le serveur "freenode":
/relay add irc.freenode 8000
+ protocole weechat:
+ /relay add weechat 8001
........................................
diff --git a/doc/it/autogen/user/relay_commands.txt b/doc/it/autogen/user/relay_commands.txt
index 1a5b8dd75..0c391a43d 100644
--- a/doc/it/autogen/user/relay_commands.txt
+++ b/doc/it/autogen/user/relay_commands.txt
@@ -6,21 +6,23 @@
del <protocollo.nome>
raw
- list: elenca i client relay (solo quelli attivi)
- listfull: elenca i client relay (dettagliato, tutti i relay)
- listrelay: elenca i relay (nome e porta)
- add: aggiungi relay per un protocollo + nome
- del: rimuovi relay per un protocollo + nome
-protocollo.nome: protocollo e nome con cui effettuare il relay
- al momento, è supportato solo il protocollo "irc"
- ad esempio: irc.freenode
- porta: porta usata per il relay
- raw: apre il buffer con dati Relay
+ list: list relay clients (only active relays)
+ listfull: list relay clients (verbose, all relays)
+ listrelay: list relays (name and port)
+ add: add relay for a protocol + name
+ del: remove relay for a protocol + name
+protocol.name: protocol and name to relay:
+ - protocol "irc": name is the server to share
+ - protocol "weechat" (name is not used)
+ port: port used for relay
+ raw: open buffer with raw Relay data
-Senza argomento, il comando apre i buffer con l'elenco dei client relay.
+Without argument, this command opens buffer with list of relay clients.
-Esempio:
- proxy irc, per il server "freenode":
- /relay add irc.freenode.net 8000
+Examples:
+ irc proxy, for server "freenode":
+ /relay add irc.freenode 8000
+ weechat protocol:
+ /relay add weechat 8001
........................................
diff --git a/po/cs.po b/po/cs.po
index cee1f9aa2..e6b91fc36 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7304,23 +7304,26 @@ msgstr ""
"list|listfull|listrelay || add <protocol.name> <port> || del <protocol.name> "
"|| raw"
+#, fuzzy
msgid ""
" list: list relay clients (only active relays)\n"
" listfull: list relay clients (verbose, all relays)\n"
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
" list: seznam klientů přesměrování (pouze aktivní přesměrování)\n"
" listfull: seznam klientů přesměrování (užvaněný, všechny přesměrování)\n"
diff --git a/po/de.po b/po/de.po
index 86abca939..5cf622dc9 100644
--- a/po/de.po
+++ b/po/de.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
"PO-Revision-Date: 2012-01-16 22:33+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7731,23 +7731,26 @@ msgstr ""
"list|listfull|listrelay || add <protocol.name> <port> || del <protocol.name> "
"|| raw"
+#, fuzzy
msgid ""
" list: list relay clients (only active relays)\n"
" listfull: list relay clients (verbose, all relays)\n"
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
" list: Auflistung der Relay-Clients (nur aktive Relays)\n"
" listfull: detaillierte Auflistung der Relay-Clients (alle Relays)\n"
diff --git a/po/es.po b/po/es.po
index 4046f77e5..25057c4cc 100644
--- a/po/es.po
+++ b/po/es.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7500,23 +7500,26 @@ msgstr ""
"list|listfull|listrelay || add <protocolo.nombre> <puerto> || del <protocolo."
"nombre> || raw"
+#, fuzzy
msgid ""
" list: list relay clients (only active relays)\n"
" listfull: list relay clients (verbose, all relays)\n"
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
" list: lista clientes a retransmitir (solo retransmisiones activas)\n"
" listfull: lista clientes a retransmitir (detallado, todas las "
diff --git a/po/fr.po b/po/fr.po
index a90481379..0384df11f 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
-"PO-Revision-Date: 2012-01-22 12:59+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
+"PO-Revision-Date: 2012-01-23 11:36+0100\n"
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: French\n"
@@ -7597,35 +7597,39 @@ msgid ""
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
" list: lister les clients pour le relai\n"
" listfull: lister les clients pour le relai (verbeux)\n"
" listrelay: lister les relais (nom et port)\n"
" add: ajouter un relai pour un protocole + nom\n"
" del: supprimer un relai pour un protocole + nom\n"
-"protocole.nom: protocole et nom à relayer\n"
-" actuellement, seul le protocole \"irc\" est supporté\n"
-" par exemple: irc.freenode\n"
+"protocole.nom: protocole et nom à relayer:\n"
+" - protocole \"irc\": le nom est le serveur à partager\n"
+" - protocole \"weechat\" (le nom n'est pas utilisé)\n"
" port: port utilisé pour le relai\n"
" raw: ouvrir le tampon avec les données brutes Relay\n"
"\n"
"Sans paramètre, cette commande ouvre le tampon avec la liste des clients "
"pour le relai.\n"
"\n"
-"Exemple:\n"
+"Exemples:\n"
" proxy irc, pour le serveur \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" protocole weechat:\n"
+" /relay add weechat 8001"
msgid "all possible protocol.name for relay plugin"
msgstr "tous les protocole.nom possible pour l'extension relay"
diff --git a/po/hu.po b/po/hu.po
index 102ec2227..0892c26dc 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6847,17 +6847,19 @@ msgid ""
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
msgid "all possible protocol.name for relay plugin"
diff --git a/po/it.po b/po/it.po
index cb323508b..3ddb28aff 100644
--- a/po/it.po
+++ b/po/it.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
"PO-Revision-Date: 2012-01-16 22:07+0100\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7499,23 +7499,26 @@ msgstr ""
"list|listfull|listrelay || add <protocollo.nome> <porta> || del <protocollo."
"nome> || raw"
+#, fuzzy
msgid ""
" list: list relay clients (only active relays)\n"
" listfull: list relay clients (verbose, all relays)\n"
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
" list: elenca i client relay (solo quelli attivi)\n"
" listfull: elenca i client relay (dettagliato, tutti i relay)\n"
diff --git a/po/pl.po b/po/pl.po
index e0780f1d9..477ac2afc 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7433,23 +7433,26 @@ msgstr ""
"list|listfull|listrelay || add <protokół.nazwa> <port> || del <protokół."
"nazwa> || raw"
+#, fuzzy
msgid ""
" list: list relay clients (only active relays)\n"
" listfull: list relay clients (verbose, all relays)\n"
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
" list: wyświetla klienty relay (tylko aktywne)\n"
" listfull: wyświetla klienty relay (wszystkie)\n"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index c00ad272c..85d602077 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
"PO-Revision-Date: 2011-12-25 22:56+0100\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6975,17 +6975,19 @@ msgid ""
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
msgid "all possible protocol.name for relay plugin"
diff --git a/po/ru.po b/po/ru.po
index 0070d22e0..ef29a1c89 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+0100\n"
"PO-Revision-Date: 2012-01-07 09:24+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -6870,17 +6870,19 @@ msgid ""
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
msgid "all possible protocol.name for relay plugin"
diff --git a/po/weechat.pot b/po/weechat.pot
index 02b2b6d6b..2eab54d85 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: 2012-01-22 13:38+0100\n"
+"POT-Creation-Date: 2012-01-23 11:36+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"
@@ -5998,17 +5998,19 @@ msgid ""
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
-"protocol.name: protocol and name to relay\n"
-" currently, only protocol \"irc\" is supported\n"
-" for example: irc.freenode\n"
+"protocol.name: protocol and name to relay:\n"
+" - protocol \"irc\": name is the server to share\n"
+" - protocol \"weechat\" (name is not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n"
"\n"
"Without argument, this command opens buffer with list of relay clients.\n"
"\n"
-"Example:\n"
+"Examples:\n"
" irc proxy, for server \"freenode\":\n"
-" /relay add irc.freenode 8000"
+" /relay add irc.freenode 8000\n"
+" weechat protocol:\n"
+" /relay add weechat 8001"
msgstr ""
msgid "all possible protocol.name for relay plugin"
diff --git a/src/plugins/relay/relay-command.c b/src/plugins/relay/relay-command.c
index cc3f8135f..acb88feb4 100644
--- a/src/plugins/relay/relay-command.c
+++ b/src/plugins/relay/relay-command.c
@@ -307,17 +307,20 @@ relay_command_init ()
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
- "protocol.name: protocol and name to relay\n"
- " currently, only protocol \"irc\" "
- "is supported\n"
- " for example: irc.freenode\n"
+ "protocol.name: protocol and name to relay:\n"
+ " - protocol \"irc\": name is the "
+ "server to share\n"
+ " - protocol \"weechat\" (name is "
+ "not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n\n"
"Without argument, this command opens buffer "
"with list of relay clients.\n\n"
- "Example:\n"
+ "Examples:\n"
" irc proxy, for server \"freenode\":\n"
- " /relay add irc.freenode 8000"),
+ " /relay add irc.freenode 8000\n"
+ " weechat protocol:\n"
+ " /relay add weechat 8001"),
"list %(relay_relays)"
" || listfull %(relay_relays)"
" || listrelay"