mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 12:07:20 +00:00
Update gitea.com/macaron/i18n (#12806)
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
2
vendor/github.com/unknwon/i18n/i18n.go
generated
vendored
2
vendor/github.com/unknwon/i18n/i18n.go
generated
vendored
@ -167,7 +167,7 @@ func SetMessageWithDesc(lang, langDesc string, localeFile interface{}, otherLoca
|
||||
lc.langDesc = langDesc
|
||||
lc.message = message
|
||||
|
||||
if locales.Add(lc) == false {
|
||||
if !locales.Add(lc) {
|
||||
return ErrLangAlreadyExist
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user