Skip to content

Commit

Permalink
main(greasyfork).user.js Sync Thesaurus to 1.9.2-2025-02-15
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 Feb 20, 2025
1 parent 34de484 commit 691e7ee
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 6 deletions.
37 changes: 33 additions & 4 deletions locals(greasyfork).js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,13 @@ I18N.conf = {
'repository/pull': ["td.blob-code"], // 代码差异 分屏/同屏
'repository/compare': ["tbody"], // 代码差异
'repository/commit': ["td.blob-code"], // 代码差异 分屏/同屏
'repository/blob': ["#highlighted-line-menu-positioner", ".Text__StyledText-sc-17v1xeu-0"], // 代码视图 存在
'repository/blob': ["#highlighted-line-menu-positioner"], // 代码视图 存在
'repository/blame': ["#highlighted-line-menu-positioner"], // 代码视图
'repository': [".AppHeader-context", "table"], // "article.markdown-body",
'repository/releases': [".Box-footer"], // 附件清单
'repository/issues': [
'.styled-input-container', // 筛选条
],
'*': [
'div.QueryBuilder-StyledInputContainer', // 顶部搜索栏 关键词被翻译
],
Expand Down Expand Up @@ -115,11 +118,15 @@ I18N.conf = {
'[id^="offset"]', // 符号-->引用
'#highlighted-line-menu-positioner', // 代码视图
'#filter-results', // 右侧 符号筛选
'.Text__StyledText-sc-17v1xeu-0', // 右侧 符号筛选
'#repos-header-breadcrumb', // 文件路径中文件夹路径
'#repos-header-breadcrumb--wide', // 文件路径中文件夹路径 左侧文件树展开情况
'#sticky-breadcrumb',
'#file-name-id', // 文件路径中文件部分
],
'repository/issues': [
'.styled-input-container', // 筛选条
],
'repository/commit': [
'td.blob-code', // 代码差异 分屏/同屏
'span.ws-pre-wrap', // 提交说明
Expand Down Expand Up @@ -148,6 +155,7 @@ I18N.conf = {
],
'repository/wiki': [
'#wiki-body', // wiki 正文
'ul.list-style-none.mx-4.px-1', // 右侧目录
],
'orgs': [
'a[itemprop="name codeRepository"]', // 仓库名称
Expand Down Expand Up @@ -176,7 +184,7 @@ I18N.conf = {
'.js-comment-body', '.js-preview-body',
'.markdown-title',
'span.ActionListItem-label.text-normal', // 顶部搜索栏 关键词被翻译
'CODE', 'SCRIPT', 'STYLE', 'LINK', 'IMG', 'MARKED-TEXT', 'PRE', 'KBD', // 特定元素标签
'CODE', 'SCRIPT', 'STYLE', 'LINK', 'IMG', 'MARKED-TEXT', 'PRE', 'KBD', 'SVG' // 特定元素标签
],
},

Expand Down Expand Up @@ -628,6 +636,9 @@ I18N["zh-CN"]["public"] = { // 公共区域翻译
"now required": "现在被要求", //下半句正则
"Enable 2FA": "启用 2FA",

"Your issues": "您的议题",
"Your pull requests": "您的拉取请求",

// 右上角通知按钮提示
"You have no unread notifications": "您没有未读通知",
"You have unread notifications": "您有未读通知",
Expand Down Expand Up @@ -1346,6 +1357,9 @@ I18N["zh-CN"]["public"] = { // 公共区域翻译
"contributors": "贡献者",
"updated": "更新于",

// 报错
"Copilot was interrupted before it could finish this message.": "Copilot 在完成此消息之前被中断。",

"Please don’t include sensitive, confidential, or personal data. Your anonymous feedback helps us improve our services in line with our": "请不要包含敏感、机密或个人数据。您的匿名反馈有助于我们改进服务,根据",
"Privacy Policy": "隐私政策",
"Send": "发送",
Expand Down Expand Up @@ -6843,7 +6857,7 @@ I18N["zh-CN"]["repository-public"] = { // 仓库 - 公共部分
[/(\d+) failing checks?/, "$1 个失败的检查"],
[/Failing after (\d+)s/, "在 $1 秒后失败"],
[/(\d+) in progress check/, "$1 个正在运行的检查"],
[/ and /, " 和 "],
// [/ and /, " 和 "],
[/, and (\d+) more/, ",以及其他 $1 个组织"], // 用户 浮动信息卡
[/(\d+) repositor(y|ies)/, "$1 个仓库"], // 组织 浮动信息卡
[/(\d+) members?/, "$1 个成员"], // 组织 浮动信息卡
Expand Down Expand Up @@ -8284,6 +8298,7 @@ I18N["zh-CN"]["repository/issues"] = { // 仓库 - 议题页面
"· May be fixed by": " · 可通过该方案修复",
"pinned this issue": "置顶议题",
"unpinned this issue": "取消置顶",
"Repository owner": "仓库所有者",
"Repository owner locked and limited conversation to collaborators": "仓库所有者锁定并限制与协作者对话",
"Repository owner locked as": "仓库所有者锁定为",
"Repository owner deleted a comment": "仓库所有者删除了评论",
Expand Down Expand Up @@ -8831,6 +8846,7 @@ I18N["zh-CN"]["repository/pull"] = { // 仓库 - 某个拉取请求页面
"removed the request for review from": "取消请求审查",
"pushed a commit that referenced this pull request": "推送了一个引用此拉取请求的提交",
"suggested changes": "建议更改",
"deleted the branch": "删除了分支",

// 隐藏
"Load more…": "加载更多…",
Expand Down Expand Up @@ -9168,6 +9184,7 @@ I18N["zh-CN"]["repository/pull"] = { // 仓库 - 某个拉取请求页面
"This workflow requires approval from a maintainer.": "此工作流程需要维护者批准。",
"Learn more about approving workflows.": "了解更多关于批准工作流程的信息。",
"Approve and run": "批准并运行",
"Approve and run workflows": "批准并运行工作流程",

// 状态词
"reviewed": "审查",
Expand Down Expand Up @@ -9358,9 +9375,11 @@ I18N["zh-CN"]["repository/pull"] = { // 仓库 - 某个拉取请求页面
"Copilot menu": "Copilot 菜单",
"Explain": "解释",
"Attach to current thread": "附加到当前主题",
"Reference added to thread": "已附加至主题", // 左下角浮窗

"Select files to discuss": "选择文件讨论",
"Copilot is not available for this file": "Copilot 不支持此文件",
"Start chat": "开始聊天",

// 建议更改
"Suggested change": "建议更改",
Expand Down Expand Up @@ -12470,7 +12489,7 @@ I18N["zh-CN"]["repository/releases"] = { // 仓库 - 发行版页面
[/Remove attached binary ([^ ]+)/, "删除 $1"],
[/and (\d+) other contributors/, "和另外 $1 个贡献者"],
[/You and (\d+) others? reacted/, "您和另外 $1 人表达看法"],
[/ and /, " 和 "],
// [/ and /, " 和 "],
[/(\d+) (people|person) reacted/, "$1 人表达看法"],
[/There are no releases containing \"([^ ]+)\"./, "没有发行版包含“$1”。"],
...I18N["zh-CN"]["repository-public"]["regexp"],
Expand Down Expand Up @@ -18284,6 +18303,14 @@ I18N["zh-CN"]["gist"] = { // 代码片段页面
// 探索页面
"Discover gists": "探索代码片段",

// 搜索页面
//"Sort:": "排序:",
"Best match": "最佳匹配",
"Most stars": "最多星标",
"Fewest stars": "最少星标",
"Most forks": "最多复刻",
"Fewest forks": "最少复刻",

// 底部提示栏 (未登录)
"Sign up for free": "免费注册",
"to join this conversation on GitHub": "加入 GitHub 上的这个讨论",
Expand All @@ -18309,6 +18336,8 @@ I18N["zh-CN"]["gist"] = { // 代码片段页面
// [/Joined/,"加入于"], //星标标签卡
[/, and (\d+) more/, ",以及其他 $1 个组织"], // 用户 浮动信息卡
[/doesn’t have any public gists yet./, "尚无任何公开的代码片段。"],
[/([\d,]+) gist results?/, "$1 个片段结果"],
[/Sort:/, "排序:"],
],
};

Expand Down
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-2025-02-09
// @version 1.9.2-2025-02-15
// @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-2025-02-09
// @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-2025-02-15
// @run-at document-end
// @grant GM_xmlhttpRequest
// @grant GM_getValue
Expand Down

0 comments on commit 691e7ee

Please sign in to comment.