1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

xfer: add "network" prefix for (dis)connection messages in xfer chat buffer

This commit is contained in:
Sebastien Helleu
2014-01-02 15:21:42 +01:00
parent 5668e2ab12
commit e058d75ce3
14 changed files with 106 additions and 65 deletions
+3 -2
View File
@@ -372,8 +372,9 @@ xfer_chat_open_buffer (struct t_xfer *xfer)
}
weechat_printf (xfer->buffer,
_("Connected to %s (%ld.%ld.%ld.%ld) via "
"xfer chat"),
_("%s%s: connected to %s (%ld.%ld.%ld.%ld)"),
weechat_prefix ("network"),
XFER_PLUGIN_NAME,
xfer->remote_nick,
xfer->remote_address >> 24,
(xfer->remote_address >> 16) & 0xff,
+2 -1
View File
@@ -313,8 +313,9 @@ xfer_close (struct t_xfer *xfer, enum t_xfer_status status)
if (XFER_IS_CHAT(xfer->type))
{
weechat_printf (xfer->buffer,
_("%s: chat closed with %s "
_("%s%s: chat closed with %s "
"(%ld.%ld.%ld.%ld)"),
weechat_prefix ("network"),
XFER_PLUGIN_NAME,
xfer->remote_nick,
xfer->remote_address >> 24,