all: Fix typos in function names and comments

This commit is contained in:
Oleksandr Redko 2023-05-22 20:11:12 +03:00 committed by Bjørn Erik Pedersen
parent 12dc9a6e4a
commit 9009c8cdca
27 changed files with 41 additions and 41 deletions

View file

@ -92,7 +92,7 @@ func NewLanguage(lang, defaultContentLanguage, timeZone string, languageConfig L
return l, l.loadLocation(timeZone)
}
// This is injected from hugolib to avoid cirular dependencies.
// This is injected from hugolib to avoid circular dependencies.
var DeprecationFunc = func(item, alternative string, err bool) {}
const paramsDeprecationWarning = `.Language.Params is deprecated and will be removed in a future release. Use site.Params instead.