Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Rename "Overwrite" to "Save" for prompt about recreating a deleted file (#20750)

Michael Sloan050ce919ba21
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rs
index 24e48b53b08..52018f53c80 100644
--- a/crates/workspace/src/pane.rs
+++ b/crates/workspace/src/pane.rs
@@ -1586,7 +1586,7 @@ impl Pane {
PromptLevel::Warning,
DELETED_MESSAGE,
None,
- &["Overwrite", "Close", "Cancel"],
+ &["Save", "Close", "Cancel"],
)
})?;
match answer.await {