From 162f4b4770bbc3708b9ea352b8e712c2c63e8337 Mon Sep 17 00:00:00 2001 From: Sakthi Santhosh Anumand Date: Mon, 23 Feb 2026 20:50:31 +0530 Subject: [PATCH] Use title case for UI labels (#49864) Use title case everywhere. Before you mark this PR as ready for review, make sure that you have: - [x] Added a solid test coverage and/or screenshots from doing manual testing - [x] Done a self-review taking into account security and performance aspects - [x] Aligned any UI changes with the [UI checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) Release Notes: - Use title case for UI labels --------- Signed-off-by: Sakthi Santhosh Anumand Co-authored-by: Kunall Banerjee --- crates/collab_ui/src/channel_view.rs | 2 +- crates/editor/src/editor.rs | 2 +- crates/git_ui/src/blame_ui.rs | 4 ++-- crates/project_panel/src/project_panel.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/collab_ui/src/channel_view.rs b/crates/collab_ui/src/channel_view.rs index 4c0a726b0405c21404e6fc7e2f2c606b20e46f33..48dbd43dd449911a0c40f9e943ad917843941c02 100644 --- a/crates/collab_ui/src/channel_view.rs +++ b/crates/collab_ui/src/channel_view.rs @@ -208,7 +208,7 @@ impl ChannelView { editor.set_custom_context_menu(move |_, position, window, cx| { let this = this.clone(); Some(ui::ContextMenu::build(window, cx, move |menu, _, _| { - menu.entry("Copy link to section", None, move |window, cx| { + menu.entry("Copy Link to Section", None, move |window, cx| { this.update(cx, |this, cx| { this.copy_link_for_position(position, window, cx) }) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 32bcf32b7bfc58f65961891842e57ff21734c760..0acc4ce142891109d6888b5f637b472133a5eaa5 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -8898,7 +8898,7 @@ impl Editor { .context(focus_handle) .when(run_to_cursor, |this| { let weak_editor = weak_editor.clone(); - this.entry("Run to cursor", None, move |window, cx| { + this.entry("Run to Cursor", None, move |window, cx| { weak_editor .update(cx, |editor, cx| { editor.change_selections( diff --git a/crates/git_ui/src/blame_ui.rs b/crates/git_ui/src/blame_ui.rs index 56d1a993cc4cc62d95c97f6a39d41b16fc4a4c1c..e91d98038818224594c1f139f70d7c3d11f2a78b 100644 --- a/crates/git_ui/src/blame_ui.rs +++ b/crates/git_ui/src/blame_ui.rs @@ -400,13 +400,13 @@ fn deploy_blame_entry_context_menu( let context_menu = ContextMenu::build(window, cx, move |menu, _, _| { let sha = format!("{}", blame_entry.sha); menu.on_blur_subscription(Subscription::new(|| {})) - .entry("Copy commit SHA", None, move |_, cx| { + .entry("Copy Commit SHA", None, move |_, cx| { cx.write_to_clipboard(ClipboardItem::new_string(sha.clone())); }) .when_some( details.and_then(|details| details.permalink.clone()), |this, url| { - this.entry("Open permalink", None, move |_, cx| { + this.entry("Open Permalink", None, move |_, cx| { cx.open_url(url.as_str()) }) }, diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index 6b31c1d4dba015fdcc82e6a93d893ee943e35528..6c0c10c0715a35de25efaa7f6fddbcb5c0257934 100644 --- a/crates/project_panel/src/project_panel.rs +++ b/crates/project_panel/src/project_panel.rs @@ -1176,7 +1176,7 @@ impl ProjectPanel { }) .when(should_show_compare, |menu| { menu.separator() - .action("Compare marked files", Box::new(CompareMarkedFiles)) + .action("Compare Marked Files", Box::new(CompareMarkedFiles)) }) .separator() .action("Cut", Box::new(Cut))