Switched to toml for locales
This commit is contained in:
@ -10,9 +10,9 @@ pub struct LocaleStore {
|
||||
|
||||
impl LocaleStore {
|
||||
pub fn init() {
|
||||
let ru = serde_yaml::from_slice(include_bytes!("../locales/ru.yaml"))
|
||||
let ru = toml::from_str(include_str!("../locales/ru.toml"))
|
||||
.expect("Error parsing russian locale");
|
||||
let eng = serde_yaml::from_slice(include_bytes!("../locales/eng.yaml"))
|
||||
let eng = toml::from_str(include_str!("../locales/eng.toml"))
|
||||
.expect("Error parsing english locale");
|
||||
|
||||
assert!(
|
||||
|
Reference in New Issue
Block a user