summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers
diff options
context:
space:
mode:
authorLuka Markušić <luka.markusic@microblink.com>2022-05-15 12:16:20 +0200
committerLuka Markušić <luka.markusic@microblink.com>2022-05-15 12:16:20 +0200
commit241d182da7d589e4a30520ff8d9ea4143c9e658a (patch)
tree5e4612733e28ae0ccd65656b4df846dd758d2627 /pkg/gui/controllers
parentca191159f514c016f720751ae05d111d8a9d26dd (diff)
Make tooltip i18n-able
Diffstat (limited to 'pkg/gui/controllers')
-rw-r--r--pkg/gui/controllers/workspace_reset_controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/workspace_reset_controller.go b/pkg/gui/controllers/workspace_reset_controller.go
index 93277173b..f34739af7 100644
--- a/pkg/gui/controllers/workspace_reset_controller.go
+++ b/pkg/gui/controllers/workspace_reset_controller.go
@@ -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() {