mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-31 13:37:37 -06:00
G9: persist Japanese menu language without bundled fonts
This commit is contained in:
@@ -94,8 +94,8 @@ impl NativeBar {
|
||||
let sub = Submenu::new(label, true);
|
||||
self.fill(&sub, children);
|
||||
match label.as_str() {
|
||||
"Window" => sub.set_as_windows_menu_for_nsapp(),
|
||||
"Help" => sub.set_as_help_menu_for_nsapp(),
|
||||
"Window" | "ウィンドウ" => sub.set_as_windows_menu_for_nsapp(),
|
||||
"Help" | "ヘルプ" => sub.set_as_help_menu_for_nsapp(),
|
||||
_ => {}
|
||||
}
|
||||
if let Err(e) = menu.append(&sub) {
|
||||
|
||||
Reference in New Issue
Block a user