A fast file manager for Windows and macOS that never freezes: tabs, dual panes, archives as folders, Quick Look-style previews. A File Explorer and Finder alternative written in Rust.
Rust archive-managerdesktop-appdual-paneexplorer-alternativefile-browserfile-explorerfile-managerfluent-designgpu-acceleratedgpuimacosmicaproductivityquick-lookrustrust-guitabswindowswindows-11windows-explorer
Menus show a command's custom shortcut
JosueMeserom8e8acfd6e9e3
diff --git a/crates/rf-app/src/ctx_menu.rs b/crates/rf-app/src/ctx_menu.rsindex 38ffe337..322a8589 100644--- a/crates/rf-app/src/ctx_menu.rs+++ b/crates/rf-app/src/ctx_menu.rs@@ -372,7 +372,7 @@ impl FolderView {let mut open_row = None;if mp.open {open_row = Some(v.len());- v.push(Item::action(t!("Aç"), open_icon, act(me, |v, _, cx| v.open_selected(cx))).hint("Enter"));+ v.push(Item::action(t!("Aç"), open_icon, act(me, |v, _, cx| v.open_selected(cx))).hint(crate::keymap_editor::menu_keys("Enter", cx)));}// the commands of the file's own type go here, right below Open (see `raise`)let mut type_at = v.len();@@ -426,7 +426,7 @@ impl FolderView {icon(L::ClipboardPaste),act(me, |v, w, cx| if v.selected_is_single_dir() { v.paste_into_selected(w, cx) } else { v.paste(w, cx) }),)- .hint("Ctrl+V"),+ .hint(crate::keymap_editor::menu_keys("Ctrl+V", cx)),);}// Explorer's "Send to" in the first menu (issue 117): its entries come with the shell's items (see `show_context_menu`)@@ -444,18 +444,18 @@ impl FolderView {}v.push(Item::Separator);if mp.copy_path {- v.push(Item::action(t!("Öğe yolunu kopyala"), icon(L::ClipboardCopy), act(me, |v, _, cx| v.copy_path(cx))).hint("Ctrl+Shift+C"));+ v.push(Item::action(t!("Öğe yolunu kopyala"), icon(L::ClipboardCopy), act(me, |v, _, cx| v.copy_path(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+Shift+C", cx)));}// The commands seldom needed come with Shift held (Shift+right click, Shift+F10), as Explorer's extended commands do, or always// with Settings › General › "Always show every command" (the full menus are long).let full = shift_down() || cx.global::<crate::settings::Settings>().menu_show_all;if full && !in_archive {- v.push(Item::action(t!("Çoğalt"), icon(L::CopyPlus), act(me, |v, _, cx| v.duplicate_selected(cx))).hint("Ctrl+Alt+D"));+ v.push(Item::action(t!("Çoğalt"), icon(L::CopyPlus), act(me, |v, _, cx| v.duplicate_selected(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+Alt+D", cx)));// which programs hold these open (the reason a delete or a move says another program uses a file)let held = items.to_vec();v.push(Item::action(t!("Kullanan programlar"), icon(L::Lock), act(me, move |v, w, cx| v.show_lockers(held.clone(), w, cx))));// past the Recycle Bin, as Shift+Delete (issue 458: it was only the shortcut)- v.push(Item::action(t!("Kalıcı olarak sil"), icon(L::TrashOff), act(me, |v, w, cx| v.delete_selected(true, w, cx))).hint("Shift+Del"));+ v.push(Item::action(t!("Kalıcı olarak sil"), icon(L::TrashOff), act(me, |v, w, cx| v.delete_selected(true, w, cx))).hint(crate::keymap_editor::menu_keys("Shift+Del", cx)));}if full && mp.create_shortcut && !in_archive {let link_items = items.to_vec();@@ -660,11 +660,11 @@ impl FolderView {v.push(Item::sub(t!("Etiketler"), icon(L::Tag), tag_items(me, items, cx)));}if mp.select {- v.push(Item::sub(t!("Seç"), icon(L::SquareCheck), select_items(me, true)));+ v.push(Item::sub(t!("Seç"), icon(L::SquareCheck), select_items(me, true, cx)));}if full && mp.shelf && !in_archive {let shelf_items = items.to_vec();- v.push(Item::action(t!("Rafa ekle"), icon(L::Inbox), act(me, move |_, _, cx| cx.emit(FolderEvent::AddToShelf(shelf_items.clone())))).hint("Ctrl+Shift+S"));+ v.push(Item::action(t!("Rafa ekle"), icon(L::Inbox), act(me, move |_, _, cx| cx.emit(FolderEvent::AddToShelf(shelf_items.clone())))).hint(crate::keymap_editor::menu_keys("Ctrl+Shift+S", cx)));}if !in_archive && crate::ferry::running(cx) {v.push(Item::sub(t!("Ferry ile gönder"), icon(L::Send), crate::ferry::menu_items(items, cx)));@@ -677,7 +677,7 @@ impl FolderView {let (c, m) = (items.to_vec(), items.to_vec());v.push(Item::action(t!("Diğer panele kopyala"), icon(L::CopyPlus), act(me, move |_, _, cx| cx.emit(FolderEvent::ToOtherPane(Transfer::Copy, c.clone()))))- .hint("Shift+F5")+ .hint(crate::keymap_editor::menu_keys("Shift+F5", cx)).side(L::MoveRight, t!("Diğer panele taşı"), false, act(me, move |_, _, cx| cx.emit(FolderEvent::ToOtherPane(Transfer::Move, m.clone())))),);}@@ -688,7 +688,7 @@ impl FolderView {let da = d.clone();v.push(Item::action(t!("Terminalde aç"), icon(L::SquareTerminal), move |_, _| open_terminal(d.clone()))- .hint("Ctrl+Shift+`")+ .hint(crate::keymap_editor::menu_keys("Ctrl+Shift+`", cx)).side(L::ShieldCheck, t!("Terminalde yönetici olarak aç"), true, move |_, _| open_terminal_admin(da.clone())),);}@@ -701,7 +701,7 @@ impl FolderView {click: None,});if explorer_theme && mp.properties {- v.push(Item::action(t!("Özellikler"), icon(L::Wrench), act(me, |v, _, cx| v.properties(cx))).hint("Alt+Enter"));+ v.push(Item::action(t!("Özellikler"), icon(L::Wrench), act(me, |v, _, cx| v.properties(cx))).hint(crate::keymap_editor::menu_keys("Alt+Enter", cx)));}let mut quick = self.quick_clipboard(me, true);if explorer_theme {@@ -721,25 +721,25 @@ impl FolderView {let group = self.group;let mp = cx.global::<crate::settings::Settings>().menu.clone();let mut v: Vec<Item> = Vec::new();- v.push(Item::sub(t!("Sayfa düzeni"), icon(L::LayoutGrid), layout_items(me, mode, self.grid_style)));+ v.push(Item::sub(t!("Sayfa düzeni"), icon(L::LayoutGrid), layout_items(me, mode, self.grid_style, cx)));v.push(Item::sub(t!("Sırala"), icon(L::ArrowUpDown), sort_items(me, sort, self.sort_offers(cx))));let mut group_menu = group_items(me, group);group_menu.extend(self.property_group_items(me, cx));v.push(Item::sub(t!("Gruplandır"), icon(L::ListTree), group_menu));if mp.refresh {- v.push(Item::action(t!("Yenile"), icon(L::RotateCw), act(me, |v, _, cx| v.refresh(cx))).hint("Ctrl+R"));+ v.push(Item::action(t!("Yenile"), icon(L::RotateCw), act(me, |v, _, cx| v.refresh(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+R", cx)));}if cx.global::<crate::settings::Settings>().menu.select {- v.push(Item::sub(t!("Seç"), icon(L::SquareCheck), select_items(me, !self.selected.is_empty())));+ v.push(Item::sub(t!("Seç"), icon(L::SquareCheck), select_items(me, !self.selected.is_empty(), cx)));}v.push(Item::Separator);// what Ctrl+Z and Ctrl+Y would do, when there is something (issue 55: Explorer's "Undo Delete")let (undo, redo) = crate::undo::next_labels();if undo.is_some() {- v.push(Item::action(undo_text(undo), icon(L::Undo2), |_, cx| crate::undo::undo(cx)).hint("Ctrl+Z"));+ v.push(Item::action(undo_text(undo), icon(L::Undo2), |_, cx| crate::undo::undo(cx)).hint(crate::keymap_editor::menu_keys("Ctrl+Z", cx)));}if redo.is_some() {- v.push(Item::action(redo_text(redo), icon(L::Redo2), |_, cx| crate::undo::redo(cx)).hint("Ctrl+Y"));+ v.push(Item::action(redo_text(redo), icon(L::Redo2), |_, cx| crate::undo::redo(cx)).hint(crate::keymap_editor::menu_keys("Ctrl+Y", cx)));}let fallback = Rc::new(own_new_items(me));v.push(Item::Sub { hint: None, mnemonic: None, label: t!("Yeni").into(), icon: icon(L::CirclePlus), items: Sub::Pending { key: "new", fallback: Some(fallback) }, click: None });@@ -763,7 +763,7 @@ impl FolderView {}let show_hidden = self.filter.show_hidden;if mp.show_hidden {- v.push(Item::action(t!("Gizli öğeleri göster"), icon(L::Eye), act(me, |v, _, cx| v.toggle_hidden(cx))).checked(show_hidden).hint("Ctrl+H"));+ v.push(Item::action(t!("Gizli öğeleri göster"), icon(L::Eye), act(me, |v, _, cx| v.toggle_hidden(cx))).checked(show_hidden).hint(crate::keymap_editor::menu_keys("Ctrl+H", cx)));}v.push(Item::Separator);if can_open_terminal(dir) {@@ -772,7 +772,7 @@ impl FolderView {let da = d.clone();v.push(Item::action(t!("Terminalde aç"), icon(L::SquareTerminal), move |_, _| open_terminal(d.clone()))- .hint("Ctrl+Shift+`")+ .hint(crate::keymap_editor::menu_keys("Ctrl+Shift+`", cx)).side(L::ShieldCheck, t!("Terminalde yönetici olarak aç"), true, move |_, _| open_terminal_admin(da.clone())),);}@@ -846,11 +846,11 @@ fn redo_text(what: Option<&str>) -> String {}}-fn layout_items(me: &Me, mode: ViewMode, style: crate::folder_view::GridStyle) -> Vec<Item> {+fn layout_items(me: &Me, mode: ViewMode, style: crate::folder_view::GridStyle, cx: &App) -> Vec<Item> {use crate::folder_view::GridStyle;- let layout = |label: &str, l: L, m: ViewMode, st: GridStyle, hint: &str| {+ let layout = |label: &str, l: L, m: ViewMode, st: GridStyle, hint: &'static str| {let on = mode == m && (m != ViewMode::Grid || style == st);- Item::action(label.to_string(), icon(l), act(me, move |v, _, cx| v.set_layout(m, st, cx))).checked(on).hint(hint.to_string())+ Item::action(label.to_string(), icon(l), act(me, move |v, _, cx| v.set_layout(m, st, cx))).checked(on).hint(crate::keymap_editor::menu_keys(hint, cx))};vec![layout(t!("Ayrıntılar"), L::List, ViewMode::Details, GridStyle::Tiles, "Ctrl+Shift+1"),@@ -1016,14 +1016,14 @@ impl FolderView {icon(L::Undo2),move |_, cx| crate::undo::undo(cx),)- .hint("Ctrl+Z")+ .hint(crate::keymap_editor::menu_keys("Ctrl+Z", cx)).enabled(undo.is_some())),("redo", Item::action(redo_text(redo),icon(L::Redo2),move |_, cx| crate::undo::redo(cx),)- .hint("Ctrl+Y")+ .hint(crate::keymap_editor::menu_keys("Ctrl+Y", cx)).enabled(redo.is_some())),("", Item::Separator),("selectall", Item::action(@@ -1031,7 +1031,7 @@ impl FolderView {icon(L::SquareCheck),act(&me, |v, _, cx| v.select_all_items(cx)),)- .hint("Ctrl+A")),+ .hint(crate::keymap_editor::menu_keys("Ctrl+A", cx))),("selectnone", Item::action(t!("Hiçbirini seçme"),icon(L::Square),@@ -1054,7 +1054,7 @@ impl FolderView {icon(L::Settings),|w, cx| w.dispatch_action(Box::new(crate::actions::GoSettings), cx),)- .hint("Ctrl+,")),+ .hint(crate::keymap_editor::menu_keys("Ctrl+,", cx))),// (closing the window leaves rustyfiles running with background mode or the Dock: issue 410)(MORE_EXIT, Item::action(t!("Çıkış"), icon(L::LogOut), |_, cx| cx.defer(crate::background::quit_all))),];@@ -1087,12 +1087,12 @@ impl FolderView {return;}BarMenu::View { dual, shelf } => {- let mut v = layout_items(&me, self.view_mode, self.grid_style);+ let mut v = layout_items(&me, self.view_mode, self.grid_style, cx);v.push(Item::Separator);v.push(Item::action(t!("Gizli öğeleri göster"), icon(L::Eye), act(&me, |v, _, cx| v.toggle_hidden(cx))).checked(self.filter.show_hidden)- .hint("Ctrl+H"),+ .hint(crate::keymap_editor::menu_keys("Ctrl+H", cx)),);v.push(Item::action(t!("Çift panel"), icon(L::Columns2), |w, cx| w.dispatch_action(Box::new(crate::actions::ToggleDualPane), cx))@@ -1140,9 +1140,9 @@ fn new_menu_order(labels: &[&str], text_label: &str) -> Vec<Option<usize>> {}/// "Seç": select all, select none, invert (the same commands as the toolbar's "..." menu); `has_selection` enables "Hiçbirini seçme".-fn select_items(me: &Me, has_selection: bool) -> Vec<Item> {+fn select_items(me: &Me, has_selection: bool, cx: &App) -> Vec<Item> {vec![- Item::action(t!("Tümünü seç"), icon(L::SquareCheck), act(me, |v, _, cx| v.select_all_items(cx))).hint("Ctrl+A"),+ Item::action(t!("Tümünü seç"), icon(L::SquareCheck), act(me, |v, _, cx| v.select_all_items(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+A", cx)),Item::action(t!("Hiçbirini seçme"), icon(L::Square), act(me, |v, _, cx| v.select_no_items(cx))).enabled(has_selection),Item::action(t!("Seçimi tersine çevir"), icon(L::ArrowLeftRight), act(me, |v, _, cx| v.invert_selected_items(cx))),]@@ -2011,7 +2011,7 @@ impl FolderView {menu.items.push(Item::Sub { hint: None, mnemonic: None, label: t!("Diğer seçenekleri göster").into(), icon: icon(L::Ellipsis), items: Sub::Pending { key: "more", fallback: None }, click: None });if background {menu.items.push(Item::Separator);- menu.items.push(Item::action(t!("Yenile"), icon(L::RotateCw), act(&me, |v, _, cx| v.refresh(cx))).hint("Ctrl+R"));+ menu.items.push(Item::action(t!("Yenile"), icon(L::RotateCw), act(&me, |v, _, cx| v.refresh(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+R", cx)));}let menu_view = fluent_menu::show_context(menu, window.mouse_position(), window, cx);let target = match items.as_slice() {diff --git a/crates/rf-app/src/keymap_editor.rs b/crates/rf-app/src/keymap_editor.rsindex 5639f3c5..cb4e643a 100644--- a/crates/rf-app/src/keymap_editor.rs+++ b/crates/rf-app/src/keymap_editor.rs@@ -152,6 +152,42 @@ pub fn custom_keys(action: &str, cx: &App) -> Option<String> {.map(|(k, _)| k.clone())}+/// The commands menus list with their built-in keys written out: those keys, and the command's action name.+const MENU_KEYS: &[(&str, &str)] = &[+ ("Enter", "OpenSelected"),+ ("Ctrl+V", "PasteItems"),+ ("Ctrl+Shift+C", "CopyPath"),+ ("Ctrl+Alt+D", "DuplicateItems"),+ ("Shift+Del", "DeletePermanently"),+ ("Ctrl+Shift+S", "AddToShelf"),+ ("F2", "RenameItem"),+ ("Shift+F5", "CopyToOtherPane"),+ ("Ctrl+Shift+`", "OpenTerminal"),+ ("Alt+Enter", "Properties"),+ ("Ctrl+R", "Refresh"),+ ("Ctrl+Z", "Undo"),+ ("Ctrl+Y", "Redo"),+ ("Ctrl+H", "ToggleHidden"),+ ("Ctrl+A", "SelectAll"),+ ("Ctrl+,", "GoSettings"),+ ("Ctrl+Shift+1", "ViewDetails"),+ ("Ctrl+Shift+2", "ViewGrid"),+ ("Ctrl+Shift+3", "ViewColumns"),+ ("Ctrl+Shift+4", "ViewCards"),+ ("Ctrl+Shift+5", "ViewList"),+];++/// The keys a menu shows beside a command it lists with its built-in keys `built_in` ("Ctrl+Shift+C"): the user's own when Settings ›+/// Keyboard shortcuts gave the command some (they replace the built-in ones, `actions::bind_defaults`), else `built_in`.+pub fn menu_keys(built_in: &'static str, cx: &App) -> SharedString {+ MENU_KEYS+ .iter()+ .find(|(k, _)| *k == built_in)+ .and_then(|(_, action)| custom_keys(action, cx))+ .map(|keys| pretty(&keys).into())+ .unwrap_or_else(|| built_in.into())+}+/// A shortcut as compared between commands: "Ctrl+Shift+K" and "ctrl-shift-k" are the same,/// as are the arrows and Del of the built-in list and the names GPUI gives those keys.pub fn canon(shown: &str) -> String {@@ -205,6 +241,15 @@ pub fn reset(action: &str, cx: &mut App) {mod tests {use super::pretty;+ #[test]+ fn the_commands_whose_keys_menus_show_are_commands_settings_lists() {+ // (the action names a renamed command would no longer match; "Open" and "Redo" are not in Settings' list: they keep their keys)+ let entries = crate::command_palette::shortcut_entries();+ for (_, action) in super::MENU_KEYS {+ assert!(entries.iter().any(|(_, _, a)| a == action) || ["OpenSelected", "Redo"].contains(action), "{action}");+ }+ }+#[test]fn a_custom_shortcut_on_another_commands_keys_is_reported() {let entries = [("Yeni sekme", "Ctrl+T", "NewTab".to_string()), ("Geri", "Alt+←", "GoBack".to_string()), ("Rafı göster/gizle", "", "ToggleShelf".to_string())];diff --git a/crates/rf-app/src/shell/desktop/menus.rs b/crates/rf-app/src/shell/desktop/menus.rsindex c7c7ad54..65b872d2 100644--- a/crates/rf-app/src/shell/desktop/menus.rs+++ b/crates/rf-app/src/shell/desktop/menus.rs@@ -64,14 +64,14 @@ fn icon(l: L) -> MenuIcon {}/// The menu entry of an item command.-fn item_of(me: &Me, cmd: ItemCmd) -> Item {+fn item_of(me: &Me, cmd: ItemCmd, cx: &App) -> Item {match cmd {- ItemCmd::Open => Item::action(t!("Aç"), icon(L::SquareArrowOutUpRight), act(me, |v, w, cx| v.open_selection(w, cx))).hint("Enter"),+ ItemCmd::Open => Item::action(t!("Aç"), icon(L::SquareArrowOutUpRight), act(me, |v, w, cx| v.open_selection(w, cx))).hint(crate::keymap_editor::menu_keys("Enter", cx)),ItemCmd::OpenWith => Item::action(t!("Birlikte aç…"), icon(L::AppWindow), act(me, |v, _, cx| v.open_with_selection(cx))),ItemCmd::CreateShortcut => Item::action(t!("Kısayol oluştur"), icon(L::Link), act(me, |v, _, cx| v.create_shortcuts(cx))),ItemCmd::EmptyBin => Item::action(t!("Geri Dönüşüm Kutusu'nu boşalt"), icon(L::Trash), act(me, |v, _, cx| v.empty_bin(cx))),- ItemCmd::CopyPath => Item::action(t!("Öğe yolunu kopyala"), icon(L::ClipboardCopy), act(me, |v, _, cx| v.copy_paths_as_text(cx))).hint("Ctrl+Shift+C"),- ItemCmd::Properties => Item::action(t!("Özellikler"), icon(L::Wrench), act(me, |v, _, cx| v.properties(cx))).hint("Alt+Enter"),+ ItemCmd::CopyPath => Item::action(t!("Öğe yolunu kopyala"), icon(L::ClipboardCopy), act(me, |v, _, cx| v.copy_paths_as_text(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+Shift+C", cx)),+ ItemCmd::Properties => Item::action(t!("Özellikler"), icon(L::Wrench), act(me, |v, _, cx| v.properties(cx))).hint(crate::keymap_editor::menu_keys("Alt+Enter", cx)),}}@@ -101,7 +101,7 @@ impl DesktopView {.map(|row| match row {Row::Sep => Item::Separator,Row::More => Item::Sub { hint: None, mnemonic: None, label: t!("Diğer seçenekleri göster").into(), icon: icon(L::Ellipsis), items: Sub::Pending { key: "more", fallback: None }, click: None },- Row::Cmd(cmd, enabled) => item_of(&me, cmd).enabled(enabled),+ Row::Cmd(cmd, enabled) => item_of(&me, cmd, cx).enabled(enabled),}).collect();let q = item_quick(&kinds, ctx);@@ -210,15 +210,15 @@ impl DesktopView {Row::Cmd(cmd, enabled) => match cmd {BgCmd::View => Item::sub(crate::i18n::tx("Görünüm", "View"), icon(L::LayoutGrid), view_items.clone()),BgCmd::SortBy => Item::sub(t!("Sıralama ölçütü"), icon(L::ArrowUpDown), sort_items.clone()),- BgCmd::Refresh => Item::action(t!("Yenile"), icon(L::RotateCw), act(&me, |v, _, cx| v.refresh(cx))).hint("Ctrl+R"),+ BgCmd::Refresh => Item::action(t!("Yenile"), icon(L::RotateCw), act(&me, |v, _, cx| v.refresh(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+R", cx)),// the read-only preview creates nothing: "New" is there but off, and the shell's own commands (which can write to the// Desktop: archive, send to, templates) are not offered at allBgCmd::New if read_only => Item::action(t!("Yeni"), icon(L::CirclePlus), |_, _| {}).enabled(false),BgCmd::New => Item::Sub { hint: None, mnemonic: None, label: t!("Yeni").into(), icon: icon(L::CirclePlus), items: Sub::Pending { key: "new", fallback: Some(Rc::new(own_new_items(&me))) }, click: None },- BgCmd::Paste => Item::action(t!("Yapıştır"), icon(L::ClipboardPaste), act(&me, |v, w, cx| v.paste(Via::Menu, w, cx))).hint("Ctrl+V"),+ BgCmd::Paste => Item::action(t!("Yapıştır"), icon(L::ClipboardPaste), act(&me, |v, w, cx| v.paste(Via::Menu, w, cx))).hint(crate::keymap_editor::menu_keys("Ctrl+V", cx)),BgCmd::PasteShortcut => Item::action(t!("Kısayol yapıştır"), icon(L::Link), act(&me, |v, _, cx| v.paste_shortcuts(cx))),- BgCmd::Undo(what) => Item::action(format!("{}: {what}", t!("Geri al")), icon(L::Undo2), act(&me, |_, _, cx| crate::undo::undo(cx))).hint("Ctrl+Z"),- BgCmd::Redo(what) => Item::action(format!("{}: {what}", t!("Yinele")), icon(L::Redo2), act(&me, |_, _, cx| crate::undo::redo(cx))).hint("Ctrl+Y"),+ BgCmd::Undo(what) => Item::action(format!("{}: {what}", t!("Geri al")), icon(L::Undo2), act(&me, |_, _, cx| crate::undo::undo(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+Z", cx)),+ BgCmd::Redo(what) => Item::action(format!("{}: {what}", t!("Yinele")), icon(L::Redo2), act(&me, |_, _, cx| crate::undo::redo(cx))).hint(crate::keymap_editor::menu_keys("Ctrl+Y", cx)),BgCmd::OpenTerminal => Item::action(t!("Terminalde Aç"), icon(L::SquareTerminal), act(&me, |v, _, _| v.open_terminal_here())),BgCmd::DisplaySettings => Item::action(t!("Görüntü ayarları"), icon(L::Monitor), act(&me, |v, _, _| v.open_settings_page("ms-settings:display"))),BgCmd::NextBackground => Item::action(t!("Sonraki masaüstü arka planı"), icon(L::SkipForward), act(&me, |v, _, _| v.next_background())),diff --git a/crates/rf-app/src/workspace.rs b/crates/rf-app/src/workspace.rsindex ea11070e..247547dd 100644--- a/crates/rf-app/src/workspace.rs+++ b/crates/rf-app/src/workspace.rs@@ -3320,7 +3320,7 @@ impl Workspace {Item::action(t!("Özellikler"), MenuIcon::Lucide(L::Wrench), with(|ws, p, _, cx| {crate::properties_view::open(vec![p], ws.images.clone(), cx);}))- .hint("Alt+Enter"),+ .hint(crate::keymap_editor::menu_keys("Alt+Enter", cx)),Item::Separator,Item::Sub { hint: None, mnemonic: None, label: t!("Diğer seçenekleri göster").into(), icon: MenuIcon::Lucide(L::Ellipsis), items: Sub::Pending { key: "more", fallback: None }, click: None },]);