diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-02 15:21:42 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-01-02 15:21:42 +0100 |
commit | e058d75ce3555a1525c15ef3b477e220506c807d (patch) | |
tree | 55b0afb2a44bd53df0b27b49d83170e918999f81 /src | |
parent | 5668e2ab1228e5e9fea430a2e855287dfad095bf (diff) | |
download | weechat-e058d75ce3555a1525c15ef3b477e220506c807d.zip |
xfer: add "network" prefix for (dis)connection messages in xfer chat buffer
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/xfer/xfer-chat.c | 5 | ||||
-rw-r--r-- | src/plugins/xfer/xfer.c | 3 |
2 files changed, 5 insertions, 3 deletions
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, |