add spans to i18n

This commit is contained in:
Jesse Duffield 2021-04-11 19:35:42 +10:00
parent 0bebfe454e
commit adee0b8ccb
22 changed files with 252 additions and 89 deletions

View file

@ -21,7 +21,7 @@ func (gui *Gui) handleCommitConfirm() error {
}
cmdStr := gui.GitCommand.CommitCmdStr(message, flags)
gui.OnRunCommand(oscommands.NewCmdLogEntry(cmdStr, "Commit", true))
gui.OnRunCommand(oscommands.NewCmdLogEntry(cmdStr, gui.Tr.Spans.Commit, true))
return gui.withGpgHandling(cmdStr, gui.Tr.CommittingStatus, func() error {
_ = gui.returnFromContext()
gui.clearEditorView(gui.Views.CommitMessage)