Skip to content

Commit cb3b3e5

Browse files
Fix various typos (#21103)
Found via `codespell -q 3 -S ./options/locale,./options/license,./public/vendor,./web_src/fomantic -L actived,allways,attachements,ba,befores,commiter,pullrequest,pullrequests,readby,splitted,te,unknwon` Co-authored-by: techknowlogick <[email protected]>
1 parent 5c70e6a commit cb3b3e5

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

docs/content/doc/installation/windows-service.en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ Open "Windows Services", search for the service named "gitea", right-click it an
4949
"Run". If everything is OK, Gitea will be reachable on `http://localhost:3000` (or the port
5050
that was configured).
5151

52-
## Adding startup dependancies
52+
## Adding startup dependencies
5353

54-
To add a startup dependancy to the Gitea Windows service (eg Mysql, Mariadb), as an Administrator, then run the following command:
54+
To add a startup dependency to the Gitea Windows service (eg Mysql, Mariadb), as an Administrator, then run the following command:
5555

5656
```
5757
sc.exe config gitea depend= mariadb

models/activities/repo_activity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type ActivityAuthorData struct {
2828
Commits int64 `json:"commits"`
2929
}
3030

31-
// ActivityStats represets issue and pull request information.
31+
// ActivityStats represents issue and pull request information.
3232
type ActivityStats struct {
3333
OpenedPRs issues_model.PullRequestList
3434
OpenedPRAuthorCount int64

models/packages/package_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestHasOwnerPackages(t *testing.T) {
4949
assert.NotNil(t, pv)
5050
assert.NoError(t, err)
5151

52-
// A package with an internal package version gets automaticaly cleaned up and should return false
52+
// A package with an internal package version gets automatically cleaned up and should return false
5353
has, err = packages_model.HasOwnerPackages(db.DefaultContext, owner.ID)
5454
assert.False(t, has)
5555
assert.NoError(t, err)

models/repo/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"xorm.io/builder"
2828
)
2929

30-
// ErrUserDoesNotHaveAccessToRepo represets an error where the user doesn't has access to a given repo.
30+
// ErrUserDoesNotHaveAccessToRepo represents an error where the user doesn't has access to a given repo.
3131
type ErrUserDoesNotHaveAccessToRepo struct {
3232
UserID int64
3333
RepoName string

modules/packages/vagrant/metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type Metadata struct {
2626
RepositoryURL string `json:"repository_url,omitempty"`
2727
}
2828

29-
// ParseMetadataFromBox parses the metdata of a box file
29+
// ParseMetadataFromBox parses the metadata of a box file
3030
func ParseMetadataFromBox(r io.Reader) (*Metadata, error) {
3131
gzr, err := gzip.NewReader(r)
3232
if err != nil {

options/gitignore/Bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/bazel-*
77

88
# Directories for the Bazel IntelliJ plugin containing the generated
9-
# IntelliJ project files and plugin configuration. Seperate directories are
9+
# IntelliJ project files and plugin configuration. Separate directories are
1010
# for the IntelliJ, Android Studio and CLion versions of the plugin.
1111
/.ijwb/
1212
/.aswb/

routers/web/repo/view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func renderDirectory(ctx *context.Context, treeLink string) {
136136
}
137137

138138
// localizedExtensions prepends the provided language code with and without a
139-
// regional identifier to the provided extenstion.
139+
// regional identifier to the provided extension.
140140
// Note: the language code will always be lower-cased, if a region is present it must be separated with a `-`
141141
// Note: ext should be prefixed with a `.`
142142
func localizedExtensions(ext, languageCode string) (localizedExts []string) {

templates/repo/diff/compare.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</h2>
1414
{{if .Flash.WarningMsg}}
1515
{{/*
16-
There's alreay a importing of alert.tmpl in new_form.tmpl,
16+
There's already an importing of alert.tmpl in new_form.tmpl,
1717
but only the negative message will be displayed within forms for some reasons, see semantic.css:10659.
1818
To avoid repeated negative messages, the importing here if for .Flash.WarningMsg only.
1919
*/}}

templates/repo/issue/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="ui divider"></div>
99
{{if .Flash.WarningMsg}}
1010
{{/*
11-
There's alreay a importing of alert.tmpl in new_form.tmpl,
11+
There's already an importing of alert.tmpl in new_form.tmpl,
1212
but only the negative message will be displayed within forms for some reasons, see semantic.css:10659.
1313
To avoid repeated negative messages, the importing here if for .Flash.WarningMsg only.
1414
*/}}

tests/integration/pull_status_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func doAPICreateCommitStatus(ctx APITestContext, commitID string, status api.Com
107107

108108
func TestPullCreate_EmptyChangesWithDifferentCommits(t *testing.T) {
109109
// Merge must continue if commits SHA are different, even if content is same
110-
// Reason: gitflow and merging master back into develop, where is high possiblity, there are no changes
110+
// Reason: gitflow and merging master back into develop, where is high possibility, there are no changes
111111
// but just commit saying "Merge branch". And this meta commit can be also tagged,
112112
// so we need to have this meta commit also in develop branch.
113113
onGiteaRun(t, func(t *testing.T, u *url.URL) {

0 commit comments

Comments
 (0)