mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
make locale builds only take in i18n.json files
because .json files are splattered everywhere and this causse troubles.
This commit is contained in:
parent
3a0dfe5c3b
commit
a8282413ef
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ fn read_locales() -> Translations {
|
||||||
|
|
||||||
let project_dir = project_root();
|
let project_dir = project_root();
|
||||||
let build_directory = project_dir.to_str().unwrap();
|
let build_directory = project_dir.to_str().unwrap();
|
||||||
let locales = format!("{}/**/locales/**/*.json", build_directory);
|
let locales = format!("{}/**/locales/**/i18n.json", build_directory);
|
||||||
println!("Reading {}", &locales);
|
println!("Reading {}", &locales);
|
||||||
|
|
||||||
for entry in glob(&locales).expect("Failed to read glob pattern") {
|
for entry in glob(&locales).expect("Failed to read glob pattern") {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue