Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync README.zh-CN.md #543

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Sync README.zh-CN.md #543

wants to merge 2 commits into from

Conversation

xjzh123
Copy link

@xjzh123 xjzh123 commented Oct 6, 2024

The previous Chinese readme had some mistakes (especially in the search engine support table) and outdated contents, so I updated it according to README.md. Now that this repo has Chinese readme, I think it is good to have it up to date, so I bother you with this PR :)


[Chrome 应用商店](https://chrome.google.com/webstore/detail/ublacklist/pncfbmialoiaghdehhbnbhkkgmjanfhe) / [Firefox 扩展](https://addons.mozilla.org/en-US/firefox/addon/ublacklist/) / [App Store](https://apps.apple.com/us/app/ublacklist-for-safari/id1547912640) (支持 macOS 和 iOS,特别鸣谢 [Group-Leafy](https://github.com/HoneyLuka/uBlacklist/tree/safari-port/safari-project))

## 介绍

此扩展可防止您指定的网站出现在 Google 和其他的一些搜索引擎中。

您可以为搜索结果添加规则或点击工具栏图标以屏蔽指定的网站。规则可以通过以下方式指定:[匹配模式](https://developer.mozilla.org/zh-CN/docs/mozilla/add-ons/webextensions/match_patterns) (示例: `*://*.example.com/*`,这样的话会屏蔽 example.org 网站) 或使用[正则表达式](https://developer.mozilla.org/zh-CN/docs/web/javascript/guide/regular_expressions) (示例: `/example\.(net|org)/`,这样的话可以屏蔽 example.net 和 example.org 两个网站).
您可以为搜索结果添加规则或点击工具栏图标以屏蔽指定的网站。规则可以通过以下方式指定:[匹配模式](https://developer.mozilla.org/zh-CN/docs/mozilla/add-ons/webextensions/match_patterns) (示例:`*://*.example.com/*`) 或使用[正则表达式](https://developer.mozilla.org/zh-CN/docs/web/javascript/guide/regular_expressions) (示例:`/example\.(net|org)/`).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要改动说明为好

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要改动说明为好

英文README.md中并没有此说明,所以我才这么修改

README.zh-CN.md Outdated

## 开发者

### 构建

为了构建这个扩展,你需要下载并安装 [pnpm](https://pnpm.io/)>=9.7.0 or [corepack](https://github.com/nodejs/corepack) (currently distributed with Node.js)。
为了构建这个扩展,你需要下载并安装 [pnpm](https://pnpm.io/)>=9.7.0 [corepack](https://github.com/nodejs/corepack) (目前 Node.js 分发时自带)。
Copy link

@yaoyhu yaoyhu Oct 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中文没有这个「分布/分发」之意?感觉直接写 node.js 安装自带为好。

README.zh-CN.md Outdated

1. 定义一个 ISO 语言代码,例如`en`指的是 [kLanguageInfoTable](https://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/languages/internal/languages.cc).
1. 决定一个 ISO 语言代码,例如 `en`,参见 [kLanguageInfoTable](https://src.chromium.org/viewvc/chrome/trunk/src/third_party/cld/languages/internal/languages.cc).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 「确定」所要添加语言的 ISO 代号/代码...
  2. 指向网址也已经失效?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 「确定」所要添加语言的 ISO 代号/代码...
  2. 指向网址也已经失效?

对于网址,我也是参照英文README.md的

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以试试:google/cld3 参考的仓库 或者 web 存档

根据维基百科中的用词,我使用了ISO语言「代码」而不是「代号」
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants