diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2022-07-12 17:32:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 23:32:37 +0200 |
commit | d29d6d1991496cc688e9418db4960ca945fd9d6b (patch) | |
tree | 878dcc8a2c8621f9328d5093c6003d664d6fe9ed /routers/web/repo/pull.go | |
parent | 966e7bdc9b875abb7192cd572beec40123a815da (diff) | |
download | gitea-d29d6d1991496cc688e9418db4960ca945fd9d6b.tar.gz gitea-d29d6d1991496cc688e9418db4960ca945fd9d6b.zip |
Fix various typos (#20338)
* Fix various typos
Found via `codespell -q 3 -S ./options/locale,./options/license,./public/vendor -L actived,allways,attachements,ba,befores,commiter,pullrequest,pullrequests,readby,splitted,te,unknwon`
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'routers/web/repo/pull.go')
-rw-r--r-- | routers/web/repo/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/pull.go b/routers/web/repo/pull.go index 6e8f575ad5..2a961c3cbc 100644 --- a/routers/web/repo/pull.go +++ b/routers/web/repo/pull.go @@ -1440,7 +1440,7 @@ func UpdatePullRequestTarget(ctx *context.Context) { err := err.(issues_model.ErrPullRequestAlreadyExists) RepoRelPath := ctx.Repo.Owner.Name + "/" + ctx.Repo.Repository.Name - errorMessage := ctx.Tr("repo.pulls.has_pull_request", html.EscapeString(ctx.Repo.RepoLink+"/pulls/"+strconv.FormatInt(err.IssueID, 10)), html.EscapeString(RepoRelPath), err.IssueID) // FIXME: Creates url insidde locale string + errorMessage := ctx.Tr("repo.pulls.has_pull_request", html.EscapeString(ctx.Repo.RepoLink+"/pulls/"+strconv.FormatInt(err.IssueID, 10)), html.EscapeString(RepoRelPath), err.IssueID) // FIXME: Creates url inside locale string ctx.Flash.Error(errorMessage) ctx.JSON(http.StatusConflict, map[string]interface{}{ |