diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go index 9ada7634e..bcc47f6b5 100644 --- a/pkg/gui/commit_message_panel.go +++ b/pkg/gui/commit_message_panel.go @@ -62,10 +62,11 @@ func (gui *Gui) handleCommitFocused(g *gocui.Gui, v *gocui.View) error { } message := gui.Tr.TemplateLocalize( - "CloseConfirm", + "CommitMessageConfirm", Teml{ "keyBindClose": "esc", "keyBindConfirm": "enter", + "keyBindNewLine": "tab", }, ) gui.renderString(g, "options", message) diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index 01a30a70d..032feb8ac 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -214,12 +214,15 @@ func addDutch(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "NoTrackingThisBranch", Other: "deze branch wordt niet gevolgd", + }, &i18n.Message{ + ID: "CommitMessageConfirm", + Other: "{{.keyBindClose}}: Sluiten, {{.keyBindNewLine}}: Nieuwe lijn, {{.keyBindConfirm}}: Bevestig", }, &i18n.Message{ ID: "CommitWithoutMessageErr", Other: "Je kan geen commit maken zonder commit bericht", }, &i18n.Message{ ID: "CloseConfirm", - Other: "{{.keyBindClose}}: Sluiten, {{.keyBindConfirm}}: Bevestigen", + Other: "{{.keyBindClose}}: Sluiten, {{.keyBindConfirm}}: Bevestig", }, &i18n.Message{ ID: "close", Other: "sluiten", diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index d26790033..72b079f22 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -240,6 +240,9 @@ func addEnglish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "NoTrackingThisBranch", Other: "There is no tracking for this branch", + }, &i18n.Message{ + ID: "CommitMessageConfirm", + Other: "{{.keyBindClose}}: close, {{.keyBindNewLine}}: new line, {{.keyBindConfirm}}: confirm", }, &i18n.Message{ ID: "CommitWithoutMessageErr", Other: "You cannot commit without a commit message", diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go index f1f893a43..6dce69481 100644 --- a/pkg/i18n/polish.go +++ b/pkg/i18n/polish.go @@ -206,6 +206,9 @@ func addPolish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "NoTrackingThisBranch", Other: "Brak śledzenia dla tej gałęzi", + }, &i18n.Message{ + ID: "CommitMessageConfirm", + Other: "{{.keyBindClose}}: zamknij, {{.keyBindNewLine}}: new line, {{.keyBindConfirm}}: potwierdź", }, &i18n.Message{ ID: "CommitWithoutMessageErr", Other: "Nie możesz commitować bez podania wiadomości",