1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

docs: update translation on notification page for zh-CN (#649)

* docs: update translation on notification page for zh-CN

* use international resources
This commit is contained in:
xgitea
2017-01-13 17:31:48 +08:00
committed by Lunny Xiao
parent 69b86378ce
commit 64b167138f
2 changed files with 12 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ func Notifications(c *context.Context) {
return
}
title := "Notifications"
title := c.Tr("notifications")
if count := len(notifications); count > 0 {
title = fmt.Sprintf("(%d) %s", count, title)
}