diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-03 18:16:54 +0200 |
---|---|---|
committer | Dawid Dziurla <dawidd0811@gmail.com> | 2018-09-03 18:16:54 +0200 |
commit | 230a5afa4cda31198611751534c839f1bf87b873 (patch) | |
tree | 2964234525433612b31392f3b019e050fbb8c9a7 /pkg/gui | |
parent | c49e4dc287701af125674f91ea917e36cd973dce (diff) |
remove capitalization of keybindings descriptions
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/commits_panel.go | 2 | ||||
-rw-r--r-- | pkg/gui/keybindings.go | 6 | ||||
-rw-r--r-- | pkg/gui/status_panel.go | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go index 605566505..5074968b3 100644 --- a/pkg/gui/commits_panel.go +++ b/pkg/gui/commits_panel.go @@ -144,7 +144,7 @@ func (gui *Gui) handleRenameCommit(g *gocui.Gui, v *gocui.View) error { if gui.getItemPosition(gui.getCommitsView(g)) != 0 { return gui.createErrorPanel(g, gui.Tr.SLocalize("OnlyRenameTopCommit")) } - gui.createPromptPanel(g, v, gui.Tr.SLocalize("RenameCommit"), func(g *gocui.Gui, v *gocui.View) error { + gui.createPromptPanel(g, v, gui.Tr.SLocalize("renameCommit"), func(g *gocui.Gui, v *gocui.View) error { if err := gui.GitCommand.RenameCommit(v.Buffer()); err != nil { return gui.createErrorPanel(g, err.Error()) } diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index c2f53f7ee..9d5dc27ff 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -88,7 +88,7 @@ func (gui *Gui) GetKeybindings() []Binding { Key: 'u', Modifier: gocui.ModNone, Handler: gui.handleCheckForUpdate, - Description: gui.Tr.SLocalize("CheckForUpdate"), + Description: gui.Tr.SLocalize("checkForUpdate"), }, { ViewName: "files", Key: 'c', @@ -284,13 +284,13 @@ func (gui *Gui) GetKeybindings() []Binding { Key: 'r', Modifier: gocui.ModNone, Handler: gui.handleRenameCommit, - Description: gui.Tr.SLocalize("RenameCommit"), + Description: gui.Tr.SLocalize("renameCommit"), }, { ViewName: "commits", Key: 'R', Modifier: gocui.ModNone, Handler: gui.handleRenameCommitEditor, - Description: gui.Tr.SLocalize("RenameCommitEditor"), + Description: gui.Tr.SLocalize("renameCommitEditor"), }, { ViewName: "commits", Key: 'g', diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index eb7f790f0..0e00b1835 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -45,7 +45,7 @@ func (gui *Gui) renderStatusOptions(g *gocui.Gui) error { return gui.renderOptionsMap(g, map[string]string{ "o": gui.Tr.SLocalize("OpenConfig"), "e": gui.Tr.SLocalize("EditConfig"), - "u": gui.Tr.SLocalize("CheckForUpdate"), + "u": gui.Tr.SLocalize("checkForUpdate"), "?": gui.Tr.SLocalize("help"), }) } |