Skip to content

Commit

Permalink
增加词条:零散词条补充 (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
TC999 authored Jul 6, 2024
1 parent 2fff56a commit 1342c38
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions locals.js
Original file line number Diff line number Diff line change
Expand Up @@ -1372,6 +1372,7 @@ I18N.zh["page-dashboard"] = { // 已登录的首页 - 仪表板(含组织)
"You were mentioned on and opened this pull request": "您被提及并打开了此拉取请求",
"You left a review": "您已评论",
"Changes requested": "要求更改",
"Approved": "已批准",
"Create your first project": "创建你的第一个项目",
"Ready to start building? Create a repository for a new idea or bring over an existing repository to keep contributing to it.": "准备好开始构建了吗?为新想法创建一个仓库或使用现有仓库继续为其做出贡献。",
"Create repository": "创建仓库",
Expand Down Expand Up @@ -5677,6 +5678,8 @@ I18N.zh["repository-public"] = { // 仓库 - 公共部分

"Jump to bottom": "跳到底部", //小屏模式

"committed": "提交于", // 提交浮窗

// 标签栏
"Code": "代码",
"Pull requests": "拉取请求",
Expand Down Expand Up @@ -5883,6 +5886,7 @@ I18N.zh["repository-public"] = { // 仓库 - 公共部分
"You were mentioned on and commented on this pull request": "您在此拉取请求上被提及并发表评论",
"Changes requested": "要求更改",
"You left a review": "您已评论",
"Approved": "已批准",
},
"regexp": [ // 正则翻译
[/Started (\d+) discussions? in this repository in the past week/, "过去一周内在此仓库中开启了 $1 个讨论"], // 用户 浮动信息卡
Expand All @@ -5901,11 +5905,12 @@ I18N.zh["repository-public"] = { // 仓库 - 公共部分
[/, and (\d+) more/, ",以及其他 $1 个组织"], // 用户 浮动信息卡
[/(\d+) repositor(y|ies)/, "$1 个仓库"], // 组织 浮动信息卡
[/(\d+) members?/, "$1 个成员"], // 组织 浮动信息卡
[/Answered (\d+) discussions? in this repository/, "在此仓库中回答了 $1 个讨论"], // 用户 浮动信息卡
[/had recent pushes (\d+) seconds? ago/, "分支有了最新的推送,$1 秒之前"],
[/had recent pushes (\d+) minutes? ago/, "分支有了最新的推送,$1 分钟之前"],
[/had recent pushes less than (\d+) minutes? ago/, "分支有了最新的推送,不到 $1 分钟"],
[/had recent pushes about/, "分支有了最新的推送,大约"],
[/This user is a member of the ([^ ]+)./, "该用户是 $1 组织的成员。"],
[/This user is a member of the ([^ ]+) organization./, "该用户是 $1 组织的成员。"],
[/This user has been invited to collaborate on the ([^ ]+) repository./, "该用户已被邀请在 $1 仓库上进行协作。"],
[/You are the owner of the (.*) repository./, "您是 $1 仓库的所有者。"],
[/This user is the owner of the (.*) repository./, "该用户是 $1 仓库的所有者。"],
Expand Down Expand Up @@ -6413,7 +6418,6 @@ I18N.zh["repository"] = { // 仓库页面 /<user-name>/<repo-name>/
// 正文
"commit": "次提交",
"commits": "次提交",
"committed": "提交于", // 提交浮窗
"failure": "失败",
"success": "成功",
"Approved": "已批准",
Expand Down Expand Up @@ -6724,6 +6728,8 @@ I18N.zh["repository/pull_issue_public"] = { // 仓库 - 议题和拉取请求页
"Everything mentioning you": "任何提及您的",
"View advanced search syntax": "查看高级搜索语法",

"Search all issues": "搜索所有议题",

"Clear current search query, filters, and sorts": "清除当前的搜索查询、筛选器和排序方式",

"Labels": "标签",
Expand Down Expand Up @@ -6802,6 +6808,15 @@ I18N.zh["repository/pull_issue_public"] = { // 仓库 - 议题和拉取请求页
"Draft": "草案",
"This was referenced": "被引用于",

// 图标浮窗
"Open issue": "议题已打开",
"Closed issue": "议题已完成",
"Closed as not planned issue": "议题已关闭因未计划",
"Open Pull Request": "拉取请求已打开",
"Draft Pull Request": "拉取请求草案",
"Merged Pull Request": "拉取请求已合并",
"Closed Pull Request": "拉取请求已关闭",

// [/(\d+) linked pull requests?/, "链接 $1 个拉取请求"],

// 某个拉取请求和某个议题 公共词条
Expand Down Expand Up @@ -8537,7 +8552,7 @@ I18N.zh["repository/commit"] = { // 仓库 - 提交页面
[/(\d+) additions?$/, "$1 处增加"],
[/(\d+) deletions?$/, "$1 处删除"],
[/(\d+) changes: (\d+) additions? & (\d+) deletions?$/, "$1 处更改:$2 处增加和 $3 处删除"],
[/This commit closes issue (#\d+)./, "此提交关闭了提议 $1。"], //具体提交页面
[/This commit closes issue (#\d+)./, "此提交关闭了议题 $1。"], //具体提交页面
[/from ([^ ]+) to ([^ ]+)/, "从 $1 到 $2。"], //具体提交页面
[/([\d,]+) additions, ([\d,]+) deletions not shown because the diff is too large. Please use a local Git client to view these changes./, "$1 处增加,$2 处删除未显示,因为差异太大。请使用本地 Git 客户端查看这些更改。"],
[/(\d+) comments? on commit/, "该提交有 $1 条评论"],
Expand Down Expand Up @@ -8809,6 +8824,7 @@ I18N.zh["repository/discussions"] = { // 讨论页面
"This will not be worked on": "这将不会被处理",

"Edit labels": "编辑标签",
"Filter": "筛选",
"Filter:": "筛选:",
"Closed": "已关闭",
"Answered": "已答复",
Expand Down Expand Up @@ -9205,7 +9221,7 @@ I18N.zh["repository/discussions"] = { // 讨论页面
},
"regexp": [ // 正则翻译
...I18N.zh["repository-public"]["regexp"],
[/Fillter: /, "筛选:"],
[/Fillter:/, "筛选:"],
[/(\d+) categories?/, "$1 个分类"],
[/Congratulations, you've created the first discussion in ([^ ]+)!/, "恭喜您,您已经在 $1 中创建了第一个讨论!"],
[/(\d+) answers?/, "$1 位答复者"],
Expand Down Expand Up @@ -15120,8 +15136,6 @@ I18N.zh["issues"] = { // 议题页面
"Review requests": "审查请求", // pulls
"Pull Requests requesting your review": "请求您审查的拉取请求", // pulls

"Search all issues": "搜索所有议题",

"Visibility": "可见性",
"Repository visibility": "仓库可见性",
"Private repositories only": "只有私有仓库",
Expand Down

0 comments on commit 1342c38

Please sign in to comment.