Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

i18n tests: put MENU_KEEP_AS_IS's doc comment back on it (#317 follow-up)

Brandon Thomas18df24c04dd7
diff --git a/crates/ui-egui/src/i18n/tests.rs b/crates/ui-egui/src/i18n/tests.rs
index 4ba319c09..e5362808e 100644
--- a/crates/ui-egui/src/i18n/tests.rs
+++ b/crates/ui-egui/src/i18n/tests.rs
@@ -324,12 +324,12 @@ fn cs() -> Lang {
Lang::from_code("cs").expect("cs registered")
}
-/// Menu labels the menu-complete catalogs (Czech, Japanese) show as they are: the product name, a format name, the built-in workspace
-/// names and the perspective grid presets (names, shown untranslated wherever else they appear).
-/// Each language's own name in the Language menu is left alone too.
/// Languages whose catalogs leave [`MENU_KEEP_AS_IS`] in English.
const KEEPS_MENU_NAMES: [&str; 2] = ["cs", "ja"];
+/// Menu labels the menu-complete catalogs (Czech, Japanese) show as they are: the product name, a format name, the built-in workspace
+/// names and the perspective grid presets (names, shown untranslated wherever else they appear).
+/// Each language's own name in the Language menu is left alone too.
const MENU_KEEP_AS_IS: &[&str] = &[
"VectorCraft",
"OpenType",