1
1
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:
zeripath
2020-09-10 22:32:58 +01:00
committed by GitHub
parent 47289344e2
commit daefdd1385
12 changed files with 80 additions and 27 deletions

View File

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