okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
1306424be
main
1/** The language choice on the first screen, so a person who cannot read English can change it before anything is downloaded (#3723). */ 2import { tr } from '../lib/i18n' ; 3import { LANGUAGES , type Language } from '../lib/i18n' ; 4import { setLanguage , useStore } from '../lib/store' ; 5import { Select } from './ui' ; 6 7export function FirstRunLanguage () { 8const language = useStore ( s => s . language ); 9return < div className = "onboard-language" >< Select translateLabels = { false } ariaLabel = { tr ( "Language" )} value = { language } options = {[ ...LANGUAGES ]} onChange = { value => setLanguage ( value as Language )}/></ div >; 10}