diff --git a/pkg/gui/controllers/local_commits_controller.go b/pkg/gui/controllers/local_commits_controller.go index 8c99d7586..d6cc26b5b 100644 --- a/pkg/gui/controllers/local_commits_controller.go +++ b/pkg/gui/controllers/local_commits_controller.go @@ -680,13 +680,13 @@ func (self *LocalCommitsController) amendAttribute(commit *models.Commit) error Label: self.c.Tr.ResetAuthor, OnPress: self.resetAuthor, Key: 'a', - Tooltip: "Reset the commit's author to the currently configured user. This will also renew the author timestamp", + Tooltip: self.c.Tr.ResetAuthorTooltip, }, { Label: self.c.Tr.SetAuthor, OnPress: self.setAuthor, Key: 'A', - Tooltip: "Set the author based on a prompt", + Tooltip: self.c.Tr.SetAuthorTooltip, }, { Label: self.c.Tr.AddCoAuthor, diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index b1d0e01eb..efc278ada 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -147,7 +147,9 @@ type TranslationSet struct { AmendCommitTooltip string Amend string ResetAuthor string + ResetAuthorTooltip string SetAuthor string + SetAuthorTooltip string AddCoAuthor string AmendCommitAttribute string AmendCommitAttributeTooltip string @@ -1093,7 +1095,9 @@ func EnglishTranslationSet() TranslationSet { AmendCommitTooltip: "Amend commit with staged changes. If the selected commit is the HEAD commit, this will perform `git commit --amend`. Otherwise the commit will be amended via a rebase.", Amend: "Amend", ResetAuthor: "Reset author", + ResetAuthorTooltip: "Reset the commit's author to the currently configured user. This will also renew the author timestamp", SetAuthor: "Set author", + SetAuthorTooltip: "Set the author based on a prompt", AddCoAuthor: "Add co-author", AmendCommitAttribute: "Amend commit attribute", AmendCommitAttributeTooltip: "Set/Reset commit author or set co-author.",