Skip to content

Commit 4655098

Browse files
committed
remove repetitive words
Signed-off-by: pengqiseven <912170095@qq.com> remove repetitive words Signed-off-by: pengqiseven <912170095@qq.com>
1 parent a192a5e commit 4655098

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

docs/content/administration/mail-templates.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ clients don't even support HTML, so they show the text version included in the g
163163

164164
If the template fails to render, it will be noticed only at the moment the mail is sent.
165165
A default subject is used if the subject template fails, and whatever was rendered successfully
166-
from the the _mail body_ is used, disregarding the rest.
166+
from the _mail body_ is used, disregarding the rest.
167167

168168
Please check [Gitea's logs](administration/logging-config.md) for error messages in case of trouble.
169169

models/issues/issue_search.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ func applyReviewRequestedCondition(sess *xorm.Session, reviewRequestedID int64)
393393

394394
func applyReviewedCondition(sess *xorm.Session, reviewedID int64) *xorm.Session {
395395
// Query for pull requests where you are a reviewer or commenter, excluding
396-
// any pull requests already returned by the the review requested filter.
396+
// any pull requests already returned by the review requested filter.
397397
notPoster := builder.Neq{"issue.poster_id": reviewedID}
398398
reviewed := builder.In("issue.id", builder.
399399
Select("issue_id").

models/user/user.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ func (u *User) GetDisplayName() string {
425425
return u.Name
426426
}
427427

428-
// GetCompleteName returns the the full name and username in the form of
428+
// GetCompleteName returns the full name and username in the form of
429429
// "Full Name (username)" if full name is not empty, otherwise it returns
430430
// "username".
431431
func (u *User) GetCompleteName() string {

modules/git/commit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ func (c *Commit) GetFilesChangedSinceCommit(pastCommit string) ([]string, error)
311311
return c.repo.GetFilesChangedBetween(pastCommit, c.ID.String())
312312
}
313313

314-
// FileChangedSinceCommit Returns true if the file given has changed since the the past commit
314+
// FileChangedSinceCommit Returns true if the file given has changed since the past commit
315315
// YOU MUST ENSURE THAT pastCommit is a valid commit ID.
316316
func (c *Commit) FileChangedSinceCommit(filename, pastCommit string) (bool, error) {
317317
return c.repo.FileChangedBetweenCommits(filename, pastCommit, c.ID.String())

routers/api/v1/repo/issue.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func ListIssues(ctx *context.APIContext) {
368368
// required: false
369369
// - name: created_by
370370
// in: query
371-
// description: Only show items which were created by the the given user
371+
// description: Only show items which were created by the given user
372372
// type: string
373373
// - name: assigned_by
374374
// in: query

routers/api/v1/repo/pull_review.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ func prepareSingleReview(ctx *context.APIContext) (*issues_model.Review, *issues
545545
return nil, nil, true
546546
}
547547

548-
// validate the the review is for the given PR
548+
// validate the review is for the given PR
549549
if review.IssueID != pr.IssueID {
550550
ctx.NotFound("ReviewNotInPR")
551551
return nil, nil, true

templates/swagger/v1_json.tmpl

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)