mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-06 22:33:07 +02:00
Add tooltips for commit log menu
This commit is contained in:
@ -1180,6 +1180,7 @@ func (self *LocalCommitsController) handleOpenLogMenu() error {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Label: self.c.Tr.ShowGitGraph,
|
Label: self.c.Tr.ShowGitGraph,
|
||||||
|
Tooltip: self.c.Tr.ShowGitGraphTooltip,
|
||||||
OpensMenu: true,
|
OpensMenu: true,
|
||||||
OnPress: func() error {
|
OnPress: func() error {
|
||||||
currentValue := self.c.UserConfig().Git.Log.ShowGraph
|
currentValue := self.c.UserConfig().Git.Log.ShowGraph
|
||||||
@ -1215,6 +1216,7 @@ func (self *LocalCommitsController) handleOpenLogMenu() error {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Label: self.c.Tr.SortCommits,
|
Label: self.c.Tr.SortCommits,
|
||||||
|
Tooltip: self.c.Tr.SortCommitsTooltip,
|
||||||
OpensMenu: true,
|
OpensMenu: true,
|
||||||
OnPress: func() error {
|
OnPress: func() error {
|
||||||
currentValue := self.c.UserConfig().Git.Log.Order
|
currentValue := self.c.UserConfig().Git.Log.Order
|
||||||
|
@ -758,12 +758,14 @@ type TranslationSet struct {
|
|||||||
LogMenuTitle string
|
LogMenuTitle string
|
||||||
ToggleShowGitGraphAll string
|
ToggleShowGitGraphAll string
|
||||||
ShowGitGraph string
|
ShowGitGraph string
|
||||||
|
ShowGitGraphTooltip string
|
||||||
SortOrder string
|
SortOrder string
|
||||||
SortAlphabetical string
|
SortAlphabetical string
|
||||||
SortByDate string
|
SortByDate string
|
||||||
SortByRecency string
|
SortByRecency string
|
||||||
SortBasedOnReflog string
|
SortBasedOnReflog string
|
||||||
SortCommits string
|
SortCommits string
|
||||||
|
SortCommitsTooltip string
|
||||||
CantChangeContextSizeError string
|
CantChangeContextSizeError string
|
||||||
OpenCommitInBrowser string
|
OpenCommitInBrowser string
|
||||||
ViewBisectOptions string
|
ViewBisectOptions string
|
||||||
@ -1803,12 +1805,14 @@ func EnglishTranslationSet() *TranslationSet {
|
|||||||
LogMenuTitle: "Commit Log Options",
|
LogMenuTitle: "Commit Log Options",
|
||||||
ToggleShowGitGraphAll: "Toggle show whole git graph (pass the `--all` flag to `git log`)",
|
ToggleShowGitGraphAll: "Toggle show whole git graph (pass the `--all` flag to `git log`)",
|
||||||
ShowGitGraph: "Show git graph",
|
ShowGitGraph: "Show git graph",
|
||||||
|
ShowGitGraphTooltip: "Show or hide the git graph in the commit log.\n\nThe default can be changed in the config file with the key 'git.log.showGraph'.",
|
||||||
SortOrder: "Sort order",
|
SortOrder: "Sort order",
|
||||||
SortAlphabetical: "Alphabetical",
|
SortAlphabetical: "Alphabetical",
|
||||||
SortByDate: "Date",
|
SortByDate: "Date",
|
||||||
SortByRecency: "Recency",
|
SortByRecency: "Recency",
|
||||||
SortBasedOnReflog: "(based on reflog)",
|
SortBasedOnReflog: "(based on reflog)",
|
||||||
SortCommits: "Commit sort order",
|
SortCommits: "Commit sort order",
|
||||||
|
SortCommitsTooltip: "Change the sort order of the commits in the commit log.\n\nThe default can be changed in the config file with the key 'git.log.sortOrder'.",
|
||||||
CantChangeContextSizeError: "Cannot change context while in patch building mode because we were too lazy to support it when releasing the feature. If you really want it, please let us know!",
|
CantChangeContextSizeError: "Cannot change context while in patch building mode because we were too lazy to support it when releasing the feature. If you really want it, please let us know!",
|
||||||
OpenCommitInBrowser: "Open commit in browser",
|
OpenCommitInBrowser: "Open commit in browser",
|
||||||
ViewBisectOptions: "View bisect options",
|
ViewBisectOptions: "View bisect options",
|
||||||
|
Reference in New Issue
Block a user