Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 16120c0

Browse files
kzmitechknowlogick
andauthoredOct 21, 2020
fix message key (#13240)
Co-authored-by: techknowlogick <[email protected]>
1 parent f0fe568 commit 16120c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎routers/repo/pull.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,8 +870,8 @@ func MergePullRequest(ctx *context.Context, form auth.MergePullRequestForm) {
870870
} else if models.IsErrRebaseConflicts(err) {
871871
conflictError := err.(models.ErrRebaseConflicts)
872872
flashError, err := ctx.HTMLString(string(tplAlertDetails), map[string]interface{}{
873-
"Message": ctx.Tr("repo.editor.rebase_conflict", utils.SanitizeFlashErrorString(conflictError.CommitSHA)),
874-
"Summary": ctx.Tr("repo.editor.rebase_conflict_summary"),
873+
"Message": ctx.Tr("repo.pulls.rebase_conflict", utils.SanitizeFlashErrorString(conflictError.CommitSHA)),
874+
"Summary": ctx.Tr("repo.pulls.rebase_conflict_summary"),
875875
"Details": utils.SanitizeFlashErrorString(conflictError.StdErr) + "<br>" + utils.SanitizeFlashErrorString(conflictError.StdOut),
876876
})
877877
if err != nil {

0 commit comments

Comments
 (0)
Please sign in to comment.