From a9495742ef312b36f5e5f1d46f7c22cce74dd97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=BA=E6=B0=91=E7=9A=84=E5=8B=A4=E5=8A=A1=E5=91=98?= Date: Mon, 14 Oct 2024 18:20:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=8D=E6=9D=A1=E8=A1=A5=E5=85=85=20(#291)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 人民的勤务员 --- locals.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/locals.js b/locals.js index 9f5779b38..cfcb9b4d9 100644 --- a/locals.js +++ b/locals.js @@ -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 的邮箱已经在使用中"], ], }; @@ -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": [ // 正则翻译 @@ -8020,6 +8022,7 @@ I18N["zh-CN"]["repository/pull"] = { // 仓库 - 某个拉取请求页面 "Files changed": "更改的文件", "No changes to show.": "无更改显示。", // 删除复刻仓库的提交时出现 "This commit has no content.": "该提交无内容。", // 同上 + "authored": "撰写于", // 右侧栏 补充 @@ -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 条提交到"], @@ -21557,4 +21564,4 @@ I18N["zh-CN"]["copilot"] = { "of the world’s leading AI developer tool.": "。", }, "regexp":[], -}; \ No newline at end of file +};