Skip to content

Commit

Permalink
词条补充 (#291)
Browse files Browse the repository at this point in the history
Signed-off-by: 人民的勤务员 <[email protected]>
  • Loading branch information
ChinaGodMan authored Oct 14, 2024
1 parent ae004f7 commit a949574
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion locals.js
Original file line number Diff line number Diff line change
Expand Up @@ -3581,6 +3581,7 @@ I18N["zh-CN"]["settings/emails"] = { // 设置 - 电子邮箱
[/Subscription preferences for ([^@]+@[^\n]+)/, "$1 的订阅偏好"],
[/We sent a verification email to ([^@]+@[^\s]+)\. Please follow the instructions in it\./, "我们已向 $1 发送了验证邮件,请登录邮箱已完成验证。"],
[/Delete ([^@]+@[^\n]+)/, "删除 $1"],
[/Error adding ([^@]+@[^:]+): email is already in use/, "$1 的邮箱已经在使用中"],
],
};

Expand Down Expand Up @@ -3902,6 +3903,7 @@ I18N["zh-CN"]["settings/keys"] = { // 设置 - SSH 与 GPG 公钥
// 顶部提醒
"Key is invalid. You must supply a key in OpenSSH public key format": "密钥无效。您必须提供 OpenSSH 公钥格式的密钥",
"We got an error doing that.": "我们在这样做时出错了。",
"We got an error adding your GPG key. Please verify the input is a valid GPG key.": "添加您的 GPG 密钥时出错。请确认输入的是有效的 GPG 密钥。",

},
"regexp": [ // 正则翻译
Expand Down Expand Up @@ -8020,6 +8022,7 @@ I18N["zh-CN"]["repository/pull"] = { // 仓库 - 某个拉取请求页面
"Files changed": "更改的文件",
"No changes to show.": "无更改显示。", // 删除复刻仓库的提交时出现
"This commit has no content.": "该提交无内容。", // 同上
"authored": "撰写于",

// 右侧栏 补充

Expand Down Expand Up @@ -8537,6 +8540,10 @@ I18N["zh-CN"]["repository/pull"] = { // 仓库 - 某个拉取请求页面
[/([^ ]+):([^ ]+)% was force-pushed and no longer has any new commits./, "$1:$2 分支被强制推送,现在没有新的提交。"], // 放这里是因为跟现有词条冲突
...I18N["zh-CN"]["repository-public"]["regexp"],
...I18N["zh-CN"]["repository/pull_issue_public"]["regexp"],

// 提交时展开收缩的描述
[/Show description for ([a-f0-9]{7})/, "显示提交 $1 的描述"],
[/Hide description for ([a-f0-9]{7})/, "隐藏提交 $1 的描述"],

// 新版 PR 提交页
[/wants to merge (\d+) commits? into/, "希望合并 $1 条提交到"],
Expand Down Expand Up @@ -21557,4 +21564,4 @@ I18N["zh-CN"]["copilot"] = {
"of the world’s leading AI developer tool.": "。",
},
"regexp":[],
};
};

0 comments on commit a949574

Please sign in to comment.