diff --git a/pkg/gui/controllers/stash_controller.go b/pkg/gui/controllers/stash_controller.go index 6af074386..40d309e0b 100644 --- a/pkg/gui/controllers/stash_controller.go +++ b/pkg/gui/controllers/stash_controller.go @@ -112,7 +112,7 @@ func (self *StashController) handleStashApply(stashEntry *models.StashEntry) err Title: self.c.Tr.StashApply, Prompt: self.c.Tr.SureApplyStashEntry, HandleConfirm: func() error { - self.c.LogAction(self.c.Tr.Actions.Stash) + self.c.LogAction(self.c.Tr.Actions.ApplyStash) err := self.c.Git().Stash.Apply(stashEntry.Index) self.postStashRefresh() if err != nil { @@ -128,7 +128,7 @@ func (self *StashController) handleStashApply(stashEntry *models.StashEntry) err func (self *StashController) handleStashPop(stashEntry *models.StashEntry) error { pop := func() error { - self.c.LogAction(self.c.Tr.Actions.Stash) + self.c.LogAction(self.c.Tr.Actions.PopStash) err := self.c.Git().Stash.Pop(stashEntry.Index) self.postStashRefresh() if err != nil { @@ -160,7 +160,7 @@ func (self *StashController) handleStashDrop(stashEntries []*models.StashEntry) Title: self.c.Tr.StashDrop, Prompt: self.c.Tr.SureDropStashEntry, HandleConfirm: func() error { - self.c.LogAction(self.c.Tr.Actions.Stash) + self.c.LogAction(self.c.Tr.Actions.DropStash) for i := len(stashEntries) - 1; i >= 0; i-- { err := self.c.Git().Stash.Drop(stashEntries[i].Index) self.c.Refresh(types.RefreshOptions{Scope: []types.RefreshableView{types.STASH}}) diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 3f57e6ff7..ea9f805a2 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -1011,6 +1011,9 @@ type Actions struct { UpdateRemote string ApplyPatch string Stash string + PopStash string + ApplyStash string + DropStash string RenameStash string RemoveSubmodule string ResetSubmodule string @@ -2050,6 +2053,9 @@ func EnglishTranslationSet() *TranslationSet { UpdateRemote: "Update remote", ApplyPatch: "Apply patch", Stash: "Stash", + PopStash: "Pop stash", + ApplyStash: "Apply stash", + DropStash: "Drop stash", RenameStash: "Rename stash", RemoveSubmodule: "Remove submodule", ResetSubmodule: "Reset submodule",