From 64b167138f380134d3c791eb13e1318b50584001 Mon Sep 17 00:00:00 2001
From: xgitea <50892683@qq.com>
Date: Fri, 13 Jan 2017 17:31:48 +0800
Subject: [PATCH] docs: update translation on notification page for zh-CN
 (#649)

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

* use international resources
---
 options/locale/locale_zh-CN.ini | 11 +++++++++++
 routers/user/notification.go    |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini
index ec9ce278e4..991ea6fa94 100644
--- a/options/locale/locale_zh-CN.ini
+++ b/options/locale/locale_zh-CN.ini
@@ -13,6 +13,7 @@ version=当前版本
 page=页面
 template=模板
 language=语言选项
+notifications = 通知
 create_new=创建...
 user_profile_and_more=用户信息及更多
 signed_in_as=已登录用户
@@ -36,6 +37,7 @@ admin_panel=管理面板
 account_settings=帐户设置
 settings=帐户设置
 your_profile=个人信息
+your_starred = 我点赞的仓库
 your_settings=用户设置
 
 activities=最近活动
@@ -555,6 +557,8 @@ issues.label_modify=修改标签
 issues.label_deletion=删除标签操作
 issues.label_deletion_desc=删除该标签将会移除所有工单中相关的信息。是否继续?
 issues.label_deletion_success=标签删除成功!
+issues.label.filter_sort.alphabetically = 按字母顺序排序
+issues.label.filter_sort.reverse_alphabetically = 按字母逆序排序
 issues.num_participants=%d 名参与者
 issues.attachment.open_tab=`在新的标签页中查看 '%s'`
 issues.attachment.download=`点击下载 '%s'`
@@ -1202,3 +1206,10 @@ default_message=拖曳文件到此处或单击上传
 invalid_input_type=您不能上传该类型的文件
 file_too_big=文件体积({{filesize}} MB)超过了最大允许体积({{maxFilesize}} MB)
 remove_file=移除文件
+
+[notification]
+notifications = 通知
+unread = 未读消息
+read = 已读消息
+no_unread = 您目前没有未读消息。
+no_read = 您目前没有已读消息。
diff --git a/routers/user/notification.go b/routers/user/notification.go
index 4ab93de27f..74a33f7e2c 100644
--- a/routers/user/notification.go
+++ b/routers/user/notification.go
@@ -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)
 	}