mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 14:52:43 +01: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:
parent
69b86378ce
commit
64b167138f
2 changed files with 12 additions and 1 deletions
|
@ -13,6 +13,7 @@ version=当前版本
|
||||||
page=页面
|
page=页面
|
||||||
template=模板
|
template=模板
|
||||||
language=语言选项
|
language=语言选项
|
||||||
|
notifications = 通知
|
||||||
create_new=创建...
|
create_new=创建...
|
||||||
user_profile_and_more=用户信息及更多
|
user_profile_and_more=用户信息及更多
|
||||||
signed_in_as=已登录用户
|
signed_in_as=已登录用户
|
||||||
|
@ -36,6 +37,7 @@ admin_panel=管理面板
|
||||||
account_settings=帐户设置
|
account_settings=帐户设置
|
||||||
settings=帐户设置
|
settings=帐户设置
|
||||||
your_profile=个人信息
|
your_profile=个人信息
|
||||||
|
your_starred = 我点赞的仓库
|
||||||
your_settings=用户设置
|
your_settings=用户设置
|
||||||
|
|
||||||
activities=最近活动
|
activities=最近活动
|
||||||
|
@ -555,6 +557,8 @@ issues.label_modify=修改标签
|
||||||
issues.label_deletion=删除标签操作
|
issues.label_deletion=删除标签操作
|
||||||
issues.label_deletion_desc=删除该标签将会移除所有工单中相关的信息。是否继续?
|
issues.label_deletion_desc=删除该标签将会移除所有工单中相关的信息。是否继续?
|
||||||
issues.label_deletion_success=标签删除成功!
|
issues.label_deletion_success=标签删除成功!
|
||||||
|
issues.label.filter_sort.alphabetically = 按字母顺序排序
|
||||||
|
issues.label.filter_sort.reverse_alphabetically = 按字母逆序排序
|
||||||
issues.num_participants=%d 名参与者
|
issues.num_participants=%d 名参与者
|
||||||
issues.attachment.open_tab=`在新的标签页中查看 '%s'`
|
issues.attachment.open_tab=`在新的标签页中查看 '%s'`
|
||||||
issues.attachment.download=`点击下载 '%s'`
|
issues.attachment.download=`点击下载 '%s'`
|
||||||
|
@ -1202,3 +1206,10 @@ default_message=拖曳文件到此处或单击上传
|
||||||
invalid_input_type=您不能上传该类型的文件
|
invalid_input_type=您不能上传该类型的文件
|
||||||
file_too_big=文件体积({{filesize}} MB)超过了最大允许体积({{maxFilesize}} MB)
|
file_too_big=文件体积({{filesize}} MB)超过了最大允许体积({{maxFilesize}} MB)
|
||||||
remove_file=移除文件
|
remove_file=移除文件
|
||||||
|
|
||||||
|
[notification]
|
||||||
|
notifications = 通知
|
||||||
|
unread = 未读消息
|
||||||
|
read = 已读消息
|
||||||
|
no_unread = 您目前没有未读消息。
|
||||||
|
no_read = 您目前没有已读消息。
|
||||||
|
|
|
@ -72,7 +72,7 @@ func Notifications(c *context.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
title := "Notifications"
|
title := c.Tr("notifications")
|
||||||
if count := len(notifications); count > 0 {
|
if count := len(notifications); count > 0 {
|
||||||
title = fmt.Sprintf("(%d) %s", count, title)
|
title = fmt.Sprintf("(%d) %s", count, title)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue