diff --git a/po/cs.po b/po/cs.po index 713d5d5c4..c833c6d7f 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: 2009-02-22 22:43+0100\n" +"POT-Creation-Date: 2009-02-24 15:00+0100\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -3647,7 +3647,7 @@ msgid "%s%s: you are not connected to server" msgstr "%s nepřipojen k serveru\n" #, fuzzy, c-format -msgid "%s: this buffer is not a channel!" +msgid "%s%s: this buffer is not a channel!" msgstr "Tohe není okno kanálu!\n" #, fuzzy, c-format diff --git a/po/de.po b/po/de.po index cf47aa8b5..d33b7d21f 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: 2009-02-22 22:43+0100\n" +"POT-Creation-Date: 2009-02-24 15:00+0100\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Thomas Schuetz \n" "Language-Team: weechat-dev \n" @@ -3630,7 +3630,7 @@ msgid "%s%s: you are not connected to server" msgstr "%s keine Verbindung zum Server \"%s\"!\n" #, fuzzy, c-format -msgid "%s: this buffer is not a channel!" +msgid "%s%s: this buffer is not a channel!" msgstr "Dieses Fenster ist kein Channel!\n" #, fuzzy, c-format diff --git a/po/es.po b/po/es.po index b4d9b298e..ba80a2fe4 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: 2009-02-22 22:43+0100\n" +"POT-Creation-Date: 2009-02-24 15:00+0100\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Roberto González Cardenete \n" "Language-Team: weechat-dev \n" @@ -3618,7 +3618,7 @@ msgid "%s%s: you are not connected to server" msgstr "%s ¡no conectado al servidor \"%s\"!\n" #, fuzzy, c-format -msgid "%s: this buffer is not a channel!" +msgid "%s%s: this buffer is not a channel!" msgstr "¡Esta ventana no es un canal!\n" #, fuzzy, c-format diff --git a/po/fr.po b/po/fr.po index fcc4ad219..b600dd12f 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: 2009-02-22 22:43+0100\n" -"PO-Revision-Date: 2009-02-22 22:43+0100\n" +"POT-Creation-Date: 2009-02-24 15:00+0100\n" +"PO-Revision-Date: 2009-02-24 15:02+0100\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -3748,8 +3748,8 @@ msgid "%s%s: you are not connected to server" msgstr "%s%s: vous n'êtes pas connecté au serveur" #, c-format -msgid "%s: this buffer is not a channel!" -msgstr "%s: ce tampon n'est pas un canal !" +msgid "%s%s: this buffer is not a channel!" +msgstr "%s%s: ce tampon n'est pas un canal !" #, c-format msgid "%sYou have been invited to %s%s%s by %s%s" diff --git a/po/hu.po b/po/hu.po index 7c8324015..8de562eec 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: 2009-02-22 22:43+0100\n" +"POT-Creation-Date: 2009-02-24 15:00+0100\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -3658,7 +3658,7 @@ msgid "%s%s: you are not connected to server" msgstr "%s nincs csatlakozva szerverhez!\n" #, fuzzy, c-format -msgid "%s: this buffer is not a channel!" +msgid "%s%s: this buffer is not a channel!" msgstr "Ez az ablak nem egy szoba!\n" #, fuzzy, c-format diff --git a/po/ru.po b/po/ru.po index cb2f62b29..f22fd16f6 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: 2009-02-22 22:43+0100\n" +"POT-Creation-Date: 2009-02-24 15:00+0100\n" "PO-Revision-Date: 2009-01-03 00:42+0100\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -3651,7 +3651,7 @@ msgid "%s%s: you are not connected to server" msgstr "%s вы не подключены к серверу\n" #, fuzzy, c-format -msgid "%s: this buffer is not a channel!" +msgid "%s%s: this buffer is not a channel!" msgstr "Это окно не является каналом!\n" #, fuzzy, c-format diff --git a/po/weechat.pot b/po/weechat.pot index d78416eb6..c3ada1f41 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: 2009-02-22 22:43+0100\n" +"POT-Creation-Date: 2009-02-24 15:00+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -3103,7 +3103,7 @@ msgid "%s%s: you are not connected to server" msgstr "" #, c-format -msgid "%s: this buffer is not a channel!" +msgid "%s%s: this buffer is not a channel!" msgstr "" #, c-format diff --git a/src/plugins/irc/irc-input.c b/src/plugins/irc/irc-input.c index 04326c170..b81f7b00a 100644 --- a/src/plugins/irc/irc-input.c +++ b/src/plugins/irc/irc-input.c @@ -181,8 +181,8 @@ irc_input_data_cb (void *data, struct t_gui_buffer *buffer, else { weechat_printf (buffer, - _("%s: this buffer is not a channel!"), - IRC_PLUGIN_NAME); + _("%s%s: this buffer is not a channel!"), + weechat_prefix ("error"), IRC_PLUGIN_NAME); } return WEECHAT_RC_OK; diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c index 73becceaa..112d9608a 100644 --- a/src/plugins/irc/irc-server.c +++ b/src/plugins/irc/irc-server.c @@ -45,6 +45,7 @@ #include "irc-command.h" #include "irc-config.h" #include "irc-debug.h" +#include "irc-input.h" #include "irc-nick.h" #include "irc-protocol.h" @@ -1998,7 +1999,7 @@ irc_server_create_buffer (struct t_irc_server *server, int all_servers) "server.%s", server->name); } server->buffer = weechat_buffer_new (buffer_name, - NULL, NULL, + &irc_input_data_cb, NULL, &irc_buffer_close_cb, NULL); if (!server->buffer) return NULL; @@ -2021,6 +2022,9 @@ irc_server_create_buffer (struct t_irc_server *server, int all_servers) weechat_hook_signal_send ("logger_backlog", WEECHAT_HOOK_SIGNAL_POINTER, server->buffer); + if (weechat_config_boolean (irc_config_network_send_unknown_commands)) + weechat_buffer_set (server->buffer, "input_get_unknown_commands", "1"); + /* set highlights settings on server buffer */ if (server->nick) weechat_buffer_set (server->buffer, "highlight_words", server->nick);