mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-04 06:37:45 +00:00
Update dependencies (#1628)
This commit is contained in:
7
vendor/github.com/mattermost/go-i18n/i18n/bundle/bundle.go
generated
vendored
7
vendor/github.com/mattermost/go-i18n/i18n/bundle/bundle.go
generated
vendored
@ -386,12 +386,13 @@ func (b *Bundle) translate(lang *language.Language, translationID string, args .
|
||||
countInt, ok := count.(int)
|
||||
if ok && countInt > 1 {
|
||||
template = translation.Template(language.Other)
|
||||
if template == nil {
|
||||
return translationID
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if template == nil {
|
||||
return translationID
|
||||
}
|
||||
|
||||
s := template.Execute(data)
|
||||
if s == "" {
|
||||
return translationID
|
||||
|
Reference in New Issue
Block a user