aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/view.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/view.go')
-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) {