Skip to content

Commit

Permalink
main(greasyfork).user.js Update to 1.9.2-2024-10-18
Browse files Browse the repository at this point in the history
Signed-off-by: action-assistant[bot] <152410706+action-assistant[bot]@users.noreply.github.com>
  • Loading branch information
action-assistant[bot] authored Oct 24, 2024
1 parent bb6e395 commit c6e76ea
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
25 changes: 22 additions & 3 deletions locals(greasyfork).js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ I18N["zh-CN"]["title"] = { // 标题翻译
"Actions Usage Metrics": "操作使用情况",
"Fine-grained Personal Access Tokens": "精细化的个人访问令牌",
"Import repository": "导入仓库",
"Explore GitHub": "探索 GitHub",
},
"regexp": [ // 正则翻译
[/Authorized OAuth Apps/, "授权的 OAuth 应用"],
Expand All @@ -337,7 +338,7 @@ I18N["zh-CN"]["title"] = { // 标题翻译
[/starred repositories/, "星标仓库"],
[/starred topics/, "星标主题"],
[/starred/, "星标"],
[/Commits/, "提交"],
[/Commits · ([^ ]+)/, "提交 · $1"],
[/New Issue/, "新建议题"],
[/Issues?/, "议题"],
[/Pull (R|r)equests?/, "拉取请求"],
Expand Down Expand Up @@ -399,6 +400,7 @@ I18N["zh-CN"]["title"] = { // 标题翻译
[/Contributors to ([^ ]+)/, "贡献者 · $1"],
[/([^ ]+) repositories^/, "$1 的仓库"],
[/Create new page · ([^ ]+) Wiki/, "新建页面 · $1 的 Wiki"],
[/Branches · ([^ ]+)/, "分支 · $1"],
["_regexp_end", "end"]
],
};
Expand Down Expand Up @@ -1911,6 +1913,10 @@ I18N["zh-CN"]["page-profile"] = { // 个人首页

return '- ' + compareKey[compare] + num + '小时';
}],
// 成就
[/opened pull requests that have been merged./, "打开的拉取请求已被合并。"], // Pull Shark
[/created a repository that has many stars./, "创建了一个拥有很多星标的仓库。"], // Starstruck
[/coauthored commits on merged pull requests./, "与他人共同提交了合并的拉取请求。"], // Pair Extraordinaire
],
};
I18N["zh-CN"]["page-profile/overview"] = I18N["zh-CN"]["page-profile"];
Expand Down Expand Up @@ -3581,6 +3587,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 +3909,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 +8028,7 @@ I18N["zh-CN"]["repository/pull"] = { // 仓库 - 某个拉取请求页面
"Files changed": "更改的文件",
"No changes to show.": "无更改显示。", // 删除复刻仓库的提交时出现
"This commit has no content.": "该提交无内容。", // 同上
"authored": "撰写于",

// 右侧栏 补充

Expand Down Expand Up @@ -8100,6 +8109,7 @@ I18N["zh-CN"]["repository/pull"] = { // 仓库 - 某个拉取请求页面
"label": "标签",
"closed this": "已关闭",
"reopened this": "已重新打开",
"closed this by deleting the head repository": "已关闭因仓库已删除",

//
"This branch has not been deployed": "该分支尚未部署",
Expand Down Expand Up @@ -8537,6 +8547,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 @@ -10569,6 +10583,11 @@ I18N["zh-CN"]["repository/new"] = { // 仓库 - 新建/编辑/上传/删除文
"You’re making changes in a project you don’t have write access to. Submitting a change will write it to a new branch in your fork": "您正在对没有写入权限的项目进行更改。提交更改会将其写入您的复刻",
", so you can send a pull request.": " 中的新分支,这样您就可以发送拉取请求。",

// 复刻仓库过旧
"Sorry, it looks like your fork is outdated!": "抱歉,您的复刻好像过时了!",
"You’ll have to bring it up to date before you can propose changes.": "在提出修改意见之前,您必须对其进行更新。",
"Update your fork": "更新您的复刻",

// 组织仓库 编辑文件页面
"You’re making changes in a project you don’t have write access to. We’ve": "您正在对没有写入权限的项目进行更改。我们已经",
"created a fork of this project": "为该项目创建复刻",
Expand Down Expand Up @@ -12568,7 +12587,7 @@ I18N["zh-CN"]["repository/network/dependencies"] = { // 仓库 -> 洞察 - 依
},
"regexp": [ // 正则翻译
...I18N["zh-CN"]["repository-public"]["regexp"],
[/Detected automatically/, "自动检测于"],
[/Detected automatically on (.+)/, "自动检测于$1"],
[/(\d+) Total/, "$1 总计"],
[/(\d+) vulnerabilities? found/, "发现 $1 个漏洞"],
[/(\d+) more dependencies/, "更多 $1 个依赖项"],
Expand Down Expand Up @@ -21557,4 +21576,4 @@ I18N["zh-CN"]["copilot"] = {
"of the world’s leading AI developer tool.": "。",
},
"regexp":[],
};
};
4 changes: 2 additions & 2 deletions main(greasyfork).user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
// @description 中文化 GitHub 界面的部分菜单及内容。原作者为楼教主(http://www.52cik.com/)。
// @copyright 2021, 沙漠之子 (https://maboloshi.github.io/Blog)
// @icon https://github.githubassets.com/pinned-octocat.svg
// @version 1.9.2-2024-10-13
// @version 1.9.2-2024-10-18
// @author 沙漠之子
// @license GPL-3.0
// @match https://github.com/*
// @match https://skills.github.com/*
// @match https://gist.github.com/*
// @match https://www.githubstatus.com/*
// @require https://greasyfork.org/scripts/435207-github-%E4%B8%AD%E6%96%87%E5%8C%96%E6%8F%92%E4%BB%B6-%E4%B8%AD%E6%96%87%E8%AF%8D%E5%BA%93%E8%A7%84%E5%88%99/code/GitHub%20%E4%B8%AD%E6%96%87%E5%8C%96%E6%8F%92%E4%BB%B6%20-%20%E4%B8%AD%E6%96%87%E8%AF%8D%E5%BA%93%E8%A7%84%E5%88%99.js?v1.9.2-2024-10-13
// @require https://greasyfork.org/scripts/435207-github-%E4%B8%AD%E6%96%87%E5%8C%96%E6%8F%92%E4%BB%B6-%E4%B8%AD%E6%96%87%E8%AF%8D%E5%BA%93%E8%A7%84%E5%88%99/code/GitHub%20%E4%B8%AD%E6%96%87%E5%8C%96%E6%8F%92%E4%BB%B6%20-%20%E4%B8%AD%E6%96%87%E8%AF%8D%E5%BA%93%E8%A7%84%E5%88%99.js?v1.9.2-2024-10-18
// @run-at document-end
// @grant GM_xmlhttpRequest
// @grant GM_getValue
Expand Down

0 comments on commit c6e76ea

Please sign in to comment.