diff options
author | Mark Kopenga <mkopenga@gmail.com> | 2018-08-16 07:16:32 +0200 |
---|---|---|
committer | Mark Kopenga <mkopenga@gmail.com> | 2018-08-16 07:16:32 +0200 |
commit | 88e1a815fe5c4ddf21779ca4a93f029b7b9b9239 (patch) | |
tree | 1a03be425b0ac411f3d38cceb0ce5511af22b68b /pkg/gui/commit_message_panel.go | |
parent | 9abbfe5a43ea7b2a9758f910dd51d41ae43cf45b (diff) |
Fixed comment on issue #137 from @jesseduffield
Diffstat (limited to 'pkg/gui/commit_message_panel.go')
-rw-r--r-- | pkg/gui/commit_message_panel.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go index 086d4f287..697fbc024 100644 --- a/pkg/gui/commit_message_panel.go +++ b/pkg/gui/commit_message_panel.go @@ -7,7 +7,7 @@ import ( func (gui *Gui) handleCommitConfirm(g *gocui.Gui, v *gocui.View) error { message := gui.trimmedContent(v) if message == "" { - return gui.createErrorPanel(g, gui.Tr.SLocalize("CommitWithoutMessageErr", "You cannot commit without a commit message")) + return gui.createErrorPanel(g, gui.Tr.SLocalize("CommitWithoutMessageErr")) } sub, err := gui.GitCommand.Commit(g, message) if err != nil { @@ -50,7 +50,6 @@ func (gui *Gui) handleNewlineCommitMessage(g *gocui.Gui, v *gocui.View) error { func (gui *Gui) handleCommitFocused(g *gocui.Gui, v *gocui.View) error { message := gui.Tr.TemplateLocalize( "CloseConfirm", - "{{.keyBindClose}}: close, {{.keyBindConfirm}}: confirm", map[string]interface{}{ "keyBindClose": "esc", "keyBindConfirm": "enter", |