diff --git a/locals.js b/locals.js index c096b50c2..6c03f37b5 100644 --- a/locals.js +++ b/locals.js @@ -6596,6 +6596,9 @@ I18N.zh["repository"] = { // 仓库页面 /// }, "regexp": [ // 正则翻译 + // 个人仓库 贡献和同步复刻操作后 信息提示条 + [/Successfully fetched and fast-forwarded from upstream ([^ ]+)\./, "成功从上游 $1 中获取并快速转发。"], + [/Successfully discarded changes and synchronized branch to match upstream ([^ ]+)\./, "成功丢弃更改,并将分支与上游 $1 保持同步。"], ...I18N.zh["repository-public"]["regexp"], [/commits by (.+)/, "由 $1 提交"], [/Branch ([^ ]+) was renamed to ([^ ]+)./, "分支 $1 已更名为 $2。"], @@ -6612,9 +6615,6 @@ I18N.zh["repository"] = { // 仓库页面 /// [/\+ ([\d,]+) contributors?/, "+ $1 位贡献者"], // 仓库首页右侧栏 贡献者 [/\+ ([\d,]+) environments?/, "+ $1 个环境"], // 仓库首页右侧栏 环境 [/\+ ([\d,]+) deployments?/, "+ $1 个部署"], // 仓库首页右侧栏 部署 - // 个人仓库 贡献和同步复刻操作后 信息提示条 - [/Successfully fetched and fast-forwarded from upstream ([^ ]+)\./, "成功从上游 $1 中获取并快速转发。"], - [/Successfully discarded changes and synchronized branch to match upstream ([^ ]+)\./, "成功丢弃更改,并将分支与上游 $1 保持同步。"], // 同步复刻 [/Update branch to keep this branch up-to-date by syncing (\d+) commits? from the upstream repository./, "通过从上游仓库同步 $1 个提交来更新分支,以使该分支保持最新。"], [/This branch is not behind the upstream ([^ ]+)/, "该分支不落后与上游 $1"],