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>
This commit is contained in:
luzpaz 2022-09-07 14:40:36 -04:00 committed by GitHub
parent 5c70e6aff0
commit cb3b3e519f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 11 additions and 11 deletions

View file

@ -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) {