summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-09-07 14:40:36 -0400
committerGitHub <noreply@github.com>2022-09-07 14:40:36 -0400
commitcb3b3e519f4689821476474214a49a8ae7cd4f58 (patch)
treebfb6aa01b8c69ccbe130cc91b7d7b42109119274 /routers
parent5c70e6aff0da5dab9e751c0e5426533e5a5e6ee9 (diff)
downloadgitea-cb3b3e519f4689821476474214a49a8ae7cd4f58.tar.gz
gitea-cb3b3e519f4689821476474214a49a8ae7cd4f58.zip
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 <techknowlogick@gitea.io>
Diffstat (limited to 'routers')
-rw-r--r--routers/web/repo/view.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/view.go b/routers/web/repo/view.go
index 24f559fe45..cdfb4b9906 100644
--- a/routers/web/repo/view.go
+++ b/routers/web/repo/view.go
@@ -136,7 +136,7 @@ func renderDirectory(ctx *context.Context, treeLink string) {
}
// localizedExtensions prepends the provided language code with and without a
-// regional identifier to the provided extenstion.
+// regional identifier to the provided extension.
// Note: the language code will always be lower-cased, if a region is present it must be separated with a `-`
// Note: ext should be prefixed with a `.`
func localizedExtensions(ext, languageCode string) (localizedExts []string) {