From e6a3d087042b72e66529ca8a16702df890b899fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 16 May 2021 09:52:07 +0200 Subject: buflist, irc, xfer: do not translate "cleartext" in buffer local variable "tls_version" (issue #1622) The text "cleartext" is translated for display only: directly with gettext in IRC plugin and with "${translate:${tls_version}}" in the buflist evaluated format. --- src/plugins/xfer/xfer-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/xfer/xfer-chat.c') diff --git a/src/plugins/xfer/xfer-chat.c b/src/plugins/xfer/xfer-chat.c index 070ee0712..f303b9cd5 100644 --- a/src/plugins/xfer/xfer-chat.c +++ b/src/plugins/xfer/xfer-chat.c @@ -391,7 +391,7 @@ xfer_chat_open_buffer (struct t_xfer *xfer) weechat_buffer_set (xfer->buffer, "localvar_set_type", "private"); weechat_buffer_set (xfer->buffer, "localvar_set_nick", xfer->local_nick); weechat_buffer_set (xfer->buffer, "localvar_set_channel", xfer->remote_nick); - weechat_buffer_set (xfer->buffer, "localvar_set_tls_version", _("cleartext")); + weechat_buffer_set (xfer->buffer, "localvar_set_tls_version", "cleartext"); weechat_buffer_set (xfer->buffer, "highlight_words_add", "$nick"); } -- cgit v1.2.3