Skip to content

Commit

Permalink
零散词条补充 (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
TC999 authored Jun 26, 2024
1 parent 7eb6088 commit a3f80bd
Showing 1 changed file with 47 additions and 4 deletions.
51 changes: 47 additions & 4 deletions locals.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ I18N.zh["title"] = { // 标题翻译
[/Webhooks · Settings/, "Web 钩子 · 设置"],
[/Add a code of conduct to/, "添加代码行为准则到"],
[/Caches?/, "缓存"],
[/Runners?/, "运行器"],
[/Attestations?/, "证书"],
["_regexp_end", "end"]
],
};
Expand Down Expand Up @@ -462,6 +464,7 @@ I18N.zh["pubilc"] = { // 公共区域翻译
"Your stars": "我的星标",
"Your gists": "我的代码片段",
"Your sponsors": "我的赞助者",
"Create new": "新建", // Android UA 下出现
"Upgrade": "升级",
"Try Enterprise": "试用企业版",
"Free": "免费",
Expand Down Expand Up @@ -1402,6 +1405,7 @@ I18N.zh["page-dashboard"] = { // 已登录的首页 - 仪表板(含组织)
"labeled a pull request": "将标签添加到拉取请求中",
"launched their sponsorship page 💖": "推出了他们的赞助页面 💖",
//[/and (\d+) more/, "和另外 $1 个"],
"All reactions": "所有反应",

"published a release": "发布发行版",
"forked a repository": "复刻仓库",
Expand Down Expand Up @@ -1659,6 +1663,7 @@ I18N.zh["page-profile-public"] = { // 个人首页(含组织)
[/The (.+) achievement will now be shown in your profile./, "现在,将在您的个人资料中显示 “$1” 成就。"],
[/(\d+) repositories/, "$1 仓库"],
[/(\d+) members/, "$1 成员"],
[/and (\d+) more/, "和 $1 个更多"]
],
};
I18N.zh["page-profile/achievements"] = I18N.zh["page-profile-public"]; // ?tab=achievements
Expand Down Expand Up @@ -5943,6 +5948,7 @@ I18N.zh["repository"] = { // 仓库页面 /<user-name>/<repo-name>/

// 操作条
"forked from": "复刻自",
"Public repository · Forked from": "公共仓库 · 复刻自", // Android UA 下出现
"generated from": "创建自",
"mirrored from": "镜像自",

Expand Down Expand Up @@ -6050,6 +6056,10 @@ I18N.zh["repository"] = { // 仓库页面 /<user-name>/<repo-name>/

// 左侧正文

// 自述文件(README.md)
"Filter headings": "筛选标题",
"Edit file": "编辑文件",

// 默认分支被重命名提醒框
"The default branch has been renamed!": "默认分支已被重新命名!",
"is now named": "已被重新命名为",
Expand Down Expand Up @@ -6787,7 +6797,8 @@ I18N.zh["repository/pull_issue_public"] = { // 仓库 - 议题和拉取请求页
"regexp": [ // 正则翻译
[/At least (\d+) approving review is required by reviewers with write access./, "至少需要 $1 个审查者批准。"],
[/(\d+) linked issues?/, "链接 $1 个议题"],
[/Assigned to (.*)/, "分配给 $1"]
[/Assigned to (.*)/, "分配给 $1"],
[/Edited (\d+) times?/, "编辑 $1 次"],
]
};

Expand Down Expand Up @@ -7233,6 +7244,8 @@ I18N.zh["repository/pulls"] = { // 仓库 - 拉取请求页面
"You were mentioned on and commented on this pull request": "您被提及并对此拉取请求发表了评论",
"You commented on this pull request": "您对此拉取请求发表了评论",
"You opened this pull request": "您打开了此拉取请求",

"Suggested change": "建议更改",

},
"regexp": [
Expand All @@ -7244,6 +7257,7 @@ I18N.zh["repository/pulls"] = { // 仓库 - 拉取请求页面
[/(\d+) of (\d+) tasks?/, "$1 / $2 个任务"],
[/(\d+) tasks?/, "$1 个任务"],
[/First time contributing to ([^ ]+)?/, "首次为 $1 做贡献?"],
[/Suggested change/, "建议更改"],
],
};

Expand Down Expand Up @@ -7815,6 +7829,8 @@ I18N.zh["repository/pull"] = { // 仓库 - 某个拉取请求页面
...I18N.zh["repository/pull_issue_public"]["regexp"],

// 具体某条拉取请求
[/Commits?/, "提交"],
[/Files? changed/, "文件更改"],
[/merged (\d+) commits? into/, "将 $1 个提交合并到"],
[/([^ ]+) left review comments?/, "$1 发表了审查意见"],
[/([^ ]+) approved these changes?/, "$1 批准这些更改"], // 具体的拉取请求 审查者
Expand Down Expand Up @@ -8042,6 +8058,13 @@ I18N.zh["repository/compare"] = { // 仓库 - 比较并创建拉取请求
"Nothing to show": "暂无",

"Allow edits and access to secrets by maintainers": "允许维护人员编辑和访问机密",
"If checked,": "如果勾选,",
"users with write access to": "则拥有",
"can add new commits": "写访问权限的用户可以向您的",
"to your": "向您的",
"branch.": "分支添加新提交。",
"You can always change this setting later.": "您可以随时更改这一设置。",
"Got it": "知道了",
// 创建拉取请求 按钮下拉
"Automatically requests reviews from code owners": "自动请求代码所有者进行审查",
"Create draft pull request": "创建拉取请求草案",
Expand All @@ -8050,7 +8073,7 @@ I18N.zh["repository/compare"] = { // 仓库 - 比较并创建拉取请求
"Remember, contributions to this repository should follow its": "请记住,对该仓库的贡献应遵循其",
"security policy": "安全政策",
"code of conduct": "行为准则",
"Remember, contributions to this repository should follow our ": "请记住,对此仓库的贡献应遵循我们的",
"Remember, contributions to this repository should follow our": "请记住,对此仓库的贡献应遵循我们的",
"GitHub Community Guidelines": "GitHub 社区准则",

// 右侧栏补充
Expand All @@ -8073,11 +8096,22 @@ I18N.zh["repository/compare"] = { // 仓库 - 比较并创建拉取请求

// /<user-name>/<repo-name>/compare/<tag>...<branch>
"Commit comments": "提交评论",

"Showing": "显示",
"with": "包含",

},
"regexp": [ // 正则翻译
...I18N.zh["repository-public"]["regexp"],
[/Commits?/, "提交"],
[/Files? changed/, "更改的文件"],
[/committed/, "提交于"],
[/(\d+) contributors?/, "$1 贡献者"],
[/Allow(ing)? edits by maintainers/, "允许维护人员编辑"],
[/users with write access to ([^ ]+) can add new commits/, "则拥有 $1 写访问权限的用户可以向您的"],
[/(\d+) changed files?/, "更改的文件"],
[/(\d+) additions?/, "$1 处增加"],
[/(\d+) deletions?/, "$1 处删除"],
],
};

Expand Down Expand Up @@ -9845,6 +9879,7 @@ I18N.zh["repository/branches"] = { // 仓库 - 分支页面

"Activity": "活动",
"View rules": "查看规则",
"There are no rulesets associated with this branch.": "该分支没有相关的规则集。",

"View more branches": "查看更多分支",

Expand Down Expand Up @@ -10662,6 +10697,12 @@ I18N.zh["repository/security"] = { // 仓库 - 安全页面
"Configure scanning tool": "配置扫描工具",

// 机密扫描警报 /<user-name>/<repo-name>/security/secret-scanning
// 顶端窗口
"Can you give us some feedback?": "您能给我们一些反馈意见吗?",
"We want to better understand our users' needs and experiences.": "我们希望更好地了解用户的需求和体验。",
"Book some time with us": "与我们预约时间,",
"to discuss the GitHub secret scanning experience.": "讨论 GitHub 机密扫描体验。",

"Secret scanning alerts": "机密扫描警报",
"Secret scanning disabled": "机密扫描已停用",
"To scan for secrets, you must first enable secret scanning in": "要扫描机密,您必须首先启用机密扫描在",
Expand Down Expand Up @@ -11497,6 +11538,8 @@ I18N.zh["repository/settings"] = { // 仓库设置 - 通常 /<user-name>/<repo-n
"Developer Certificate of Origin (DCO)": "开发者来源证书(DCO)",
"Learn more about signing off on commits": "了解更多关于签署提交的信息",

"This setting is enabled on the upstream repository. Disabling this setting may block commits from being merged upstream.": "此设置在上游仓库中启用。禁用此设置可能会阻止提交向上游合并。",

"Default branch": "默认分支",
"The default branch is considered the “base” branch in your repository, against which all pull requests and code commits are automatically made, unless you specify a different branch.": "默认分支被认为是仓库中的 “基础” 分支,所有的拉取请求和代码提交都是针对该分支进行的,除非您指定一个不同的分支。",
"Rename branch": "重命名分支",
Expand Down Expand Up @@ -13270,9 +13313,9 @@ I18N.zh["repository/settings/pages"] = { // 仓库设置页面(含组织仓库)

"Visibility": "可见性",
"GitHub Enterprise": "GitHub 企业版",
"With a GitHub Enterprise account, you can restrict access to your GitHub Pages site by publishing it privately. A privately published site can only be accessed by people with read access to the repository the site is published from. You can use privately published sites to share your internal documentation or knowledge base with members of your enterprise.": "使用 GitHub 企业版账户,您可以通过私下发布来限制对 GitHub Pages 站点的访问。私下发布的站点只能由对发布该站点的仓库具有读取权限的人访问。您可以使用私下发布的站点与企业成员共享您的内部文档或知识库。",
"With a GitHub Enterprise account, you can restrict access to your GitHub Pages site by publishing it privately. You can use privately published sites to share your internal documentation or knowledge base with members of your enterprise.": "使用 GitHub 企业版帐户,您可以通过私下发布来限制对 GitHub Pages 站点的访问。您可以使用私下发布的站点与企业成员共享您的内部文档或知识库。",
"Try GitHub Enterprise risk-free for 30 days": "免费无风险试用 GitHub 企业版 30 天",
"Learn more about the visibility of your GitHub Pages site": "了解更多关于GitHub Pages 站点可见性的信息",
"Learn more about the visibility of your GitHub Pages site.": "了解更多关于 GitHub Pages 站点可见性的信息",

},
"regexp": [ // 正则翻译
Expand Down

0 comments on commit a3f80bd

Please sign in to comment.