diff --git a/Cargo.lock b/Cargo.lock index be24a88c..d4adff9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2906,7 +2906,7 @@ dependencies = [ [[package]] name = "lightcraft-faces" -version = "0.2.1" +version = "0.4.0" dependencies = [ "proptest", "serde", diff --git a/apps/lightcraft/src/main.rs b/apps/lightcraft/src/main.rs index 39034e22..be44cc33 100644 --- a/apps/lightcraft/src/main.rs +++ b/apps/lightcraft/src/main.rs @@ -402,8 +402,8 @@ fn services(ctx: egui::Context, log_file: Option<&std::path::Path>) -> Services })), pick_model_file: Some(Box::new(|| { rfd::FileDialog::new() - .set_title("Add a Face Recognition Model") - .add_filter("Face models (ONNX)", &["onnx"]) + .set_title(lightcraft_ui_egui::i18n::tr("Add a Face Recognition Model")) + .add_filter_nocase(lightcraft_ui_egui::i18n::tr("Face models (ONNX)"), &["onnx"]) .pick_file() .map(|p| vec![p.to_string_lossy().to_string()]) .unwrap_or_default() diff --git a/crates/engine/src/lib.rs b/crates/engine/src/lib.rs index a368678e..f656709e 100644 --- a/crates/engine/src/lib.rs +++ b/crates/engine/src/lib.rs @@ -789,10 +789,10 @@ mod tests_color; #[cfg(test)] mod tests_export; #[cfg(test)] -mod tests_folders; -#[cfg(test)] mod tests_face_models; #[cfg(test)] +mod tests_folders; +#[cfg(test)] mod tests_forget_local; #[cfg(test)] mod tests_import; diff --git a/crates/faces/src/lib.rs b/crates/faces/src/lib.rs index f7dfe926..3a629887 100644 --- a/crates/faces/src/lib.rs +++ b/crates/faces/src/lib.rs @@ -4,8 +4,8 @@ //! own can be one drop and one licence prompt. //! //! Everything here treats model files and manifests as hostile input: sizes are capped, numbers must be -//! finite and sane, and a malformed file is an error, never a panic. Running a model (the `tract` runtime) -//! is not part of this crate yet. +//! finite and sane, and a malformed file is an error, never a panic. Model execution is not part of +//! this crate yet. #![forbid(unsafe_code)] #![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)] diff --git a/docs/parity.md b/docs/parity.md index baddd9dd..ad9f5d59 100644 --- a/docs/parity.md +++ b/docs/parity.md @@ -42,7 +42,7 @@ and prints the summary; `cargo xtask parity --write` refreshes the summary table | S. Export (EXP) | 15 | 1 | 2 | 0 | 7/7 (100%) | 7/7 (100%) | | T. Share (SHARE) | 0 | 0 | 0 | 4 | — | — | | U. Map & location (MAP) | 0 | 1 | 1 | 0 | — | 0/1 (0%) | -| V. Preferences (PREF) | 6 | 0 | 3 | 2 | 1/1 (100%) | 4/4 (100%) | +| V. Preferences (PREF) | 6 | 1 | 2 | 2 | 1/1 (100%) | 4/4 (100%) | | W. Cloud & AI infrastructure (CLOUD / AI) | 1 | 0 | 1 | 2 | — | — | | X. Cross-cutting behaviours (BEHAV) | 17 | 5 | 1 | 1 | 8/8 (100%) | 6/8 (75%) | | Y. Menus | 82 | 0 | 4 | 8 | 47/47 (100%) | 23/23 (100%) |