Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
kataras committed Nov 7, 2020
1 parent f765590 commit e70a52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func (i *I18n) Tr(lang, format string, args ...interface{}) (msg string) {
}

if msg == "" && i.DefaultMessageFunc != nil {
msg = i.DefaultMessageFunc(lang, langMatched, format, args)
msg = i.DefaultMessageFunc(lang, langMatched, format, args...)
}

return
Expand Down

0 comments on commit e70a52c

Please sign in to comment.