diff options
author | Oleksandr Redko <[email protected]> | 2023-05-18 12:05:56 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-05-18 21:25:27 +0200 |
commit | 610cedaa61cf1f318ecd4a7818a896b1e56e7662 (patch) | |
tree | 3c206f0386b05b44ec1f3bd00f9d96f6904c8446 /langs | |
parent | 24e7d0c174a24a016f65be46765ab9c795e1e123 (diff) | |
download | hugo-610cedaa61cf1f318ecd4a7818a896b1e56e7662.tar.gz hugo-610cedaa61cf1f318ecd4a7818a896b1e56e7662.zip |
all: Fix comments for exported functions and packages
Diffstat (limited to 'langs')
-rw-r--r-- | langs/i18n/translationProvider.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/langs/i18n/translationProvider.go b/langs/i18n/translationProvider.go index 6d7b3ecfd..2c3c15710 100644 --- a/langs/i18n/translationProvider.go +++ b/langs/i18n/translationProvider.go @@ -123,7 +123,7 @@ func addTranslationFile(bundle *i18n.Bundle, r source.File) error { return nil } -// Clone sets the language func for the new language. +// CloneResource sets the language func for the new language. func (tp *TranslationProvider) CloneResource(dst, src *deps.Deps) error { dst.Translate = tp.t.Func(dst.Conf.Language().Lang) return nil |