diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | po/es.po | 78 | ||||
-rw-r--r-- | po/fr.po | 78 | ||||
-rw-r--r-- | po/weechat.pot | 76 | ||||
-rw-r--r-- | src/irc/irc-commands.c | 1 | ||||
-rw-r--r-- | src/irc/irc-recv.c | 41 | ||||
-rw-r--r-- | src/irc/irc.h | 1 | ||||
-rw-r--r-- | weechat/ChangeLog | 4 | ||||
-rw-r--r-- | weechat/po/es.po | 78 | ||||
-rw-r--r-- | weechat/po/fr.po | 78 | ||||
-rw-r--r-- | weechat/po/weechat.pot | 76 | ||||
-rw-r--r-- | weechat/src/irc/irc-commands.c | 1 | ||||
-rw-r--r-- | weechat/src/irc/irc-recv.c | 41 | ||||
-rw-r--r-- | weechat/src/irc/irc.h | 1 |
14 files changed, 334 insertions, 224 deletions
@@ -1,7 +1,7 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-04-23 +ChangeLog - 2005-04-28 Version 0.1.2 (under dev!): @@ -10,7 +10,7 @@ Version 0.1.2 (under dev!): * buffers timestamp can now be changed (new option in config file) * fixed crash when purging old DCC * fixed crash with 64-bits arch (like AMD64) when converting UTF-8 - * added missing IRC commands (307, 341, 485) + * added missing IRC commands (307, 341, 485, 671) Version 0.1.1 (2005-03-20): * added nicks count for channel buffers @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.2-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-04-20 23:25+0200\n" -"PO-Revision-Date: 2005-04-19 22:51+0200\n" +"POT-Creation-Date: 2005-04-28 20:31+0200\n" +"PO-Revision-Date: 2005-04-28 20:32+0200\n" "Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -1247,6 +1247,10 @@ msgstr "indicador de modo desconocido" msgid "can't change mode for other users" msgstr "no es posible cambiar el modo para el resto de usuarios" +#: src/irc/irc-commands.c:446 +msgid "whois (secure connection)" +msgstr "" + #: src/irc/irc-display.c:154 src/common/command.c:812 msgid "Server: " msgstr "Servidor: " @@ -1549,7 +1553,7 @@ msgstr "%s no es posible analizar el comando \"%s\"\n" msgid "%s unknown DCC CHAT type received from " msgstr "%s tipo DCC CHAT desconocido recibido de " -#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:759 +#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:801 #, c-format msgid "Private %s> %s" msgstr "Privado %s> %s" @@ -1777,31 +1781,31 @@ msgstr "Falló" msgid "Aborted" msgstr "Abortado" -#: src/irc/irc-dcc.c:158 +#: src/irc/irc-dcc.c:192 msgid "DCC: file " msgstr "DCC: fichero " -#: src/irc/irc-dcc.c:163 src/irc/irc-dcc.c:414 +#: src/irc/irc-dcc.c:197 src/irc/irc-dcc.c:456 msgid " (local filename: " msgstr " (nombre de fichero local: " -#: src/irc/irc-dcc.c:169 +#: src/irc/irc-dcc.c:203 msgid ") sent to " msgstr ") enviado a " -#: src/irc/irc-dcc.c:171 +#: src/irc/irc-dcc.c:205 msgid ") received from " msgstr ") recibido de " -#: src/irc/irc-dcc.c:176 +#: src/irc/irc-dcc.c:210 msgid ": ok!\n" msgstr ": ok!\n" -#: src/irc/irc-dcc.c:188 +#: src/irc/irc-dcc.c:222 msgid "DCC chat closed with " msgstr "DCC chat cerrada con " -#: src/irc/irc-dcc.c:226 +#: src/irc/irc-dcc.c:263 #, c-format msgid "" "%s can't associate DCC chat with private buffer (maybe private buffer has " @@ -1810,74 +1814,74 @@ msgstr "" "%s no se puede asociar la conversación DCC con el búfer privado (quizá el " "búfer privado ya tiene DCC CHAT)\n" -#: src/irc/irc-dcc.c:236 +#: src/irc/irc-dcc.c:273 msgid "Connected to " msgstr "Conectado al " -#: src/irc/irc-dcc.c:245 +#: src/irc/irc-dcc.c:282 msgid "via DCC chat\n" msgstr "con charla DCC\n" -#: src/irc/irc-dcc.c:355 +#: src/irc/irc-dcc.c:393 #, c-format msgid "%s not enough memory for new DCC\n" msgstr "%s no hay memoria suficiente para un nuevo DCC\n" -#: src/irc/irc-dcc.c:373 +#: src/irc/irc-dcc.c:412 msgid "DCC chat" msgstr "Charla DCC" -#: src/irc/irc-dcc.c:394 +#: src/irc/irc-dcc.c:436 msgid "Incoming DCC file from " msgstr "Recibir fichero DCC de " -#: src/irc/irc-dcc.c:405 src/irc/irc-dcc.c:418 +#: src/irc/irc-dcc.c:447 src/irc/irc-dcc.c:460 msgid " bytes\n" msgstr " bytes\n" -#: src/irc/irc-dcc.c:410 +#: src/irc/irc-dcc.c:452 msgid "Sending DCC file to " msgstr "Enviar fichero DCC a " -#: src/irc/irc-dcc.c:423 +#: src/irc/irc-dcc.c:465 msgid "Incoming DCC chat request from " msgstr "Recibir DCC chat de " -#: src/irc/irc-dcc.c:434 +#: src/irc/irc-dcc.c:476 msgid "Sending DCC chat request to " msgstr "Enviar DCC chat a " -#: src/irc/irc-dcc.c:498 +#: src/irc/irc-dcc.c:540 #, c-format msgid "%s not enough memory for DCC SEND\n" msgstr "%s no hay memoria suficiente para el DCC SEND\n" -#: src/irc/irc-dcc.c:520 +#: src/irc/irc-dcc.c:562 #, c-format msgid "%s cannot access file \"%s\"\n" msgstr "%s no es posible acceder al fichero \"%s\"\n" -#: src/irc/irc-dcc.c:541 +#: src/irc/irc-dcc.c:583 #, c-format msgid "%s cannot create socket for DCC\n" msgstr "%s no es posible crear socket para el DCC\n" -#: src/irc/irc-dcc.c:554 +#: src/irc/irc-dcc.c:596 #, c-format msgid "%s cannot find port for DCC\n" msgstr "%s no es posible encontrar el puerto para el DCC\n" -#: src/irc/irc-dcc.c:601 +#: src/irc/irc-dcc.c:643 #, c-format msgid "%s cannot send DCC\n" msgstr "%s no es posible enviar el DCC\n" -#: src/irc/irc-dcc.c:680 +#: src/irc/irc-dcc.c:722 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s error enviando datos al \"%s\" con DCC CHAT\n" -#: src/irc/irc-dcc.c:938 +#: src/irc/irc-dcc.c:982 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -1886,7 +1890,7 @@ msgstr "" "%s El DCC ha fallado porque el tamaño de bloque es demasiado grande. " "Compruebe el valor de la opción \"dcc_blocksize\", el máximo es %d.\n" -#: src/irc/irc-dcc.c:1011 +#: src/irc/irc-dcc.c:1056 #, c-format msgid "aborting active DCC: \"%s\" from %s\n" msgstr "abandonar el DCC activo: \"%s\" de %s\n" @@ -1989,45 +1993,45 @@ msgstr "MB" msgid "Gb" msgstr "GB" -#: src/gui/curses/gui-display.c:1078 +#: src/gui/curses/gui-display.c:1090 msgid "(away)" msgstr "(ausente)" -#: src/gui/curses/gui-display.c:1191 +#: src/gui/curses/gui-display.c:1203 #, c-format msgid "%d:[not connected] " msgstr "%d:[no conectado] " -#: src/gui/curses/gui-display.c:1208 +#: src/gui/curses/gui-display.c:1220 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:1257 +#: src/gui/curses/gui-display.c:1269 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:1278 +#: src/gui/curses/gui-display.c:1290 msgid "-MORE-" msgstr "-MÁS-" -#: src/gui/curses/gui-display.c:1465 +#: src/gui/curses/gui-display.c:1477 msgid " [A] Accept" msgstr " [A] Aceptar" -#: src/gui/curses/gui-display.c:1466 src/gui/curses/gui-display.c:1470 +#: src/gui/curses/gui-display.c:1478 src/gui/curses/gui-display.c:1482 msgid " [C] Cancel" msgstr " [C] Cancelar" -#: src/gui/curses/gui-display.c:1475 +#: src/gui/curses/gui-display.c:1487 msgid " [R] Remove" msgstr " [R] Eliminar" -#: src/gui/curses/gui-display.c:1479 +#: src/gui/curses/gui-display.c:1491 msgid " [P] Purge old DCC" msgstr " [P] Purgar los viejos DCC" -#: src/gui/curses/gui-display.c:1480 +#: src/gui/curses/gui-display.c:1492 msgid " [Q] Close DCC view" msgstr " [Q] Cerrar la vista DCC" @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.2-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-04-20 23:25+0200\n" -"PO-Revision-Date: 2005-04-20 23:26+0200\n" +"POT-Creation-Date: 2005-04-28 20:31+0200\n" +"PO-Revision-Date: 2005-04-28 20:32+0200\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -1248,6 +1248,10 @@ msgstr "drapeau de mode inconnu" msgid "can't change mode for other users" msgstr "impossible de changer le mode pour les autres utilisateurs" +#: src/irc/irc-commands.c:446 +msgid "whois (secure connection)" +msgstr "qui est (connexion sécurisée)" + #: src/irc/irc-display.c:154 src/common/command.c:812 msgid "Server: " msgstr "Serveur: " @@ -1551,7 +1555,7 @@ msgstr "%s impossible d'analyser la commande \"%s\"\n" msgid "%s unknown DCC CHAT type received from " msgstr "%s type de DCC CHAT inconnu reçu de " -#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:759 +#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:801 #, c-format msgid "Private %s> %s" msgstr "Prive %s> %s" @@ -1779,31 +1783,31 @@ msgstr "Echoué" msgid "Aborted" msgstr "Interrompu" -#: src/irc/irc-dcc.c:158 +#: src/irc/irc-dcc.c:192 msgid "DCC: file " msgstr "DCC: fichier " -#: src/irc/irc-dcc.c:163 src/irc/irc-dcc.c:414 +#: src/irc/irc-dcc.c:197 src/irc/irc-dcc.c:456 msgid " (local filename: " msgstr " (nom local: " -#: src/irc/irc-dcc.c:169 +#: src/irc/irc-dcc.c:203 msgid ") sent to " msgstr ") envoyé à " -#: src/irc/irc-dcc.c:171 +#: src/irc/irc-dcc.c:205 msgid ") received from " msgstr ") reçu de " -#: src/irc/irc-dcc.c:176 +#: src/irc/irc-dcc.c:210 msgid ": ok!\n" msgstr ": ok!\n" -#: src/irc/irc-dcc.c:188 +#: src/irc/irc-dcc.c:222 msgid "DCC chat closed with " msgstr "Discussion DCC fermée avec " -#: src/irc/irc-dcc.c:226 +#: src/irc/irc-dcc.c:263 #, c-format msgid "" "%s can't associate DCC chat with private buffer (maybe private buffer has " @@ -1812,74 +1816,74 @@ msgstr "" "%s impossible d'associer la discussion DCC avec un tampon privé (le tampon " "privé a peut-être déjà un DCC CHAT ?)\n" -#: src/irc/irc-dcc.c:236 +#: src/irc/irc-dcc.c:273 msgid "Connected to " msgstr "Connecté à " -#: src/irc/irc-dcc.c:245 +#: src/irc/irc-dcc.c:282 msgid "via DCC chat\n" msgstr "via une discussion DCC\n" -#: src/irc/irc-dcc.c:355 +#: src/irc/irc-dcc.c:393 #, c-format msgid "%s not enough memory for new DCC\n" msgstr "%s pas assez de mémoire pour un nouveau DCC\n" -#: src/irc/irc-dcc.c:373 +#: src/irc/irc-dcc.c:412 msgid "DCC chat" msgstr "Discussion DCC" -#: src/irc/irc-dcc.c:394 +#: src/irc/irc-dcc.c:436 msgid "Incoming DCC file from " msgstr "Réception fichier DCC de " -#: src/irc/irc-dcc.c:405 src/irc/irc-dcc.c:418 +#: src/irc/irc-dcc.c:447 src/irc/irc-dcc.c:460 msgid " bytes\n" msgstr " octets\n" -#: src/irc/irc-dcc.c:410 +#: src/irc/irc-dcc.c:452 msgid "Sending DCC file to " msgstr "Envoi fichier DCC à " -#: src/irc/irc-dcc.c:423 +#: src/irc/irc-dcc.c:465 msgid "Incoming DCC chat request from " msgstr "Demande de discussion DCC reçue de " -#: src/irc/irc-dcc.c:434 +#: src/irc/irc-dcc.c:476 msgid "Sending DCC chat request to " msgstr "Envoi d'une demande discussion DCC à " -#: src/irc/irc-dcc.c:498 +#: src/irc/irc-dcc.c:540 #, c-format msgid "%s not enough memory for DCC SEND\n" msgstr "%s pas assez de mémoire pour le DCC SEND\n" -#: src/irc/irc-dcc.c:520 +#: src/irc/irc-dcc.c:562 #, c-format msgid "%s cannot access file \"%s\"\n" msgstr "%s impossible d'accéder au fichier \"%s\"\n" -#: src/irc/irc-dcc.c:541 +#: src/irc/irc-dcc.c:583 #, c-format msgid "%s cannot create socket for DCC\n" msgstr "%s impossible de créer la socket pour le DCC\n" -#: src/irc/irc-dcc.c:554 +#: src/irc/irc-dcc.c:596 #, c-format msgid "%s cannot find port for DCC\n" msgstr "%s impossible de trouver le port pour le DCC\n" -#: src/irc/irc-dcc.c:601 +#: src/irc/irc-dcc.c:643 #, c-format msgid "%s cannot send DCC\n" msgstr "%s impossible d'envoyer le DCC\n" -#: src/irc/irc-dcc.c:680 +#: src/irc/irc-dcc.c:722 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s erreur d'envoi de données à \"%s\" via DCC CHAT\n" -#: src/irc/irc-dcc.c:938 +#: src/irc/irc-dcc.c:982 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -1888,7 +1892,7 @@ msgstr "" "%s le DCC a échoué car la taille de bloc est trop grande. Vérifiez la valeur " "de l'option \"dcc_blocksize\", le maximum est %d.\n" -#: src/irc/irc-dcc.c:1011 +#: src/irc/irc-dcc.c:1056 #, c-format msgid "aborting active DCC: \"%s\" from %s\n" msgstr "abandon du DCC actif: \"%s\" de %s\n" @@ -1988,45 +1992,45 @@ msgstr "Mo" msgid "Gb" msgstr "Go" -#: src/gui/curses/gui-display.c:1078 +#: src/gui/curses/gui-display.c:1090 msgid "(away)" msgstr "(absent)" -#: src/gui/curses/gui-display.c:1191 +#: src/gui/curses/gui-display.c:1203 #, c-format msgid "%d:[not connected] " msgstr "%d:[non connecté] " -#: src/gui/curses/gui-display.c:1208 +#: src/gui/curses/gui-display.c:1220 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:1257 +#: src/gui/curses/gui-display.c:1269 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:1278 +#: src/gui/curses/gui-display.c:1290 msgid "-MORE-" msgstr "-PLUS-" -#: src/gui/curses/gui-display.c:1465 +#: src/gui/curses/gui-display.c:1477 msgid " [A] Accept" msgstr " [A] Accepter" -#: src/gui/curses/gui-display.c:1466 src/gui/curses/gui-display.c:1470 +#: src/gui/curses/gui-display.c:1478 src/gui/curses/gui-display.c:1482 msgid " [C] Cancel" msgstr " [C] Annuler" -#: src/gui/curses/gui-display.c:1475 +#: src/gui/curses/gui-display.c:1487 msgid " [R] Remove" msgstr " [R] Retirer" -#: src/gui/curses/gui-display.c:1479 +#: src/gui/curses/gui-display.c:1491 msgid " [P] Purge old DCC" msgstr " [P] Purger anciens DCC" -#: src/gui/curses/gui-display.c:1480 +#: src/gui/curses/gui-display.c:1492 msgid " [Q] Close DCC view" msgstr " [Q] Fermer la vue DCC" diff --git a/po/weechat.pot b/po/weechat.pot index 5d2a2fa57..1172f96b3 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: 2005-04-20 23:25+0200\n" +"POT-Creation-Date: 2005-04-28 20:31+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" @@ -1142,6 +1142,10 @@ msgstr "" msgid "can't change mode for other users" msgstr "" +#: src/irc/irc-commands.c:446 +msgid "whois (secure connection)" +msgstr "" + #: src/irc/irc-display.c:154 src/common/command.c:812 msgid "Server: " msgstr "" @@ -1442,7 +1446,7 @@ msgstr "" msgid "%s unknown DCC CHAT type received from " msgstr "" -#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:759 +#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:801 #, c-format msgid "Private %s> %s" msgstr "" @@ -1661,112 +1665,112 @@ msgstr "" msgid "Aborted" msgstr "" -#: src/irc/irc-dcc.c:158 +#: src/irc/irc-dcc.c:192 msgid "DCC: file " msgstr "" -#: src/irc/irc-dcc.c:163 src/irc/irc-dcc.c:414 +#: src/irc/irc-dcc.c:197 src/irc/irc-dcc.c:456 msgid " (local filename: " msgstr "" -#: src/irc/irc-dcc.c:169 +#: src/irc/irc-dcc.c:203 msgid ") sent to " msgstr "" -#: src/irc/irc-dcc.c:171 +#: src/irc/irc-dcc.c:205 msgid ") received from " msgstr "" -#: src/irc/irc-dcc.c:176 +#: src/irc/irc-dcc.c:210 msgid ": ok!\n" msgstr "" -#: src/irc/irc-dcc.c:188 +#: src/irc/irc-dcc.c:222 msgid "DCC chat closed with " msgstr "" -#: src/irc/irc-dcc.c:226 +#: src/irc/irc-dcc.c:263 #, c-format msgid "" "%s can't associate DCC chat with private buffer (maybe private buffer has " "already DCC CHAT?)\n" msgstr "" -#: src/irc/irc-dcc.c:236 +#: src/irc/irc-dcc.c:273 msgid "Connected to " msgstr "" -#: src/irc/irc-dcc.c:245 +#: src/irc/irc-dcc.c:282 msgid "via DCC chat\n" msgstr "" -#: src/irc/irc-dcc.c:355 +#: src/irc/irc-dcc.c:393 #, c-format msgid "%s not enough memory for new DCC\n" msgstr "" -#: src/irc/irc-dcc.c:373 +#: src/irc/irc-dcc.c:412 msgid "DCC chat" msgstr "" -#: src/irc/irc-dcc.c:394 +#: src/irc/irc-dcc.c:436 msgid "Incoming DCC file from " msgstr "" -#: src/irc/irc-dcc.c:405 src/irc/irc-dcc.c:418 +#: src/irc/irc-dcc.c:447 src/irc/irc-dcc.c:460 msgid " bytes\n" msgstr "" -#: src/irc/irc-dcc.c:410 +#: src/irc/irc-dcc.c:452 msgid "Sending DCC file to " msgstr "" -#: src/irc/irc-dcc.c:423 +#: src/irc/irc-dcc.c:465 msgid "Incoming DCC chat request from " msgstr "" -#: src/irc/irc-dcc.c:434 +#: src/irc/irc-dcc.c:476 msgid "Sending DCC chat request to " msgstr "" -#: src/irc/irc-dcc.c:498 +#: src/irc/irc-dcc.c:540 #, c-format msgid "%s not enough memory for DCC SEND\n" msgstr "" -#: src/irc/irc-dcc.c:520 +#: src/irc/irc-dcc.c:562 #, c-format msgid "%s cannot access file \"%s\"\n" msgstr "" -#: src/irc/irc-dcc.c:541 +#: src/irc/irc-dcc.c:583 #, c-format msgid "%s cannot create socket for DCC\n" msgstr "" -#: src/irc/irc-dcc.c:554 +#: src/irc/irc-dcc.c:596 #, c-format msgid "%s cannot find port for DCC\n" msgstr "" -#: src/irc/irc-dcc.c:601 +#: src/irc/irc-dcc.c:643 #, c-format msgid "%s cannot send DCC\n" msgstr "" -#: src/irc/irc-dcc.c:680 +#: src/irc/irc-dcc.c:722 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "" -#: src/irc/irc-dcc.c:938 +#: src/irc/irc-dcc.c:982 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " "option, max is %d.\n" msgstr "" -#: src/irc/irc-dcc.c:1011 +#: src/irc/irc-dcc.c:1056 #, c-format msgid "aborting active DCC: \"%s\" from %s\n" msgstr "" @@ -1860,45 +1864,45 @@ msgstr "" msgid "Gb" msgstr "" -#: src/gui/curses/gui-display.c:1078 +#: src/gui/curses/gui-display.c:1090 msgid "(away)" msgstr "" -#: src/gui/curses/gui-display.c:1191 +#: src/gui/curses/gui-display.c:1203 #, c-format msgid "%d:[not connected] " msgstr "" -#: src/gui/curses/gui-display.c:1208 +#: src/gui/curses/gui-display.c:1220 msgid "Act: " msgstr "" -#: src/gui/curses/gui-display.c:1257 +#: src/gui/curses/gui-display.c:1269 #, c-format msgid "Lag: %.1f" msgstr "" -#: src/gui/curses/gui-display.c:1278 +#: src/gui/curses/gui-display.c:1290 msgid "-MORE-" msgstr "" -#: src/gui/curses/gui-display.c:1465 +#: src/gui/curses/gui-display.c:1477 msgid " [A] Accept" msgstr "" -#: src/gui/curses/gui-display.c:1466 src/gui/curses/gui-display.c:1470 +#: src/gui/curses/gui-display.c:1478 src/gui/curses/gui-display.c:1482 msgid " [C] Cancel" msgstr "" -#: src/gui/curses/gui-display.c:1475 +#: src/gui/curses/gui-display.c:1487 msgid " [R] Remove" msgstr "" -#: src/gui/curses/gui-display.c:1479 +#: src/gui/curses/gui-display.c:1491 msgid " [P] Purge old DCC" msgstr "" -#: src/gui/curses/gui-display.c:1480 +#: src/gui/curses/gui-display.c:1492 msgid " [Q] Close DCC view" msgstr "" diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c index af048bff8..904a54e98 100644 --- a/src/irc/irc-commands.c +++ b/src/irc/irc-commands.c @@ -443,5 +443,6 @@ t_irc_command irc_commands[] = "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, { "502", N_("can't change mode for other users"), "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "671", N_("whois (secure connection)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_671 }, { NULL, NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL } }; diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index 9145e6ccb..8b7394366 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -3617,3 +3617,44 @@ irc_cmd_recv_438 (t_irc_server *server, char *host, char *arguments) return 0; } + +/* + * irc_cmd_recv_671: '671' command (whois, secure connection) + */ + +int +irc_cmd_recv_671 (t_irc_server *server, char *host, char *arguments) +{ + char *pos_nick, *pos_message; + + /* make gcc happy */ + (void) host; + + pos_nick = strchr (arguments, ' '); + if (pos_nick) + { + while (pos_nick[0] == ' ') + pos_nick++; + pos_message = strchr (pos_nick, ' '); + if (pos_message) + { + pos_message[0] = '\0'; + pos_message++; + while (pos_message[0] == ' ') + pos_message++; + if (pos_message[0] == ':') + pos_message++; + + irc_display_prefix (server->buffer, PREFIX_SERVER); + gui_printf_color (server->buffer, + COLOR_WIN_CHAT_DARK, "["); + gui_printf_color (server->buffer, + COLOR_WIN_CHAT_NICK, "%s", pos_nick); + gui_printf_color (server->buffer, + COLOR_WIN_CHAT_DARK, "] "); + gui_printf_color (server->buffer, + COLOR_WIN_CHAT, "%s\n", pos_message); + } + } + return 0; +} diff --git a/src/irc/irc.h b/src/irc/irc.h index 5a16ac9ab..73da3e2d0 100644 --- a/src/irc/irc.h +++ b/src/irc/irc.h @@ -429,5 +429,6 @@ extern int irc_cmd_recv_367 (t_irc_server *, char *, char *); extern int irc_cmd_recv_368 (t_irc_server *, char *, char *); extern int irc_cmd_recv_433 (t_irc_server *, char *, char *); extern int irc_cmd_recv_438 (t_irc_server *, char *, char *); +extern int irc_cmd_recv_671 (t_irc_server *, char *, char *); #endif /* irc.h */ diff --git a/weechat/ChangeLog b/weechat/ChangeLog index 0839122a4..b04cb5697 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,7 +1,7 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-04-23 +ChangeLog - 2005-04-28 Version 0.1.2 (under dev!): @@ -10,7 +10,7 @@ Version 0.1.2 (under dev!): * buffers timestamp can now be changed (new option in config file) * fixed crash when purging old DCC * fixed crash with 64-bits arch (like AMD64) when converting UTF-8 - * added missing IRC commands (307, 341, 485) + * added missing IRC commands (307, 341, 485, 671) Version 0.1.1 (2005-03-20): * added nicks count for channel buffers diff --git a/weechat/po/es.po b/weechat/po/es.po index 911b80dda..e7a516337 100644 --- a/weechat/po/es.po +++ b/weechat/po/es.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.2-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-04-20 23:25+0200\n" -"PO-Revision-Date: 2005-04-19 22:51+0200\n" +"POT-Creation-Date: 2005-04-28 20:31+0200\n" +"PO-Revision-Date: 2005-04-28 20:32+0200\n" "Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -1247,6 +1247,10 @@ msgstr "indicador de modo desconocido" msgid "can't change mode for other users" msgstr "no es posible cambiar el modo para el resto de usuarios" +#: src/irc/irc-commands.c:446 +msgid "whois (secure connection)" +msgstr "" + #: src/irc/irc-display.c:154 src/common/command.c:812 msgid "Server: " msgstr "Servidor: " @@ -1549,7 +1553,7 @@ msgstr "%s no es posible analizar el comando \"%s\"\n" msgid "%s unknown DCC CHAT type received from " msgstr "%s tipo DCC CHAT desconocido recibido de " -#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:759 +#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:801 #, c-format msgid "Private %s> %s" msgstr "Privado %s> %s" @@ -1777,31 +1781,31 @@ msgstr "Falló" msgid "Aborted" msgstr "Abortado" -#: src/irc/irc-dcc.c:158 +#: src/irc/irc-dcc.c:192 msgid "DCC: file " msgstr "DCC: fichero " -#: src/irc/irc-dcc.c:163 src/irc/irc-dcc.c:414 +#: src/irc/irc-dcc.c:197 src/irc/irc-dcc.c:456 msgid " (local filename: " msgstr " (nombre de fichero local: " -#: src/irc/irc-dcc.c:169 +#: src/irc/irc-dcc.c:203 msgid ") sent to " msgstr ") enviado a " -#: src/irc/irc-dcc.c:171 +#: src/irc/irc-dcc.c:205 msgid ") received from " msgstr ") recibido de " -#: src/irc/irc-dcc.c:176 +#: src/irc/irc-dcc.c:210 msgid ": ok!\n" msgstr ": ok!\n" -#: src/irc/irc-dcc.c:188 +#: src/irc/irc-dcc.c:222 msgid "DCC chat closed with " msgstr "DCC chat cerrada con " -#: src/irc/irc-dcc.c:226 +#: src/irc/irc-dcc.c:263 #, c-format msgid "" "%s can't associate DCC chat with private buffer (maybe private buffer has " @@ -1810,74 +1814,74 @@ msgstr "" "%s no se puede asociar la conversación DCC con el búfer privado (quizá el " "búfer privado ya tiene DCC CHAT)\n" -#: src/irc/irc-dcc.c:236 +#: src/irc/irc-dcc.c:273 msgid "Connected to " msgstr "Conectado al " -#: src/irc/irc-dcc.c:245 +#: src/irc/irc-dcc.c:282 msgid "via DCC chat\n" msgstr "con charla DCC\n" -#: src/irc/irc-dcc.c:355 +#: src/irc/irc-dcc.c:393 #, c-format msgid "%s not enough memory for new DCC\n" msgstr "%s no hay memoria suficiente para un nuevo DCC\n" -#: src/irc/irc-dcc.c:373 +#: src/irc/irc-dcc.c:412 msgid "DCC chat" msgstr "Charla DCC" -#: src/irc/irc-dcc.c:394 +#: src/irc/irc-dcc.c:436 msgid "Incoming DCC file from " msgstr "Recibir fichero DCC de " -#: src/irc/irc-dcc.c:405 src/irc/irc-dcc.c:418 +#: src/irc/irc-dcc.c:447 src/irc/irc-dcc.c:460 msgid " bytes\n" msgstr " bytes\n" -#: src/irc/irc-dcc.c:410 +#: src/irc/irc-dcc.c:452 msgid "Sending DCC file to " msgstr "Enviar fichero DCC a " -#: src/irc/irc-dcc.c:423 +#: src/irc/irc-dcc.c:465 msgid "Incoming DCC chat request from " msgstr "Recibir DCC chat de " -#: src/irc/irc-dcc.c:434 +#: src/irc/irc-dcc.c:476 msgid "Sending DCC chat request to " msgstr "Enviar DCC chat a " -#: src/irc/irc-dcc.c:498 +#: src/irc/irc-dcc.c:540 #, c-format msgid "%s not enough memory for DCC SEND\n" msgstr "%s no hay memoria suficiente para el DCC SEND\n" -#: src/irc/irc-dcc.c:520 +#: src/irc/irc-dcc.c:562 #, c-format msgid "%s cannot access file \"%s\"\n" msgstr "%s no es posible acceder al fichero \"%s\"\n" -#: src/irc/irc-dcc.c:541 +#: src/irc/irc-dcc.c:583 #, c-format msgid "%s cannot create socket for DCC\n" msgstr "%s no es posible crear socket para el DCC\n" -#: src/irc/irc-dcc.c:554 +#: src/irc/irc-dcc.c:596 #, c-format msgid "%s cannot find port for DCC\n" msgstr "%s no es posible encontrar el puerto para el DCC\n" -#: src/irc/irc-dcc.c:601 +#: src/irc/irc-dcc.c:643 #, c-format msgid "%s cannot send DCC\n" msgstr "%s no es posible enviar el DCC\n" -#: src/irc/irc-dcc.c:680 +#: src/irc/irc-dcc.c:722 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s error enviando datos al \"%s\" con DCC CHAT\n" -#: src/irc/irc-dcc.c:938 +#: src/irc/irc-dcc.c:982 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -1886,7 +1890,7 @@ msgstr "" "%s El DCC ha fallado porque el tamaño de bloque es demasiado grande. " "Compruebe el valor de la opción \"dcc_blocksize\", el máximo es %d.\n" -#: src/irc/irc-dcc.c:1011 +#: src/irc/irc-dcc.c:1056 #, c-format msgid "aborting active DCC: \"%s\" from %s\n" msgstr "abandonar el DCC activo: \"%s\" de %s\n" @@ -1989,45 +1993,45 @@ msgstr "MB" msgid "Gb" msgstr "GB" -#: src/gui/curses/gui-display.c:1078 +#: src/gui/curses/gui-display.c:1090 msgid "(away)" msgstr "(ausente)" -#: src/gui/curses/gui-display.c:1191 +#: src/gui/curses/gui-display.c:1203 #, c-format msgid "%d:[not connected] " msgstr "%d:[no conectado] " -#: src/gui/curses/gui-display.c:1208 +#: src/gui/curses/gui-display.c:1220 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:1257 +#: src/gui/curses/gui-display.c:1269 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:1278 +#: src/gui/curses/gui-display.c:1290 msgid "-MORE-" msgstr "-MÁS-" -#: src/gui/curses/gui-display.c:1465 +#: src/gui/curses/gui-display.c:1477 msgid " [A] Accept" msgstr " [A] Aceptar" -#: src/gui/curses/gui-display.c:1466 src/gui/curses/gui-display.c:1470 +#: src/gui/curses/gui-display.c:1478 src/gui/curses/gui-display.c:1482 msgid " [C] Cancel" msgstr " [C] Cancelar" -#: src/gui/curses/gui-display.c:1475 +#: src/gui/curses/gui-display.c:1487 msgid " [R] Remove" msgstr " [R] Eliminar" -#: src/gui/curses/gui-display.c:1479 +#: src/gui/curses/gui-display.c:1491 msgid " [P] Purge old DCC" msgstr " [P] Purgar los viejos DCC" -#: src/gui/curses/gui-display.c:1480 +#: src/gui/curses/gui-display.c:1492 msgid " [Q] Close DCC view" msgstr " [Q] Cerrar la vista DCC" diff --git a/weechat/po/fr.po b/weechat/po/fr.po index 348ec3bd5..a1b26eae6 100644 --- a/weechat/po/fr.po +++ b/weechat/po/fr.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.1.2-cvs\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-04-20 23:25+0200\n" -"PO-Revision-Date: 2005-04-20 23:26+0200\n" +"POT-Creation-Date: 2005-04-28 20:31+0200\n" +"PO-Revision-Date: 2005-04-28 20:32+0200\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -1248,6 +1248,10 @@ msgstr "drapeau de mode inconnu" msgid "can't change mode for other users" msgstr "impossible de changer le mode pour les autres utilisateurs" +#: src/irc/irc-commands.c:446 +msgid "whois (secure connection)" +msgstr "qui est (connexion sécurisée)" + #: src/irc/irc-display.c:154 src/common/command.c:812 msgid "Server: " msgstr "Serveur: " @@ -1551,7 +1555,7 @@ msgstr "%s impossible d'analyser la commande \"%s\"\n" msgid "%s unknown DCC CHAT type received from " msgstr "%s type de DCC CHAT inconnu reçu de " -#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:759 +#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:801 #, c-format msgid "Private %s> %s" msgstr "Prive %s> %s" @@ -1779,31 +1783,31 @@ msgstr "Echoué" msgid "Aborted" msgstr "Interrompu" -#: src/irc/irc-dcc.c:158 +#: src/irc/irc-dcc.c:192 msgid "DCC: file " msgstr "DCC: fichier " -#: src/irc/irc-dcc.c:163 src/irc/irc-dcc.c:414 +#: src/irc/irc-dcc.c:197 src/irc/irc-dcc.c:456 msgid " (local filename: " msgstr " (nom local: " -#: src/irc/irc-dcc.c:169 +#: src/irc/irc-dcc.c:203 msgid ") sent to " msgstr ") envoyé à " -#: src/irc/irc-dcc.c:171 +#: src/irc/irc-dcc.c:205 msgid ") received from " msgstr ") reçu de " -#: src/irc/irc-dcc.c:176 +#: src/irc/irc-dcc.c:210 msgid ": ok!\n" msgstr ": ok!\n" -#: src/irc/irc-dcc.c:188 +#: src/irc/irc-dcc.c:222 msgid "DCC chat closed with " msgstr "Discussion DCC fermée avec " -#: src/irc/irc-dcc.c:226 +#: src/irc/irc-dcc.c:263 #, c-format msgid "" "%s can't associate DCC chat with private buffer (maybe private buffer has " @@ -1812,74 +1816,74 @@ msgstr "" "%s impossible d'associer la discussion DCC avec un tampon privé (le tampon " "privé a peut-être déjà un DCC CHAT ?)\n" -#: src/irc/irc-dcc.c:236 +#: src/irc/irc-dcc.c:273 msgid "Connected to " msgstr "Connecté à " -#: src/irc/irc-dcc.c:245 +#: src/irc/irc-dcc.c:282 msgid "via DCC chat\n" msgstr "via une discussion DCC\n" -#: src/irc/irc-dcc.c:355 +#: src/irc/irc-dcc.c:393 #, c-format msgid "%s not enough memory for new DCC\n" msgstr "%s pas assez de mémoire pour un nouveau DCC\n" -#: src/irc/irc-dcc.c:373 +#: src/irc/irc-dcc.c:412 msgid "DCC chat" msgstr "Discussion DCC" -#: src/irc/irc-dcc.c:394 +#: src/irc/irc-dcc.c:436 msgid "Incoming DCC file from " msgstr "Réception fichier DCC de " -#: src/irc/irc-dcc.c:405 src/irc/irc-dcc.c:418 +#: src/irc/irc-dcc.c:447 src/irc/irc-dcc.c:460 msgid " bytes\n" msgstr " octets\n" -#: src/irc/irc-dcc.c:410 +#: src/irc/irc-dcc.c:452 msgid "Sending DCC file to " msgstr "Envoi fichier DCC à " -#: src/irc/irc-dcc.c:423 +#: src/irc/irc-dcc.c:465 msgid "Incoming DCC chat request from " msgstr "Demande de discussion DCC reçue de " -#: src/irc/irc-dcc.c:434 +#: src/irc/irc-dcc.c:476 msgid "Sending DCC chat request to " msgstr "Envoi d'une demande discussion DCC à " -#: src/irc/irc-dcc.c:498 +#: src/irc/irc-dcc.c:540 #, c-format msgid "%s not enough memory for DCC SEND\n" msgstr "%s pas assez de mémoire pour le DCC SEND\n" -#: src/irc/irc-dcc.c:520 +#: src/irc/irc-dcc.c:562 #, c-format msgid "%s cannot access file \"%s\"\n" msgstr "%s impossible d'accéder au fichier \"%s\"\n" -#: src/irc/irc-dcc.c:541 +#: src/irc/irc-dcc.c:583 #, c-format msgid "%s cannot create socket for DCC\n" msgstr "%s impossible de créer la socket pour le DCC\n" -#: src/irc/irc-dcc.c:554 +#: src/irc/irc-dcc.c:596 #, c-format msgid "%s cannot find port for DCC\n" msgstr "%s impossible de trouver le port pour le DCC\n" -#: src/irc/irc-dcc.c:601 +#: src/irc/irc-dcc.c:643 #, c-format msgid "%s cannot send DCC\n" msgstr "%s impossible d'envoyer le DCC\n" -#: src/irc/irc-dcc.c:680 +#: src/irc/irc-dcc.c:722 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "%s erreur d'envoi de données à \"%s\" via DCC CHAT\n" -#: src/irc/irc-dcc.c:938 +#: src/irc/irc-dcc.c:982 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " @@ -1888,7 +1892,7 @@ msgstr "" "%s le DCC a échoué car la taille de bloc est trop grande. Vérifiez la valeur " "de l'option \"dcc_blocksize\", le maximum est %d.\n" -#: src/irc/irc-dcc.c:1011 +#: src/irc/irc-dcc.c:1056 #, c-format msgid "aborting active DCC: \"%s\" from %s\n" msgstr "abandon du DCC actif: \"%s\" de %s\n" @@ -1988,45 +1992,45 @@ msgstr "Mo" msgid "Gb" msgstr "Go" -#: src/gui/curses/gui-display.c:1078 +#: src/gui/curses/gui-display.c:1090 msgid "(away)" msgstr "(absent)" -#: src/gui/curses/gui-display.c:1191 +#: src/gui/curses/gui-display.c:1203 #, c-format msgid "%d:[not connected] " msgstr "%d:[non connecté] " -#: src/gui/curses/gui-display.c:1208 +#: src/gui/curses/gui-display.c:1220 msgid "Act: " msgstr "Act: " -#: src/gui/curses/gui-display.c:1257 +#: src/gui/curses/gui-display.c:1269 #, c-format msgid "Lag: %.1f" msgstr "Lag: %.1f" -#: src/gui/curses/gui-display.c:1278 +#: src/gui/curses/gui-display.c:1290 msgid "-MORE-" msgstr "-PLUS-" -#: src/gui/curses/gui-display.c:1465 +#: src/gui/curses/gui-display.c:1477 msgid " [A] Accept" msgstr " [A] Accepter" -#: src/gui/curses/gui-display.c:1466 src/gui/curses/gui-display.c:1470 +#: src/gui/curses/gui-display.c:1478 src/gui/curses/gui-display.c:1482 msgid " [C] Cancel" msgstr " [C] Annuler" -#: src/gui/curses/gui-display.c:1475 +#: src/gui/curses/gui-display.c:1487 msgid " [R] Remove" msgstr " [R] Retirer" -#: src/gui/curses/gui-display.c:1479 +#: src/gui/curses/gui-display.c:1491 msgid " [P] Purge old DCC" msgstr " [P] Purger anciens DCC" -#: src/gui/curses/gui-display.c:1480 +#: src/gui/curses/gui-display.c:1492 msgid " [Q] Close DCC view" msgstr " [Q] Fermer la vue DCC" diff --git a/weechat/po/weechat.pot b/weechat/po/weechat.pot index 5d2a2fa57..1172f96b3 100644 --- a/weechat/po/weechat.pot +++ b/weechat/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: 2005-04-20 23:25+0200\n" +"POT-Creation-Date: 2005-04-28 20:31+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" @@ -1142,6 +1142,10 @@ msgstr "" msgid "can't change mode for other users" msgstr "" +#: src/irc/irc-commands.c:446 +msgid "whois (secure connection)" +msgstr "" + #: src/irc/irc-display.c:154 src/common/command.c:812 msgid "Server: " msgstr "" @@ -1442,7 +1446,7 @@ msgstr "" msgid "%s unknown DCC CHAT type received from " msgstr "" -#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:759 +#: src/irc/irc-recv.c:1496 src/irc/irc-dcc.c:801 #, c-format msgid "Private %s> %s" msgstr "" @@ -1661,112 +1665,112 @@ msgstr "" msgid "Aborted" msgstr "" -#: src/irc/irc-dcc.c:158 +#: src/irc/irc-dcc.c:192 msgid "DCC: file " msgstr "" -#: src/irc/irc-dcc.c:163 src/irc/irc-dcc.c:414 +#: src/irc/irc-dcc.c:197 src/irc/irc-dcc.c:456 msgid " (local filename: " msgstr "" -#: src/irc/irc-dcc.c:169 +#: src/irc/irc-dcc.c:203 msgid ") sent to " msgstr "" -#: src/irc/irc-dcc.c:171 +#: src/irc/irc-dcc.c:205 msgid ") received from " msgstr "" -#: src/irc/irc-dcc.c:176 +#: src/irc/irc-dcc.c:210 msgid ": ok!\n" msgstr "" -#: src/irc/irc-dcc.c:188 +#: src/irc/irc-dcc.c:222 msgid "DCC chat closed with " msgstr "" -#: src/irc/irc-dcc.c:226 +#: src/irc/irc-dcc.c:263 #, c-format msgid "" "%s can't associate DCC chat with private buffer (maybe private buffer has " "already DCC CHAT?)\n" msgstr "" -#: src/irc/irc-dcc.c:236 +#: src/irc/irc-dcc.c:273 msgid "Connected to " msgstr "" -#: src/irc/irc-dcc.c:245 +#: src/irc/irc-dcc.c:282 msgid "via DCC chat\n" msgstr "" -#: src/irc/irc-dcc.c:355 +#: src/irc/irc-dcc.c:393 #, c-format msgid "%s not enough memory for new DCC\n" msgstr "" -#: src/irc/irc-dcc.c:373 +#: src/irc/irc-dcc.c:412 msgid "DCC chat" msgstr "" -#: src/irc/irc-dcc.c:394 +#: src/irc/irc-dcc.c:436 msgid "Incoming DCC file from " msgstr "" -#: src/irc/irc-dcc.c:405 src/irc/irc-dcc.c:418 +#: src/irc/irc-dcc.c:447 src/irc/irc-dcc.c:460 msgid " bytes\n" msgstr "" -#: src/irc/irc-dcc.c:410 +#: src/irc/irc-dcc.c:452 msgid "Sending DCC file to " msgstr "" -#: src/irc/irc-dcc.c:423 +#: src/irc/irc-dcc.c:465 msgid "Incoming DCC chat request from " msgstr "" -#: src/irc/irc-dcc.c:434 +#: src/irc/irc-dcc.c:476 msgid "Sending DCC chat request to " msgstr "" -#: src/irc/irc-dcc.c:498 +#: src/irc/irc-dcc.c:540 #, c-format msgid "%s not enough memory for DCC SEND\n" msgstr "" -#: src/irc/irc-dcc.c:520 +#: src/irc/irc-dcc.c:562 #, c-format msgid "%s cannot access file \"%s\"\n" msgstr "" -#: src/irc/irc-dcc.c:541 +#: src/irc/irc-dcc.c:583 #, c-format msgid "%s cannot create socket for DCC\n" msgstr "" -#: src/irc/irc-dcc.c:554 +#: src/irc/irc-dcc.c:596 #, c-format msgid "%s cannot find port for DCC\n" msgstr "" -#: src/irc/irc-dcc.c:601 +#: src/irc/irc-dcc.c:643 #, c-format msgid "%s cannot send DCC\n" msgstr "" -#: src/irc/irc-dcc.c:680 +#: src/irc/irc-dcc.c:722 #, c-format msgid "%s error sending data to \"%s\" via DCC CHAT\n" msgstr "" -#: src/irc/irc-dcc.c:938 +#: src/irc/irc-dcc.c:982 #, c-format msgid "" "%s DCC failed because blocksize is too big. Check value of \"dcc_blocksize\" " "option, max is %d.\n" msgstr "" -#: src/irc/irc-dcc.c:1011 +#: src/irc/irc-dcc.c:1056 #, c-format msgid "aborting active DCC: \"%s\" from %s\n" msgstr "" @@ -1860,45 +1864,45 @@ msgstr "" msgid "Gb" msgstr "" -#: src/gui/curses/gui-display.c:1078 +#: src/gui/curses/gui-display.c:1090 msgid "(away)" msgstr "" -#: src/gui/curses/gui-display.c:1191 +#: src/gui/curses/gui-display.c:1203 #, c-format msgid "%d:[not connected] " msgstr "" -#: src/gui/curses/gui-display.c:1208 +#: src/gui/curses/gui-display.c:1220 msgid "Act: " msgstr "" -#: src/gui/curses/gui-display.c:1257 +#: src/gui/curses/gui-display.c:1269 #, c-format msgid "Lag: %.1f" msgstr "" -#: src/gui/curses/gui-display.c:1278 +#: src/gui/curses/gui-display.c:1290 msgid "-MORE-" msgstr "" -#: src/gui/curses/gui-display.c:1465 +#: src/gui/curses/gui-display.c:1477 msgid " [A] Accept" msgstr "" -#: src/gui/curses/gui-display.c:1466 src/gui/curses/gui-display.c:1470 +#: src/gui/curses/gui-display.c:1478 src/gui/curses/gui-display.c:1482 msgid " [C] Cancel" msgstr "" -#: src/gui/curses/gui-display.c:1475 +#: src/gui/curses/gui-display.c:1487 msgid " [R] Remove" msgstr "" -#: src/gui/curses/gui-display.c:1479 +#: src/gui/curses/gui-display.c:1491 msgid " [P] Purge old DCC" msgstr "" -#: src/gui/curses/gui-display.c:1480 +#: src/gui/curses/gui-display.c:1492 msgid " [Q] Close DCC view" msgstr "" diff --git a/weechat/src/irc/irc-commands.c b/weechat/src/irc/irc-commands.c index af048bff8..904a54e98 100644 --- a/weechat/src/irc/irc-commands.c +++ b/weechat/src/irc/irc-commands.c @@ -443,5 +443,6 @@ t_irc_command irc_commands[] = "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, { "502", N_("can't change mode for other users"), "", "", 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error }, + { "671", N_("whois (secure connection)"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_671 }, { NULL, NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL } }; diff --git a/weechat/src/irc/irc-recv.c b/weechat/src/irc/irc-recv.c index 9145e6ccb..8b7394366 100644 --- a/weechat/src/irc/irc-recv.c +++ b/weechat/src/irc/irc-recv.c @@ -3617,3 +3617,44 @@ irc_cmd_recv_438 (t_irc_server *server, char *host, char *arguments) return 0; } + +/* + * irc_cmd_recv_671: '671' command (whois, secure connection) + */ + +int +irc_cmd_recv_671 (t_irc_server *server, char *host, char *arguments) +{ + char *pos_nick, *pos_message; + + /* make gcc happy */ + (void) host; + + pos_nick = strchr (arguments, ' '); + if (pos_nick) + { + while (pos_nick[0] == ' ') + pos_nick++; + pos_message = strchr (pos_nick, ' '); + if (pos_message) + { + pos_message[0] = '\0'; + pos_message++; + while (pos_message[0] == ' ') + pos_message++; + if (pos_message[0] == ':') + pos_message++; + + irc_display_prefix (server->buffer, PREFIX_SERVER); + gui_printf_color (server->buffer, + COLOR_WIN_CHAT_DARK, "["); + gui_printf_color (server->buffer, + COLOR_WIN_CHAT_NICK, "%s", pos_nick); + gui_printf_color (server->buffer, + COLOR_WIN_CHAT_DARK, "] "); + gui_printf_color (server->buffer, + COLOR_WIN_CHAT, "%s\n", pos_message); + } + } + return 0; +} diff --git a/weechat/src/irc/irc.h b/weechat/src/irc/irc.h index 5a16ac9ab..73da3e2d0 100644 --- a/weechat/src/irc/irc.h +++ b/weechat/src/irc/irc.h @@ -429,5 +429,6 @@ extern int irc_cmd_recv_367 (t_irc_server *, char *, char *); extern int irc_cmd_recv_368 (t_irc_server *, char *, char *); extern int irc_cmd_recv_433 (t_irc_server *, char *, char *); extern int irc_cmd_recv_438 (t_irc_server *, char *, char *); +extern int irc_cmd_recv_671 (t_irc_server *, char *, char *); #endif /* irc.h */ |