diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-16 09:52:07 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-16 10:01:07 +0200 |
commit | e6a3d087042b72e66529ca8a16702df890b899fc (patch) | |
tree | 1259be6003d1d0e6124f6d8a5ceae43158f79cb7 /src/plugins/xfer/xfer-chat.c | |
parent | 5bce484c018760188fc9c18cc17553135dc4dfd8 (diff) | |
download | weechat-e6a3d087042b72e66529ca8a16702df890b899fc.zip |
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.
Diffstat (limited to 'src/plugins/xfer/xfer-chat.c')
-rw-r--r-- | src/plugins/xfer/xfer-chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |