Skip to content

Commit af9dbd3

Browse files
docubotpeterbe
andauthored
New translation batch for cn (#25860)
* Add crowdin translations * Run script/i18n/homogenize-frontmatter.js * Run script/i18n/lint-translation-files.js --check parsing * Run script/i18n/lint-translation-files.js --check rendering * run script/i18n/reset-files-with-broken-liquid-tags.js --language=cn * run script/i18n/reset-known-broken-translation-files.js * Check in cn CSV report Co-authored-by: Peter Bengtsson <mail@peterbe.com>
1 parent 287b79c commit af9dbd3

367 files changed

Lines changed: 1330 additions & 1655 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

translations/log/cn-resets.csv

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ translations/zh-CN/content/code-security/code-scanning/using-codeql-code-scannin
108108
translations/zh-CN/content/code-security/getting-started/securing-your-organization.md,broken liquid tags
109109
translations/zh-CN/content/code-security/getting-started/securing-your-repository.md,broken liquid tags
110110
translations/zh-CN/content/code-security/secret-scanning/about-secret-scanning.md,broken liquid tags
111-
translations/zh-CN/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md,broken liquid tags
112-
translations/zh-CN/content/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning.md,broken liquid tags
113111
translations/zh-CN/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions.md,broken liquid tags
114112
translations/zh-CN/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot.md,broken liquid tags
115113
translations/zh-CN/content/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-alerts-for-vulnerable-dependencies.md,Listed in localization-support#489
@@ -137,7 +135,6 @@ translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/ins
137135
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/overview/creating-your-first-repository-using-github-desktop.md,broken liquid tags
138136
translations/zh-CN/content/developers/apps/building-github-apps/rate-limits-for-github-apps.md,broken liquid tags
139137
translations/zh-CN/content/developers/apps/getting-started-with-apps/about-apps.md,broken liquid tags
140-
translations/zh-CN/content/developers/apps/getting-started-with-apps/activating-optional-features-for-apps.md,broken liquid tags
141138
translations/zh-CN/content/developers/apps/getting-started-with-apps/migrating-oauth-apps-to-github-apps.md,broken liquid tags
142139
translations/zh-CN/content/developers/github-marketplace/github-marketplace-overview/about-github-marketplace.md,broken liquid tags
143140
translations/zh-CN/content/developers/github-marketplace/github-marketplace-overview/index.md,broken liquid tags
@@ -181,7 +178,6 @@ translations/zh-CN/content/organizations/managing-organization-settings/managing
181178
translations/zh-CN/content/organizations/managing-organization-settings/managing-the-publication-of-github-pages-sites-for-your-organization.md,Listed in localization-support#489
182179
translations/zh-CN/content/organizations/managing-peoples-access-to-your-organization-with-roles/adding-a-billing-manager-to-your-organization.md,parsing error
183180
translations/zh-CN/content/organizations/organizing-members-into-teams/about-teams.md,broken liquid tags
184-
translations/zh-CN/content/packages/learn-github-packages/deleting-a-package.md,broken liquid tags
185181
translations/zh-CN/content/packages/learn-github-packages/installing-a-package.md,broken liquid tags
186182
translations/zh-CN/content/packages/learn-github-packages/introduction-to-github-packages.md,broken liquid tags
187183
translations/zh-CN/content/packages/learn-github-packages/publishing-a-package.md,broken liquid tags
@@ -226,7 +222,9 @@ translations/zh-CN/data/reusables/actions/enterprise-common-prereqs.md,broken li
226222
translations/zh-CN/data/reusables/actions/enterprise-marketplace-actions.md,broken liquid tags
227223
translations/zh-CN/data/reusables/actions/enterprise-no-internet-actions.md,broken liquid tags
228224
translations/zh-CN/data/reusables/actions/enterprise-postinstall-nextsteps.md,broken liquid tags
225+
translations/zh-CN/data/reusables/actions/self-hosted-runner-architecture.md,broken liquid tags
229226
translations/zh-CN/data/reusables/actions/self-hosted-runner-auto-removal.md,broken liquid tags
227+
translations/zh-CN/data/reusables/actions/self-hosted-runners-prerequisites.md,broken liquid tags
230228
translations/zh-CN/data/reusables/advanced-security/about-committer-numbers-ghec-ghes.md,broken liquid tags
231229
translations/zh-CN/data/reusables/apps/deprecating_auth_with_query_parameters.md,Listed in localization-support#489
232230
translations/zh-CN/data/reusables/code-scanning/codeql-context-for-actions-and-third-party-tools.md,broken liquid tags
@@ -253,7 +251,6 @@ translations/zh-CN/data/reusables/repositories/github-reviews-security-advisorie
253251
translations/zh-CN/data/reusables/rest-reference/activity/events.md,broken liquid tags
254252
translations/zh-CN/data/reusables/rest-reference/apps/marketplace.md,broken liquid tags
255253
translations/zh-CN/data/reusables/rest-reference/packages/packages.md,broken liquid tags
256-
translations/zh-CN/data/reusables/rest-reference/secret-scanning/secret-scanning.md,broken liquid tags
257254
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,Listed in localization-support#489
258255
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,parsing error
259256
translations/zh-CN/data/reusables/scim/after-you-configure-saml.md,broken liquid tags

translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,11 @@ shortTitle: 管理您的订阅
6565
![管理通知下拉菜单选项](/assets/images/help/notifications-v2/manage-notifications-options.png)
6666

6767
2. 在关注的仓库页面上,评估您关注的仓库后,选择是否:
68-
{%- ifversion fpt or ghes > 3.0 or ghae or ghec %}
68+
6969
- 取消关注仓库
7070
- 忽略某仓库的所有通知
7171
- 如有启用,请自定义接收通知的事件类型({% data reusables.notifications-v2.custom-notification-types %})
72-
{%- else %}
73-
- 取消关注仓库
74-
- 只关注某仓库的发行版
75-
- 忽略某仓库的所有通知
76-
{%- endif %}
72+
7773
{%- ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5819 %}
7874
1. (可选)要取消订阅指定用户或组织拥有的所有存储库,请选择 **Unwatch all(全部取消关注)**下拉列表,然后单击要取消订阅其存储库的组织。 取消关注所有存储库的按钮仅在您正在关注超过 10 个存储库上的所有活动或自定义通知时才可用。
7975

translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/viewing-your-subscriptions.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ shortTitle: 查看订阅
3939
更多信息请参阅“[配置通知](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#automatic-watching)”。
4040

4141
To see an overview of your repository subscriptions, see "[Reviewing repositories that you're watching](#reviewing-repositories-that-youre-watching)." Many people forget about repositories that they've chosen to watch in the past. From the "Watched repositories" page you can quickly unwatch repositories. For more information on ways to unsubscribe, see "[Managing subscriptions](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions)."
42-
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
4342
{% tip %}
4443

4544
**提示:**您可以在[关注页面](https://github.com/watching)或 {% data variables.product.product_name %} 上的任何仓库页面,使用 **Watch/Unwatch(关注/取消关注)**下拉列表中的 **Custom(自定义)**选项选择要通知的事件类型。 更多信息请参阅“[配置通知](/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#configuring-your-watch-settings-for-an-individual-repository)”。
4645

4746
{% endtip %}
48-
{% endif %}
4947

5048
许多人忘记了他们过去选择关注的仓库。 从“Watched repositories(已关注仓库)”页面,您可以快速取消关注仓库。 有关取消订阅的方式的更多信息,请参阅 {% data variables.product.prodname_blog %} 上的“[取消关注建议](https://github.blog/changelog/2020-11-10-unwatch-recommendations/)”和“[管理订阅](/github/managing-subscriptions-and-notifications-on-github/managing-your-subscriptions)”。 您也可以创建分类工作流程来帮助整理收到的通知。 有关分类工作流程的指导,请参阅“[自定义对通知分类的工作流程](/github/managing-subscriptions-and-notifications-on-github/customizing-a-workflow-for-triaging-your-notifications)”。
5149

@@ -70,16 +68,11 @@ To see an overview of your repository subscriptions, see "[Reviewing repositorie
7068
## 查看您目前关注的仓库
7169

7270
1. 在左侧边栏中的仓库列表下,使用“Manage notifications(管理通知)”下拉菜单单击 **Watched repositories(已关注的仓库)**![管理通知下拉菜单选项](/assets/images/help/notifications-v2/manage-notifications-options.png)
73-
2. 评估您正在关注的仓库,确定它们更新是否仍然相关和有用。 关注某仓库后,您将收到该仓库所有对话的通知。
74-
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
75-
![已关注的通知页面](/assets/images/help/notifications-v2/watched-notifications-custom.png)
76-
{% else %}
77-
![已关注的通知页面](/assets/images/help/notifications-v2/watched-notifications.png)
78-
{% endif %}
71+
2. 评估您正在关注的仓库,确定它们更新是否仍然相关和有用。 关注某仓库后,您将收到该仓库所有对话的通知。 ![已关注的通知页面](/assets/images/help/notifications-v2/watched-notifications-custom.png)
7972

8073
{% tip %}
8174

82-
**提示:**不关注仓库,而是考虑仅{% ifversion fpt or ghes > 3.0 or ghae or ghec %}当 {% data reusables.notifications-v2.custom-notification-types %}(如果已对仓库启用)或这些选项的任何组合有更新、{% else %}仓库中有发布{% endif %}或完全取消关注仓库时才接收通知。
75+
**Tip:** Instead of watching a repository, consider only receiving notifications when there are updates to {% data reusables.notifications-v2.custom-notification-types %} (if enabled for the repository), or any combination of these options, or completely unwatching a repository.
8376

8477
取消关注仓库后,当您被@提及或参与帖子时仍然会收到通知。 当您配置接收某些事件类型的通知时,仅在仓库中有这些事件类型的更新、您参与了线程或者您或您所在团队被 @提及时才收到通知。
8578

translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/about-notifications.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ topics:
2929
您可以选择订阅关于以下内容的通知:
3030
- 关于特定议题、拉取请求或 Gist 的对话。
3131
- 仓库或团队讨论中的所有活动。
32-
- CI 活动,例如仓库中使用 {% data variables.product.prodname_actions %} 设置的工作流程的状态。 {% ifversion fpt or ghes > 3.0 or ghae or ghec %}
33-
- 仓库 {% data reusables.notifications-v2.custom-notification-types %} (如果启用)。{% else %}
34-
- 在仓库中发布。{% endif %}
32+
- CI 活动,例如仓库中使用 {% data variables.product.prodname_actions %} 设置的工作流程的状态。
33+
- 仓库 {% data reusables.notifications-v2.custom-notification-types %} (如果启用)。
3534

3635
您也可以选择自动关注所有您有推送访问权限的仓库,但复刻除外。 您可以通过单击 **Watch(关注)**来手动关注您有权访问的任何其他仓库。
3736

translations/zh-CN/content/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,13 @@ When you watch a repository, you're subscribing to updates for activity in that
7171

7272
To see repositories that you're watching, go to your [watching page](https://github.com/watching). For more information, see "[Managing subscriptions and notifications on GitHub](/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github)."
7373

74-
{% ifversion ghae or ghes < 3.1 %}
74+
{% ifversion ghae %}
7575
### Configuring notifications
7676
{% endif %}
77-
You can configure notifications for a repository on the repository page, or on your watching page.{% ifversion ghes < 3.1 %} You can choose to only receive notifications for releases in a repository, or ignore all notifications for a repository.{% endif %}
78-
79-
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
77+
You can configure notifications for a repository on the repository page, or on your watching page.
8078

8179
### About custom notifications
82-
You can customize notifications for a repository. For example, you can choose to only be notified when updates to one or more types of events ({% data reusables.notifications-v2.custom-notification-types %}) happen within a repository, or ignore all notifications for a repository.
83-
{% endif %} For more information, see "[Configuring your watch settings for an individual repository](#configuring-your-watch-settings-for-an-individual-repository)" below.
80+
You can customize notifications for a repository. For example, you can choose to only be notified when updates to one or more types of events ({% data reusables.notifications-v2.custom-notification-types %}) happen within a repository, or ignore all notifications for a repository. For more information, see "[Configuring your watch settings for an individual repository](#configuring-your-watch-settings-for-an-individual-repository)" below.
8481

8582
### Participating in conversations
8683
Anytime you comment in a conversation or when someone @mentions your username, you are _participating_ in a conversation. By default, you are automatically subscribed to a conversation when you participate in it. You can unsubscribe from a conversation you've participated in manually by clicking **Unsubscribe** on the issue or pull request or through the **Unsubscribe** option in the notifications inbox.
@@ -160,17 +157,17 @@ If "Automatically watch repositories" is disabled, then you will not automatical
160157

161158
## Configuring your watch settings for an individual repository
162159

163-
You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of {% ifversion fpt or ghes > 3.0 or ghae or ghec %}certain event types such as {% data reusables.notifications-v2.custom-notification-types %} (if enabled for the repository) {% else %}new releases{% endif %}, or completely ignore an individual repository.
160+
You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of certain event types such as {% data reusables.notifications-v2.custom-notification-types %} (if enabled for the repository) , or completely ignore an individual repository.
164161

165162
{% data reusables.repositories.navigate-to-repo %}
166163
2. In the upper-right corner, select the "Watch" drop-down menu to click a watch option.
167-
{% ifversion fpt or ghes > 3.0 or ghae-issue-4910 or ghec %}
164+
{% ifversion fpt or ghes or ghae-issue-4910 or ghec %}
168165
![Watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options-custom.png)
169166

170167
The **Custom** option allows you to further customize notifications so that you're only notified when specific events happen in the repository, in addition to participating and @mentions.
171168
{% else %}
172169
![Watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options.png){% endif %}
173-
{% ifversion fpt or ghes > 3.0 or ghae-issue-4910 or ghec %}
170+
{% ifversion fpt or ghes or ghae-issue-4910 or ghec %}
174171
![Custom watch options in a drop-down menu for a repository](/assets/images/help/notifications-v2/watch-repository-options-custom2-dotcom.png)
175172
If you select "Issues", you will be notified about, and subscribed to, updates on every issue (including those that existed prior to you selecting this option) in the repository. If you're @mentioned in a pull request in this repository, you'll receive notifications for that too, and you'll be subscribed to updates on that specific pull request, in addition to being notified about issues.
176173
{% endif %}

translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/converting-a-user-into-an-organization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ shortTitle: 用户到组织
2525
- **无法**将组织转换回用户。
2626
- SSH 密钥、OAuth 令牌、作业档案、 反应、及关联的用户信息**不会**传输到组织。 这只适用于被转换的用户帐户,而不适用于该用户帐户的任何协作者。
2727
- 使用被转换用户帐户进行的任何提交**将不再链接**到该帐户。 提交本身****保持原状。
28-
- Any forks of private repositories made with the converted user account will be deleted.
28+
- 使用转换后用户帐户创建的任何私有仓库的复刻都将被删除。
2929

3030
{% endwarning %}
3131

@@ -57,7 +57,7 @@ shortTitle: 用户到组织
5757

5858
{% tip %}
5959

60-
**提示**:将用户帐户转换为组织时,我们会将属于该帐户的仓库中的协作者作为*外部协作者*添加到新组织。 然后,您可以根据需要邀请*外部协作者*成为新组织的成员。 For more information, see "[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators)."
60+
**提示**:将用户帐户转换为组织时,我们会将属于该帐户的仓库中的协作者作为*外部协作者*添加到新组织。 然后,您可以根据需要邀请*外部协作者*成为新组织的成员。 更多信息请参阅“[组织中的角色](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators)”。
6161

6262
{% endtip %}
6363

translations/zh-CN/content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-security-and-analysis-settings-for-your-user-account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ shortTitle: 管理安全和分析
3131

3232
{% data reusables.user-settings.access_settings %}
3333
{% data reusables.user-settings.security-analysis %}
34-
3. 在“Configure security and analysis features(配置安全性和分析功能)”下,单击功能右侧的 **Disable all(全部禁用)****Enable all(全部启用)**
34+
3. Under "Code security and analysis", to the right of the feature, click **Disable all** or **Enable all**.
3535
{% ifversion ghes > 3.2 %}!["Enable all" or "Disable all" button for "Configure security and analysis" features](/assets/images/enterprise/3.3/settings/security-and-analysis-disable-or-enable-all.png){% else %}!["Enable all" or "Disable all" button for "Configure security and analysis" features](/assets/images/help/settings/security-and-analysis-disable-or-enable-all.png){% endif %}
3636
6. (可选)默认情况下为您拥有的新存储库启用该功能。
3737
{% ifversion ghes > 3.2 %}!["Enable by default" option for new repositories](/assets/images/enterprise/3.3/settings/security-and-analysis-enable-by-default-in-modal.png){% else %}!["Enable by default" option for new repositories](/assets/images/help/settings/security-and-analysis-enable-by-default-in-modal.png){% endif %}
@@ -44,7 +44,7 @@ shortTitle: 管理安全和分析
4444

4545
{% data reusables.user-settings.access_settings %}
4646
{% data reusables.user-settings.security-analysis %}
47-
3. 在“Configure security and analysis features(配置安全和分析功能)”下,在功能右侧,默认为您拥有的新存储库启用或禁用该功能。
47+
3. Under "Code security and analysis", to the right of the feature, enable or disable the feature by default for new repositories that you own.
4848
{% ifversion ghes > 3.2 %}![Checkbox for enabling or disabling a feature for new repositories](/assets/images/enterprise/3.3/settings/security-and-analysis-enable-or-disable-feature-checkbox.png){% else %}![Checkbox for enabling or disabling a feature for new repositories](/assets/images/help/settings/security-and-analysis-enable-or-disable-feature-checkbox.png){% endif %}
4949

5050
## 延伸阅读

0 commit comments

Comments
 (0)