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

i18n for error message about a feature being disabled for GPG users

This commit is contained in:
Jesse Duffield
2019-03-11 13:27:32 +11:00
parent 4f7f6a073c
commit 3f567c952c
4 changed files with 10 additions and 1 deletions

View File

@ -836,7 +836,7 @@ func (c *GitCommand) DiscardOldFileChanges(commits []*Commit, commitIndex int, f
// one where we handle the possibility of a credential request, and the other
// where we continue the rebase
if c.usingGpg() {
errors.New("feature not available for users using GPG")
errors.New(c.Tr.SLocalize("DisabledForGPG"))
}
commitSha := commits[commitIndex].Sha