Skip to main content

tr

Function tr 

Source
pub fn tr(lang: Lang, key: &str) -> String
Expand description

The text of a catalog key. A key missing from the language falls back to en-US and then to the key itself: it never breaks the screen (the parity test catches it before the release).