diff options
author | Iwasa Kazmi <kzmizzz@gmail.com> | 2020-10-22 04:59:12 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 22:59:12 +0300 |
commit | 16120c059fcaa030fa45c74d41119ff96e3b4dc5 (patch) | |
tree | 04b3ea4a4101604cf8c543c97d5bd77e772f7672 /routers | |
parent | f0fe5683feb2799e3ca467bc75fd77871b65452b (diff) | |
download | gitea-16120c059fcaa030fa45c74d41119ff96e3b4dc5.tar.gz gitea-16120c059fcaa030fa45c74d41119ff96e3b4dc5.zip |
fix message key (#13240)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/pull.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go index 441bf9dbfe..1b3f835e4f 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -870,8 +870,8 @@ func MergePullRequest(ctx *context.Context, form auth.MergePullRequestForm) { } else if models.IsErrRebaseConflicts(err) { conflictError := err.(models.ErrRebaseConflicts) flashError, err := ctx.HTMLString(string(tplAlertDetails), map[string]interface{}{ - "Message": ctx.Tr("repo.editor.rebase_conflict", utils.SanitizeFlashErrorString(conflictError.CommitSHA)), - "Summary": ctx.Tr("repo.editor.rebase_conflict_summary"), + "Message": ctx.Tr("repo.pulls.rebase_conflict", utils.SanitizeFlashErrorString(conflictError.CommitSHA)), + "Summary": ctx.Tr("repo.pulls.rebase_conflict_summary"), "Details": utils.SanitizeFlashErrorString(conflictError.StdErr) + "<br>" + utils.SanitizeFlashErrorString(conflictError.StdOut), }) if err != nil { |