4
0
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:
Wim
2021-10-30 15:17:50 +02:00
committed by GitHub
parent f65b18c2f6
commit 835dd2635a
9 changed files with 93 additions and 29 deletions

View File

@ -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