diff --git a/pkg/gui/controllers/helpers/refs_helper.go b/pkg/gui/controllers/helpers/refs_helper.go index 77d0ec2c049..4d299c2fb36 100644 --- a/pkg/gui/controllers/helpers/refs_helper.go +++ b/pkg/gui/controllers/helpers/refs_helper.go @@ -286,8 +286,7 @@ func (self *RefsHelper) CreateCheckoutMenu(commit *models.Commit) error { self.c.LogAction(self.c.Tr.Actions.CheckoutCommit) return self.CheckoutRef(hash, types.CheckoutRefOptions{}) }, - Tooltip: self.c.Tr.CheckoutCommitTooltip, - Key: 'd', + Key: 'd', }) if len(branches) > 0 { @@ -298,8 +297,7 @@ func (self *RefsHelper) CreateCheckoutMenu(commit *models.Commit) error { self.c.LogAction(self.c.Tr.Actions.CheckoutBranch) return self.CheckoutRef(branch.RefName(), types.CheckoutRefOptions{}) }, - Tooltip: self.c.Tr.CheckoutBranchTooltip, - Key: rune(index + 1 + '0'), // Convert 1-based index to key + Key: rune(index + 1 + '0'), // Convert 1-based index to key } })...) } else { diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 0c49eb23775..1eda04af74b 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -524,7 +524,6 @@ type TranslationSet struct { FetchingRemoteStatus string CheckoutCommit string CheckoutCommitTooltip string - CheckoutBranchTooltip string NoBranchesFoundAtCommitTooltip string SureCheckoutThisCommit string GitFlowOptions string @@ -1531,7 +1530,6 @@ func EnglishTranslationSet() *TranslationSet { FetchingRemoteStatus: "Fetching remote", CheckoutCommit: "Checkout commit", CheckoutCommitTooltip: "Checkout the selected commit as a detached HEAD.", - CheckoutBranchTooltip: "Checkout the selected branch.", NoBranchesFoundAtCommitTooltip: "No branches found at selected commit.", SureCheckoutThisCommit: "Are you sure you want to checkout this commit?", GitFlowOptions: "Show git-flow options",