mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-28 14:31:13 +00:00
add test comment 😅
This commit is contained in:
parent
d99b42582d
commit
6405ba57ee
1 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,9 @@ lazy_static! {
|
|||
let lang = js! { return navigator.language }.into_string().unwrap();
|
||||
let lang = lang.splitn(2, '-').next().unwrap_or("en");
|
||||
|
||||
// Force a language (Add .env setting)
|
||||
//let lang = "fa"; ???
|
||||
|
||||
let english_position = catalogs
|
||||
.iter()
|
||||
.position(|(language_code, _)| *language_code == "en")
|
||||
|
|
Loading…
Reference in a new issue