1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Make tooltip i18n-able

This commit is contained in:
Luka Markušić
2022-05-15 12:16:20 +02:00
parent ca191159f5
commit 241d182da7
2 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func (self *FilesController) createResetMenu() error {
self.c.Tr.LcDiscardStagedChanges,
red.Sprint("stash staged and drop stash"),
},
Tooltip: "This will create a new stash entry containing only staged files and then drop it.",
Tooltip: self.c.Tr.DiscardStagedChangesDescription,
OnPress: func() error {
self.c.LogAction(self.c.Tr.Actions.RemoveStagedFiles)
if !self.helpers.WorkingTree.IsWorkingTreeDirty() {