diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2021-07-08 07:38:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 13:38:13 +0200 |
commit | e0296b6a6de6450c474fdf7fe62635a05beb49ab (patch) | |
tree | 1e924ac17324f60f6607e65cb51a325b948d1c62 /cmd | |
parent | bc6f060b8cd89685cc32980c4f03cba58850cab1 (diff) | |
download | gitea-e0296b6a6de6450c474fdf7fe62635a05beb49ab.tar.gz gitea-e0296b6a6de6450c474fdf7fe62635a05beb49ab.zip |
Fix various documentation, user-facing, and source comment typos (#16367)
* Fix various doc, user-facing, and source comment typos
Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby`
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/dump.go | 2 | ||||
-rw-r--r-- | cmd/hook.go | 4 | ||||
-rw-r--r-- | cmd/migrate_storage.go | 2 | ||||
-rw-r--r-- | cmd/web_letsencrypt.go | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/cmd/dump.go b/cmd/dump.go index 458f9f91e0..629993b6c8 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -280,7 +280,7 @@ func runDump(ctx *cli.Context) error { } if ctx.IsSet("skip-custom-dir") && ctx.Bool("skip-custom-dir") { - log.Info("Skiping custom directory") + log.Info("Skipping custom directory") } else { customDir, err := os.Stat(setting.CustomPath) if err == nil && customDir.IsDir() { diff --git a/cmd/hook.go b/cmd/hook.go index 2fbbfb4d21..067a0bfb8a 100644 --- a/cmd/hook.go +++ b/cmd/hook.go @@ -165,7 +165,7 @@ Gitea or set your environment appropriately.`, "") } } - // the environment setted on serv command + // the environment is set by serv command isWiki := os.Getenv(models.EnvRepoIsWiki) == "true" username := os.Getenv(models.EnvRepoUsername) reponame := os.Getenv(models.EnvRepoName) @@ -320,7 +320,7 @@ Gitea or set your environment appropriately.`, "") } } - // the environment setted on serv command + // the environment is set by serv command repoUser := os.Getenv(models.EnvRepoUsername) isWiki := os.Getenv(models.EnvRepoIsWiki) == "true" repoName := os.Getenv(models.EnvRepoName) diff --git a/cmd/migrate_storage.go b/cmd/migrate_storage.go index 8ff84d690b..8123716f9b 100644 --- a/cmd/migrate_storage.go +++ b/cmd/migrate_storage.go @@ -184,7 +184,7 @@ func runMigrateStorage(ctx *cli.Context) error { return fmt.Errorf("Unsupported storage: %s", ctx.String("type")) } - log.Warn("All files have been copied to the new placement but old files are still on the orignial placement.") + log.Warn("All files have been copied to the new placement but old files are still on the original placement.") return nil } diff --git a/cmd/web_letsencrypt.go b/cmd/web_letsencrypt.go index 15a3c92e8b..d50d803e1d 100644 --- a/cmd/web_letsencrypt.go +++ b/cmd/web_letsencrypt.go @@ -19,7 +19,7 @@ import ( func runLetsEncrypt(listenAddr, domain, directory, email string, m http.Handler) error { // If HTTP Challenge enabled, needs to be serving on port 80. For TLSALPN needs 443. - // Due to docker port mapping this can't be checked programatically + // Due to docker port mapping this can't be checked programmatically // TODO: these are placeholders until we add options for each in settings with appropriate warning enableHTTPChallenge := true enableTLSALPNChallenge := true |