Skip to main content

translate

Function translate 

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

Resolve key, falling back to the key itself. This is what a script’s t("key") returns.