Skip to content

Commit

Permalink
添加一些翻译 (#107)
Browse files Browse the repository at this point in the history
Co-authored-by: 沙漠之子 <[email protected]>
  • Loading branch information
TC999 and maboloshi authored Mar 5, 2024
1 parent 8679279 commit ae2275c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions locals.js
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,7 @@ I18N.zh["page-dashboard"] = { // 已登录的首页 - 仪表板(含组织)
"posted a discussion in": "发表讨论于",
"made this repository public": "将此仓库公开",
"labeled a pull request": "将标签添加到拉取请求中",
"launched their sponsorship page 💖": "推出了他们的赞助页面 💖",
//[/and (\d+) more/, "和另外 $1 个"],

"published a release": "发布发行版",
Expand Down Expand Up @@ -1357,6 +1358,7 @@ I18N.zh["page-dashboard"] = { // 已登录的首页 - 仪表板(含组织)
[/(\d+) people reacted with heart/, "$1 个人的反应为爱心"],
[/(\d+) people reacted with rocket/, "$1 个人的反应为火箭"],
[/(\d+) people reacted with eyes/, "$1 个人的反应为眼睛"],
[/Support ([^ ]+)'s open source work/,"支持 $1 的开源工作"],
],
};
I18N.zh["dashboard"] = I18N.zh["page-dashboard"];
Expand Down Expand Up @@ -5383,6 +5385,10 @@ I18N.zh["repository-public"] = { // 仓库 - 公共部分
"Inviting a successor helps ensure the continuity of your work in case you are unable to access your account.": "邀请继任者有助于在您无法访问账户时确保工作的连续性。",
"Invite a successor": "邀请继任者",

// 仓库赞助
"Couldn't load subscription status.": "无法加载赞助状态。",
"Retry": "重试",

},
"regexp": [ // 正则翻译
[/Started (\d+) discussions? in this repository in the past week/, "过去一周内在此仓库中开启了 $1 个讨论"], // 用户 浮动信息卡
Expand Down

0 comments on commit ae2275c

Please sign in to comment.