mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
workspace: change save prompt for unnamed buffers (#3037)
Release Notes: - N/A
This commit is contained in:
parent
8c47f117db
commit
e263805847
1 changed files with 1 additions and 1 deletions
|
@ -2213,7 +2213,7 @@ fn dirty_message_for(buffer_path: Option<ProjectPath>) -> String {
|
|||
let path = buffer_path
|
||||
.as_ref()
|
||||
.and_then(|p| p.path.to_str())
|
||||
.unwrap_or(&"Untitled buffer");
|
||||
.unwrap_or(&"This buffer");
|
||||
let path = truncate_and_remove_front(path, 80);
|
||||
format!("{path} contains unsaved edits. Do you want to save it?")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue