Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use title case for UI labels (#49864)
Sakthi Santhosh Anumand162f4b4770bb
diff --git a/crates/collab_ui/src/channel_view.rs b/crates/collab_ui/src/channel_view.rsindex 4c0a726b040..48dbd43dd44 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.rsindex 32bcf32b7bf..0acc4ce1428 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.rsindex 56d1a993cc4..e91d9803881 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.rsindex 6b31c1d4dba..6c0c10c0715 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))