Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 62 additions & 1 deletion locals.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ I18N.conf = {
* 导入仓库 /new/import
* ...
*/
rePagePath: /^\/($|home|dashboard|feed|copilot|spark|signup|account_verifications|login\/oauth|login|logout|sessions?|password_reset|orgs|explore|topics|notifications\/subscriptions|notifications|watching|stars|issues|pulls|repos|search|trending|showcases|new\/(import|project)|new|import|settings\/(profile|admin|appearance|accessibility|notifications|billing|emails|security_analysis|security-log|security|auth|sessions|keys|ssh|gpg|organizations|enterprises|blocked_users|interaction_limits|code_review_limits|repositories|codespaces|models|codespaces\/allow_permissions|deleted_repositories|packages|copilot|pages|replies|installations|apps\/authorizations|reminders|sponsors-log|apps|(?:personal-access-|)tokens|developers|applications\/new|applications|connections\/applications|education\/benefits)|settings|installations\/new|marketplace|apps|account\/(organizations\/new|choose|upgrade|billing\/history)|projects|redeem|discussions|collections|sponsors|sponsoring|github-copilot\/(signup|free_signup|code-review-waitlist|pro)|codespaces|developer\/register|features|security|sitemap|education|mcp)|^\/users\/[^\/]+\/(projects|packages|succession\/invitation)/,
rePagePath: /^\/($|home|dashboard|feed|copilot|spark|signup|account_verifications|login\/oauth|login|logout|sessions?|password_reset|orgs|explore|topics|notifications\/subscriptions|notifications|watching|stars|issues|pulls|repos|search|trending|showcases|new\/(import|project)|new|import|settings\/(profile|admin|appearance|accessibility|notifications|billing|emails|security_analysis|security-log|security|auth|sessions|keys|ssh|gpg|credentials|organizations|enterprises|blocked_users|interaction_limits|code_review_limits|repositories|codespaces|models|codespaces\/allow_permissions|deleted_repositories|packages|copilot|pages|replies|installations|apps\/authorizations|reminders|sponsors-log|apps|(?:personal-access-|)tokens|developers|applications\/new|applications|connections\/applications|education\/benefits)|settings|installations\/new|marketplace|apps|account\/(organizations\/new|choose|upgrade|billing\/history)|projects|redeem|discussions|collections|sponsors|sponsoring|github-copilot\/(signup|free_signup|code-review-waitlist|pro)|codespaces|developer\/register|features|security|sitemap|education|mcp)|^\/users\/[^\/]+\/(projects|packages|succession\/invitation)/,

// 仓库路径
rePagePathRepo: /^\/[^\/]+\/[^\/]+\/(issues|pulls|pull|tree|watchers|stargazers|new|edit|delete|upload|find|models|wiki|branches|discussions|activity|rules|releases|packages|tags|labels|milestones?|compare|commit|blob|blame|actions(\/metrics\/(usage|performance))?|runs|deployments|security|pulse|community|forks|fork|import|graphs\/(contributors|community|traffic|commit-activity|code-frequency)|network$|network\/(dependencies|dependents|updates|members)|settings\/(access|code_review_limits|interaction_limits|branches|branch_protection_rules|tag_protection|rules|actions|models\/access-policy|hooks|copilot\/(code_review|coding_agent)|environments|codespaces|pages|security_analysis|dependabot_rules|keys|secrets|variables|installations|notifications|key_links)|settings|transfer|projects\/new|projects|pkgs|contribute|subscription|invitations|codespaces|attestations|custom-properties|reported_content|agents|tasks)/,
Expand Down Expand Up @@ -758,6 +758,7 @@ I18N["zh-CN"]["public"] = { // 公共区域翻译

// 搜索栏
"Search or jump to...": "搜索或跳转到…",
"Search or jump to…": "搜索或跳转到…",
"Type": "请键入",
"to search": "去搜索",
"Command palette": "命令面板",
Expand Down Expand Up @@ -3644,6 +3645,7 @@ I18N["zh-CN"]["payment-module"] = { // 通用账单及支付信息模块
I18N["zh-CN"]["settings-menu"] = { // 设置 - 公共部分
"static": { // 静态翻译
"Settings": "设置", // 新版全局导航
"User settings": "用户设置",

"Your personal account": "我的个人账户",
"Switch settings context": "切换设置上下文", // 存在组织时
Expand All @@ -3668,6 +3670,7 @@ I18N["zh-CN"]["settings-menu"] = { // 设置 - 公共部分
"Emails": "电子邮箱",
"Password and authentication": "密码和身份验证",
"Sessions": "会话",
"Credentials": "凭据",
"SSH and GPG keys": "SSH 与 GPG 公钥",
"Organizations": "组织",
"Enterprises": "企业版",
Expand All @@ -3681,9 +3684,11 @@ I18N["zh-CN"]["settings-menu"] = { // 设置 - 公共部分
// 代码空间
"Models": "模型",
"Packages": "软件包",
"GitHub Copilot": "GitHub Copilot",
"Copilot": "GitHub Copilot",
"Features": "功能",
"Coding agent": "编程智能体",
"GitHub Pages": "GitHub Pages",
"Pages": "GitHub Pages",
"Saved replies": "快捷回复",

Expand Down Expand Up @@ -5648,6 +5653,38 @@ I18N["zh-CN"]["settings/sessions"] = {
},
};

I18N["zh-CN"]["settings/credentials"] = { // 设置 - 凭据
"static": { // 静态翻译
...I18N["zh-CN"]["settings-menu"]["static"],

// 凭据 https://github.com/settings/credentials
"Credentials": "凭据",
"View and manage all the credentials generated or authorized by your personal account.": "查看和管理您的个人账户生成或授权的所有凭据。",

"Fine-grained personal access tokens": "精细化的个人访问令牌",
"Fine-grained personal access tokens generated by your personal account.": "您的个人账户生成的精细化个人访问令牌。",
"Personal access tokens (classic)": "个人访问令牌(经典)",
"Personal access tokens (classic) generated by your personal account.": "您的个人账户生成的个人访问令牌(经典)。",
"Authorized OAuth apps": "授权的 OAuth 应用",
"OAuth apps that have been authorized to access your account.": "已获授权访问您账户的 OAuth 应用。",
"Authorized GitHub Apps": "授权的 GitHub 应用",
"GitHub Apps that have been authorized to access your account.": "已获授权访问您账户的 GitHub 应用。",
"SSH keys": "SSH 密钥",
"SSH keys associated with your account.": "与您账户关联的 SSH 密钥。",
},
"regexp": [ // 正则翻译
[/^(\d+) tokens?$/, "$1 个令牌"],
[/^(\d+) OAuth apps?$/, "$1 个 OAuth 应用"],
[/^(\d+) GitHub Apps?$/, "$1 个 GitHub 应用"],
[/^(\d+) keys?$/, "$1 个密钥"],
],
"title": {
"static": {
"Credentials": "凭据",
},
},
};

I18N["zh-CN"]["settings/keys"] = { // 设置 - SSH 与 GPG 公钥
"static": { // 静态翻译
...I18N["zh-CN"]["settings-menu"]["static"],
Expand Down Expand Up @@ -23007,6 +23044,7 @@ I18N["zh-CN"]["sponsors"] = { // 赞助界面
// 赞助者账户页面 https://github.com/sponsors/accounts
// 标题
"GitHub Sponsors accounts": "GitHub 赞助者账户",
"GitHub Sponsors dashboards": "GitHub 赞助者仪表板",
// 管理
"Manage who you sponsor": "管理您赞助的对象",
"You haven't sponsored anyone yet.": "您还没有赞助任何人。",
Expand All @@ -23018,7 +23056,9 @@ I18N["zh-CN"]["sponsors"] = { // 赞助界面

"GitHub Sponsors applications": "GitHub 赞助者申请",
"Pending": "排队",
"Label: Pending": "标签:排队",
"This GitHub Sponsors profile is waiting to be reviewed by GitHub.": "此 GitHub 赞助者个人资料正在等待 GitHub 审核。",
"You've been accepted to join the program! Set up your GitHub Sponsors profile now.": "您已获准加入该计划!请立即设置您的 GitHub 赞助者个人资料。",
"Manage": "管理",

// GitHub 赞助者个人资料 https://github.com/sponsors/<user-name>
Expand Down Expand Up @@ -23067,6 +23107,27 @@ I18N["zh-CN"]["sponsors"] = { // 赞助界面
"Launch a": "启动一个",
"GitHub Sponsors profile": "GitHub 赞助者资料",
"and start receiving funding.": "并开始获得资金。",
"Your profile isn't live yet. We need more information to continue.": "您的个人资料尚未上线。我们需要更多信息才能继续。",
"Confirm your": "确认您账户的",
"GitHub two-factor authentication": "GitHub 双因素身份验证",
"for your account.": "。",
"Publish your GitHub Sponsors profile": "发布您的 GitHub 赞助者个人资料",
"Completed steps": "已完成步骤",
"Fill out your": "填写您的",
"profile details": "个人资料详情",
"Confirm Your Identity": "确认您的身份",
"First name": "名字",
"Last name": "姓氏",
"(Street, P.O. box)": "(街道,邮政信箱)",
"Address line 2": "地址第 2 行",
"(Apartment, suite, unit)": "(公寓、套房、单元)",
"Country/Region": "国家/地区",
"State/Province": "州/省",
"Required for certain countries": "某些国家/地区需要",
"Postal/Zip code": "邮政编码",
"(9-digit zip code for US)": "(美国为 9 位邮政编码)",
"VAT/GST ID": "增值税/消费税编号",
"Save billing information": "保存账单信息",
// 联系电子邮箱
"Select a verified email address for us to contact you about your GitHub Sponsors profile. This will not be shared publicly. You can manage verified email addresses in your": "选择一个经过验证的电子邮件地址,以便我们就您的 GitHub 赞助者资料与您联系。该地址不会公开共享。您可以在您的",
// 收款方式
Expand Down