From 37bb89dac33cb4236bf817e1e2e09cb1cbfade5c Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 4 Oct 2020 11:00:48 +1100 Subject: type i18n --- pkg/commands/patch_rebases.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/commands/patch_rebases.go') diff --git a/pkg/commands/patch_rebases.go b/pkg/commands/patch_rebases.go index c51a24ed7..42e03f1e9 100644 --- a/pkg/commands/patch_rebases.go +++ b/pkg/commands/patch_rebases.go @@ -72,7 +72,7 @@ func (c *GitCommand) MovePatchToSelectedCommit(commits []*models.Commit, sourceC // one where we handle the possibility of a credential request, and the other // where we continue the rebase if c.usingGpg() { - return errors.New(c.Tr.SLocalize("DisabledForGPG")) + return errors.New(c.Tr.DisabledForGPG) } baseIndex := sourceCommitIdx + 1 @@ -139,7 +139,7 @@ func (c *GitCommand) MovePatchToSelectedCommit(commits []*models.Commit, sourceC func (c *GitCommand) PullPatchIntoIndex(commits []*models.Commit, commitIdx int, p *patch.PatchManager, stash bool) error { if stash { - if err := c.StashSave(c.Tr.SLocalize("StashPrefix") + commits[commitIdx].Sha); err != nil { + if err := c.StashSave(c.Tr.StashPrefix + commits[commitIdx].Sha); err != nil { return err } } -- cgit v1.2.3