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.

git_ui: Use switch wording in branch picker (#54606)

Anthony Eidf1ce3728cfab
diff --git a/crates/git_ui/src/branch_picker.rs b/crates/git_ui/src/branch_picker.rs
index a2cf0cb6586..b119d243ad6 100644
--- a/crates/git_ui/src/branch_picker.rs
+++ b/crates/git_ui/src/branch_picker.rs
@@ -601,7 +601,7 @@ impl PickerDelegate for BranchListDelegate {
match self.state {
PickerState::List | PickerState::NewRemote | PickerState::NewBranch => {
match self.branch_filter {
- BranchFilter::All | BranchFilter::Remote => "Select branch…",
+ BranchFilter::All | BranchFilter::Remote => "Switch branch…",
}
}
PickerState::CreateRemote(_) => "Enter a name for this remote…",
@@ -1245,7 +1245,7 @@ impl PickerDelegate for BranchListDelegate {
},
)
.child(
- Button::new("select_branch", "Select")
+ Button::new("switch_branch", "Switch")
.key_binding(
KeyBinding::for_action_in(&menu::Confirm, &focus_handle, cx)
.map(|kb| kb.size(rems_from_px(12.))),