Skip to main content

choices

Function choices 

Source
pub fn choices() -> &'static [(&'static str, &'static str)]
Expand description

Every language as (code, native name), for the configurator’s picker.

Pairs rather than bare codes because te is not a word anybody reads: the row has to be legible to the person the translation is for, who may well not know the subtag. &'static so the picker can hold it in a Copy control without knowing where it came from.