Skip to main content

t

Function t 

Source
pub fn t(key: &str) -> String
Expand description

Resolve key in the current locale (no args): the one-shot form the framework’s own strings use (dialog buttons, menu-role labels), which are resolved once at present/build time. The key is always a generated name, t(key::day_cancel), never a string literal.