mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 06:38:37 -04:00 
			
		
		
		
	fix message key (#13240)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		| @@ -870,8 +870,8 @@ func MergePullRequest(ctx *context.Context, form auth.MergePullRequestForm) { | |||||||
| 		} else if models.IsErrRebaseConflicts(err) { | 		} else if models.IsErrRebaseConflicts(err) { | ||||||
| 			conflictError := err.(models.ErrRebaseConflicts) | 			conflictError := err.(models.ErrRebaseConflicts) | ||||||
| 			flashError, err := ctx.HTMLString(string(tplAlertDetails), map[string]interface{}{ | 			flashError, err := ctx.HTMLString(string(tplAlertDetails), map[string]interface{}{ | ||||||
| 				"Message": ctx.Tr("repo.editor.rebase_conflict", utils.SanitizeFlashErrorString(conflictError.CommitSHA)), | 				"Message": ctx.Tr("repo.pulls.rebase_conflict", utils.SanitizeFlashErrorString(conflictError.CommitSHA)), | ||||||
| 				"Summary": ctx.Tr("repo.editor.rebase_conflict_summary"), | 				"Summary": ctx.Tr("repo.pulls.rebase_conflict_summary"), | ||||||
| 				"Details": utils.SanitizeFlashErrorString(conflictError.StdErr) + "<br>" + utils.SanitizeFlashErrorString(conflictError.StdOut), | 				"Details": utils.SanitizeFlashErrorString(conflictError.StdErr) + "<br>" + utils.SanitizeFlashErrorString(conflictError.StdOut), | ||||||
| 			}) | 			}) | ||||||
| 			if err != nil { | 			if err != nil { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user