tls add locale for tls.probe_done

This commit is contained in:
nworbnhoj 2023-07-04 17:09:44 +10:00
parent 4e0298c17a
commit 0725187cee
2 changed files with 5 additions and 1 deletions

View file

@ -43,6 +43,10 @@
"en": "failed to create sever name from",
"en-tts": "failed to create sever name from"
},
"tls.probe_done": {
"en": "trusted CA's",
"en-tts": "trusted CA's"
},
"tls.test_cmd": {
"en": "make tls connection to host",
"en-tts": "make tls connection to host"

View file

@ -116,7 +116,7 @@ pub fn shellchat<'a>(
Some(certificates) => {
let tls = Tls::new();
let count = tls.check_trust(certificates);
write!(ret, "trusted {count} certificates").ok();
write!(ret, "{} {}", count, t!("tls.probe_done", locales::LANG)).ok();
}
None => (),
};