From 9a9817551015a9e2f812ae0bd98bd6349aae4f22 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 6 Dec 2010 08:35:13 +0100 Subject: [PATCH] Add example for irc proxy in /help relay --- doc/de/autogen/user/relay_commands.txt | 25 +++++++++++++++---------- doc/en/autogen/user/relay_commands.txt | 5 +++++ doc/fr/autogen/user/relay_commands.txt | 5 +++++ doc/it/autogen/user/relay_commands.txt | 25 +++++++++++++++---------- po/cs.po | 9 +++++++-- po/de.po | 10 ++++++++-- po/es.po | 9 +++++++-- po/fr.po | 18 ++++++++++++++---- po/hu.po | 9 +++++++-- po/it.po | 10 ++++++++-- po/pl.po | 9 +++++++-- po/pt_BR.po | 9 +++++++-- po/ru.po | 9 +++++++-- po/weechat.pot | 9 +++++++-- src/plugins/relay/relay-command.c | 7 ++++++- 15 files changed, 125 insertions(+), 43 deletions(-) diff --git a/doc/de/autogen/user/relay_commands.txt b/doc/de/autogen/user/relay_commands.txt index efc77cad8..0271a7e66 100644 --- a/doc/de/autogen/user/relay_commands.txt +++ b/doc/de/autogen/user/relay_commands.txt @@ -3,16 +3,21 @@ ........................................ Relay-Kontrolle - 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 - 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 + currently, only protocol "irc" is supported + for example: irc.freenode + 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. + + Example: + irc proxy, for server "freenode": + /relay add irc.freenode 8000 ........................................ diff --git a/doc/en/autogen/user/relay_commands.txt b/doc/en/autogen/user/relay_commands.txt index 0693278e4..e841dce22 100644 --- a/doc/en/autogen/user/relay_commands.txt +++ b/doc/en/autogen/user/relay_commands.txt @@ -9,10 +9,15 @@ 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 port: port used for relay raw: open buffer with raw Relay data Without argument, this command opens buffer with list of relay clients. + + Example: + irc proxy, for server "freenode": + /relay add irc.freenode 8000 ........................................ diff --git a/doc/fr/autogen/user/relay_commands.txt b/doc/fr/autogen/user/relay_commands.txt index 1e5332bca..b9af42aa5 100644 --- a/doc/fr/autogen/user/relay_commands.txt +++ b/doc/fr/autogen/user/relay_commands.txt @@ -9,10 +9,15 @@ add: ajoute un relai pour un protocole + nom del: supprime un relai pour un protocole + nom protocole.nom: protocole et nom à relayer + actuellement, seul le protocole "irc" est supporté par exemple: irc.freenode port: port utilisé pour le relai raw: ouvre 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 : + proxy irc, pour le serveur "freenode" : + /relay add irc.freenode 8000 ........................................ diff --git a/doc/it/autogen/user/relay_commands.txt b/doc/it/autogen/user/relay_commands.txt index d4cad2cd3..c40c3640c 100644 --- a/doc/it/autogen/user/relay_commands.txt +++ b/doc/it/autogen/user/relay_commands.txt @@ -3,16 +3,21 @@ ........................................ controllo relay - 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 - per esempio: irc.freenode - porta: porta utilizzata 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 + currently, only protocol "irc" is supported + for example: irc.freenode + 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. + + Example: + irc proxy, for server "freenode": + /relay add irc.freenode 8000 ........................................ diff --git a/po/cs.po b/po/cs.po index 68509d2bf..16d302eb5 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 09:59+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: 2010-11-06 11:55+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -6293,11 +6293,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" 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 4d9492f6f..8fb89857e 100644 --- a/po/de.po +++ b/po/de.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.3-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 18:45+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: 2010-12-02 18:18+0100\n" "Last-Translator: Nils G.\n" "Language-Team: weechat-dev \n" @@ -6554,6 +6554,7 @@ msgstr "Relay-Kontrolle" msgid "[list | listfull | add protocol.name port | del protocol.name | raw]" msgstr "[list | listfull | 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" @@ -6561,11 +6562,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" 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 40b34d2e6..5d1568110 100644 --- a/po/es.po +++ b/po/es.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 09:59+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: 2010-11-06 11:56+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -6369,11 +6369,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" 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 f410a2641..33d2ae313 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 09:59+0100\n" -"PO-Revision-Date: 2010-12-02 10:00+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" +"PO-Revision-Date: 2010-12-05 12:08+0100\n" "Last-Translator: Sebastien Helleu \n" "Language-Team: weechat-dev \n" "Language: French\n" @@ -6448,11 +6448,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" msgstr "" " list: liste les clients pour le relai\n" " listfull: liste les clients pour le relai (verbeux)\n" @@ -6460,12 +6465,17 @@ msgstr "" " add: ajoute un relai pour un protocole + nom\n" " del: supprime 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" " port: port utilisé pour le relai\n" " raw: ouvre 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." +"pour le relai.\n" +"\n" +"Exemple :\n" +" proxy irc, pour le serveur \"freenode\" :\n" +" /relay add irc.freenode 8000" 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 7c60c2343..12b60c238 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 09:59+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: 2010-11-05 17:17+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -6011,11 +6011,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" msgstr "" msgid "all possible protocol.name for relay plugin" diff --git a/po/it.po b/po/it.po index a5f7ad921..4c3085ae7 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 18:45+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: 2010-12-04 11:57+0100\n" "Last-Translator: Marco Paolone \n" "Language-Team: weechat-dev \n" @@ -6407,6 +6407,7 @@ msgid "[list | listfull | add protocol.name port | del protocol.name | raw]" msgstr "" "[list | listfull | 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" @@ -6414,11 +6415,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" 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 3aa959bef..f202ade4a 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 09:59+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: 2010-11-06 11:56+0100\n" "Last-Translator: Krzysztof Koroscik \n" "Language-Team: weechat-dev \n" @@ -6319,11 +6319,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" msgstr "" " list: wyświatla 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 c97ba04e7..0427c6993 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 09:59+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: 2010-11-13 09:26+0100\n" "Last-Translator: Ivan Sichmann Freitas \n" "Language-Team: weechat-dev \n" @@ -5312,11 +5312,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" msgstr "" msgid "all possible protocol.name for relay plugin" diff --git a/po/ru.po b/po/ru.po index 2026ad87e..21509f5a3 100644 --- a/po/ru.po +++ b/po/ru.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.4-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2010-12-02 09:59+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: 2010-11-05 17:17+0100\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -6025,11 +6025,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" msgstr "" msgid "all possible protocol.name for relay plugin" diff --git a/po/weechat.pot b/po/weechat.pot index 3a83b5ce6..23005b18d 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: 2010-12-02 09:59+0100\n" +"POT-Creation-Date: 2010-12-05 12:08+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -5251,11 +5251,16 @@ msgid "" " 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" " 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." +"Without argument, this command opens buffer with list of relay clients.\n" +"\n" +"Example:\n" +" irc proxy, for server \"freenode\":\n" +" /relay add irc.freenode 8000" 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 3bf7713b4..8659961ad 100644 --- a/src/plugins/relay/relay-command.c +++ b/src/plugins/relay/relay-command.c @@ -294,11 +294,16 @@ relay_command_init () " 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" " 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."), + "with list of relay clients.\n\n" + "Example:\n" + " irc proxy, for server \"freenode\":\n" + " /relay add irc.freenode 8000"), "list %(relay_relays)" " || listfull %(relay_relays)" " || listrelay"