Skip to main content

translations

Function translations 

Source
pub fn translations(lang: &str, machine: &MachineEntry) -> Translations
Expand description

Everything core, components and machine name, in one language, and every registered machine’s own name (for lists of machines). Front ends add their own labels. A registered machine’s labels come from its own crate first, then from the shared components, never from another machine’s (where several machine crates had the same key, the last registered one’s wording won on every machine without its own). A machine file has no labels of its own: its tables are the registered machines’, so it borrows theirs, beneath the shared ones.