1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-03 00:57:52 +02:00

fix wording

This commit is contained in:
Jesse Duffield
2020-02-16 09:49:00 +11:00
parent 0a69c1a02d
commit 0f0da9c32a
2 changed files with 6 additions and 12 deletions

View File

@ -462,7 +462,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Key: gui.getKey("commits.viewResetOptions"),
Modifier: gocui.ModNone,
Handler: gui.handleCreateResetToUpstreamMenu,
Description: gui.Tr.SLocalize("resetToUpstream"),
Description: gui.Tr.SLocalize("viewResetToUpstreamOptions"),
},
{
ViewName: "branches",
@ -550,7 +550,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Key: gui.getKey("commits.viewResetOptions"),
Modifier: gocui.ModNone,
Handler: gui.handleCreateResetToBranchMenu,
Description: gui.Tr.SLocalize("resetToThisBranch"),
Description: gui.Tr.SLocalize("viewResetOptions"),
},
{
ViewName: "branches",
@ -590,7 +590,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Key: gui.getKey("commits.viewResetOptions"),
Modifier: gocui.ModNone,
Handler: gui.handleCreateResetToTagMenu,
Description: gui.Tr.SLocalize("resetToThisTag"),
Description: gui.Tr.SLocalize("viewResetOptions"),
},
{
ViewName: "branches",
@ -618,7 +618,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Key: gui.getKey("commits.viewResetOptions"),
Modifier: gocui.ModNone,
Handler: gui.handleCreateResetToRemoteBranchMenu,
Description: gui.Tr.SLocalize("resetToThisBranch"),
Description: gui.Tr.SLocalize("viewResetOptions"),
},
{
ViewName: "branches",

View File

@ -943,14 +943,8 @@ func addEnglish(i18nObject *i18n.Bundle) error {
ID: "IgnoreTrackedPrompt",
Other: "Are you sure you want to ignore a tracked file?",
}, &i18n.Message{
ID: "resetToThisBranch",
Other: "reset to the HEAD of this branch",
}, &i18n.Message{
ID: "resetToThisTag",
Other: "reset to this tag",
}, &i18n.Message{
ID: "resetToUpstream",
Other: "reset to the HEAD of the upstream branch",
ID: "viewResetToUpstreamOptions",
Other: "view upstream reset options",
},
)
}