summaryrefslogtreecommitdiffstats
path: root/langs
diff options
context:
space:
mode:
authorOleksandr Redko <Oleksandr_Redko@epam.com>2023-05-18 12:05:56 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-05-18 21:25:27 +0200
commit610cedaa61cf1f318ecd4a7818a896b1e56e7662 (patch)
tree3c206f0386b05b44ec1f3bd00f9d96f6904c8446 /langs
parent24e7d0c174a24a016f65be46765ab9c795e1e123 (diff)
all: Fix comments for exported functions and packages
Diffstat (limited to 'langs')
-rw-r--r--langs/i18n/translationProvider.go2
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