diff --git a/v2/i18n/bundle.go b/v2/i18n/bundle.go index 513c127d..21651f31 100644 --- a/v2/i18n/bundle.go +++ b/v2/i18n/bundle.go @@ -59,7 +59,7 @@ func (b *Bundle) LoadMessageFile(path string) (*MessageFile, error) { return b.ParseMessageFileBytes(buf, path) } -// MustLoadMessageFile is similar to LoadTranslationFile +// MustLoadMessageFile is similar to LoadMessageFile // except it panics if an error happens. func (b *Bundle) MustLoadMessageFile(path string) { if _, err := b.LoadMessageFile(path); err != nil {