1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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