From 18df24c04dd78aed0268024148d2e76b8fbca455 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 7 Oct 2026 16:57:53 -0400 Subject: [PATCH] i18n tests: put MENU_KEEP_AS_IS's doc comment back on it (#317 follow-up) Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 030f8bc5344341b209b42b4a7e967cdaeeefed08) --- crates/ui-egui/src/i18n/tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ui-egui/src/i18n/tests.rs b/crates/ui-egui/src/i18n/tests.rs index 4ba319c0..e5362808 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",