mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-31 19:05:00 +07:00
Update workspace mentions in the sidebar (#54833)
Replaces "workspace" labels in the sidebar with more accurate terminology: - "Focus Last Workspace" → "Focus Last Project" - "Focus Workspace" → "Focus Project" - "Close Workspace" tooltip → "Close Worktree" Release Notes: - N/A
This commit is contained in:
parent
69effe73d9
commit
40d3c79f2f
1 changed files with 3 additions and 3 deletions
|
|
@ -2276,9 +2276,9 @@ impl Sidebar {
|
|||
.child(Label::new("-click").color(Color::Muted));
|
||||
|
||||
let label = if has_threads {
|
||||
"Focus Last Workspace"
|
||||
"Focus Last Project"
|
||||
} else {
|
||||
"Focus Workspace"
|
||||
"Focus Project"
|
||||
};
|
||||
|
||||
h_flex()
|
||||
|
|
@ -2390,7 +2390,7 @@ impl Sidebar {
|
|||
)
|
||||
.icon_size(IconSize::Small)
|
||||
.visible_on_hover(&row_group_name)
|
||||
.tooltip(Tooltip::text("Close Workspace"))
|
||||
.tooltip(Tooltip::text("Close Worktree"))
|
||||
.on_click(move |_, window, cx| {
|
||||
cx.stop_propagation();
|
||||
window.prevent_default();
|
||||
|
|
|
|||
Loading…
Reference in a new issue