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/buflist/buflist-config.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/buflist/buflist-config.c')
-rw-r--r-- | src/plugins/buflist/buflist-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c index 46ebf0bad..da815c7c7 100644 --- a/src/plugins/buflist/buflist-config.c +++ b/src/plugins/buflist/buflist-config.c @@ -782,7 +782,7 @@ buflist_config_init () NULL, 0, 0, " ${color:default}(${if:${tls_version}==TLS1.3?${color:green}:" "${if:${tls_version}==TLS1.2?${color:yellow}:${color:red}}}" - "${tls_version}${color:default})", + "${translate:${tls_version}}${color:default})", NULL, 0, NULL, NULL, NULL, &buflist_config_change_buflist, NULL, NULL, |