Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: allow the Open Recent title to localize

Ilya6608bedae5e8
diff --git a/apps/desktop-gpui/src/platform.rs b/apps/desktop-gpui/src/platform.rs
index a123c4a78..51e365ab9 100644
--- a/apps/desktop-gpui/src/platform.rs
+++ b/apps/desktop-gpui/src/platform.rs
@@ -785,6 +785,7 @@ mod mac {
let recent_item = NSMenuItem::new(main_thread);
recent_item.setTitle(&NSString::from_str("Open Recent"));
recent_item.setSubmenu(Some(&recent_menu));
+ recent_item.setAllowsAutomaticKeyEquivalentLocalization(true);
file_menu.insertItem_atIndex(&recent_item, OPEN_RECENT_ROW);
// NSDocumentController owns the recent items and the standard