mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
core: update translations
This commit is contained in:
@@ -1583,10 +1583,11 @@ irc_config_server_new_option (struct t_config_file *config_file,
|
||||
new_option = weechat_config_new_option (
|
||||
config_file, section,
|
||||
option_name, "string",
|
||||
N_("SHA1 fingerprint of certificate accepted from server (it "
|
||||
"must be exactly 40 hexadecimal digits without separators); "
|
||||
"if this option is set, the other checks on certificates are "
|
||||
"NOT performed (option \"ssl_verify\")"),
|
||||
N_("SHA1 fingerprint of certificate which is trusted and "
|
||||
"accepted for the server (it must be exactly 40 hexadecimal "
|
||||
"digits without separators); if this option is set, the "
|
||||
"other checks on certificates are NOT performed (option "
|
||||
"\"ssl_verify\")"),
|
||||
NULL, 0, 0,
|
||||
default_value, value,
|
||||
null_value_allowed,
|
||||
|
||||
@@ -3755,14 +3755,17 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
|
||||
if (fingerprint_match)
|
||||
{
|
||||
weechat_printf (server->buffer,
|
||||
_("%sgnutls: fingerprint matches"),
|
||||
_("%sgnutls: certificate fingerprint "
|
||||
"matches"),
|
||||
weechat_prefix ("network"));
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat_printf (server->buffer,
|
||||
_("%sgnutls: fingerprint does NOT match"),
|
||||
weechat_prefix ("error"));
|
||||
_("%sgnutls: certificate fingerprint does "
|
||||
"NOT match (check value of option "
|
||||
"irc.server.%s.ssl_fingerprint)"),
|
||||
weechat_prefix ("error"), server->name);
|
||||
rc = -1;
|
||||
}
|
||||
goto end;
|
||||
|
||||
Reference in New Issue
Block a user