add test comment 😅
This commit is contained in:
parent
d99b42582d
commit
6405ba57ee
@ -46,6 +46,9 @@ lazy_static! {
|
|||||||
let lang = js! { return navigator.language }.into_string().unwrap();
|
let lang = js! { return navigator.language }.into_string().unwrap();
|
||||||
let lang = lang.splitn(2, '-').next().unwrap_or("en");
|
let lang = lang.splitn(2, '-').next().unwrap_or("en");
|
||||||
|
|
||||||
|
// Force a language (Add .env setting)
|
||||||
|
//let lang = "fa"; ???
|
||||||
|
|
||||||
let english_position = catalogs
|
let english_position = catalogs
|
||||||
.iter()
|
.iter()
|
||||||
.position(|(language_code, _)| *language_code == "en")
|
.position(|(language_code, _)| *language_code == "en")
|
||||||
|
Loading…
Reference in New Issue
Block a user