From e058d75ce3555a1525c15ef3b477e220506c807d Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 2 Jan 2014 15:21:42 +0100 Subject: xfer: add "network" prefix for (dis)connection messages in xfer chat buffer --- src/plugins/xfer/xfer-chat.c | 5 +++-- src/plugins/xfer/xfer.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/plugins/xfer') diff --git a/src/plugins/xfer/xfer-chat.c b/src/plugins/xfer/xfer-chat.c index 99a201c71..cf9b5202b 100644 --- a/src/plugins/xfer/xfer-chat.c +++ b/src/plugins/xfer/xfer-chat.c @@ -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, diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c index 095cabff1..2db2cdafd 100644 --- a/src/plugins/xfer/xfer.c +++ b/src/plugins/xfer/xfer.c @@ -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, -- cgit v1.2.3