pub fn t(msg: Message) -> StringExpand description
Returns the message string in the current global language.
Usa o estado global inicializado por initialize_language.
In tests, prefer Message::text(language) for determinism.
ยงExamples
use ssh_cli::i18n::{t, initialize_language, Message};
initialize_language(Some("en"), None).unwrap();
let text = t(Message::VpsRegistryEmpty);
assert!(!text.is_empty());Takes Message by value: call sites construct ephemeral messages with
owned payloads; consuming them is intentional (not a needless copy).