Skip to content

Commit b76e8a8

Browse files
docubotfrancisfuzz
andauthored
New translation batch for cn (#23371)
* 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-known-broken-translation-files.js * Check in cn CSV report Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
1 parent ddd1447 commit b76e8a8

30 files changed

Lines changed: 799 additions & 727 deletions

translations/log/cn-resets.csv

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ translations/zh-CN/content/actions/automating-builds-and-tests/building-and-test
1616
translations/zh-CN/content/actions/automating-builds-and-tests/building-and-testing-python.md,rendering error
1717
translations/zh-CN/content/actions/creating-actions/creating-a-javascript-action.md,rendering error
1818
translations/zh-CN/content/actions/creating-actions/metadata-syntax-for-github-actions.md,rendering error
19+
translations/zh-CN/content/actions/creating-actions/releasing-and-maintaining-actions.md,rendering error
1920
translations/zh-CN/content/actions/deployment/about-deployments/index.md,rendering error
2021
translations/zh-CN/content/actions/deployment/deploying-to-your-cloud-provider/index.md,rendering error
2122
translations/zh-CN/content/actions/deployment/managing-your-deployments/index.md,rendering error
@@ -24,10 +25,12 @@ translations/zh-CN/content/actions/deployment/security-hardening-your-deployment
2425
translations/zh-CN/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md,rendering error
2526
translations/zh-CN/content/actions/deployment/security-hardening-your-deployments/index.md,rendering error
2627
translations/zh-CN/content/actions/deployment/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md,rendering error
28+
translations/zh-CN/content/actions/deployment/targeting-different-environments/using-environments-for-deployment.md,rendering error
2729
translations/zh-CN/content/actions/guides.md,rendering error
2830
translations/zh-CN/content/actions/hosting-your-own-runners/about-self-hosted-runners.md,rendering error
2931
translations/zh-CN/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md,Listed in localization-support#489
3032
translations/zh-CN/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md,rendering error
33+
translations/zh-CN/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md,rendering error
3134
translations/zh-CN/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md,Listed in localization-support#489
3235
translations/zh-CN/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md,rendering error
3336
translations/zh-CN/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md,rendering error
@@ -152,9 +155,11 @@ translations/zh-CN/content/code-security/code-scanning/using-codeql-code-scannin
152155
translations/zh-CN/content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/running-codeql-runner-in-your-ci-system.md,rendering error
153156
translations/zh-CN/content/code-security/getting-started/github-security-features.md,rendering error
154157
translations/zh-CN/content/code-security/getting-started/securing-your-organization.md,rendering error
158+
translations/zh-CN/content/code-security/guides.md,rendering error
155159
translations/zh-CN/content/code-security/secret-scanning/about-secret-scanning.md,rendering error
156160
translations/zh-CN/content/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories.md,rendering error
157161
translations/zh-CN/content/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning.md,rendering error
162+
translations/zh-CN/content/code-security/secret-scanning/managing-alerts-from-secret-scanning.md,rendering error
158163
translations/zh-CN/content/code-security/security-overview/about-the-security-overview.md,rendering error
159164
translations/zh-CN/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions.md,rendering error
160165
translations/zh-CN/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/keeping-your-actions-up-to-date-with-dependabot.md,rendering error
@@ -185,6 +190,7 @@ translations/zh-CN/content/codespaces/developing-in-codespaces/developing-in-a-c
185190
translations/zh-CN/content/codespaces/developing-in-codespaces/index.md,rendering error
186191
translations/zh-CN/content/codespaces/developing-in-codespaces/using-codespaces-in-visual-studio-code.md,rendering error
187192
translations/zh-CN/content/codespaces/developing-in-codespaces/using-source-control-in-your-codespace.md,rendering error
193+
translations/zh-CN/content/codespaces/guides.md,rendering error
188194
translations/zh-CN/content/codespaces/managing-codespaces-for-your-organization/enabling-codespaces-for-your-organization.md,rendering error
189195
translations/zh-CN/content/codespaces/managing-codespaces-for-your-organization/managing-billing-for-codespaces-in-your-organization.md,rendering error
190196
translations/zh-CN/content/codespaces/managing-codespaces-for-your-organization/managing-repository-access-for-your-organizations-codespaces.md,rendering error
@@ -212,12 +218,14 @@ translations/zh-CN/content/developers/apps/building-oauth-apps/scopes-for-oauth-
212218
translations/zh-CN/content/developers/apps/getting-started-with-apps/about-apps.md,rendering error
213219
translations/zh-CN/content/developers/apps/getting-started-with-apps/activating-optional-features-for-apps.md,rendering error
214220
translations/zh-CN/content/developers/apps/getting-started-with-apps/migrating-oauth-apps-to-github-apps.md,rendering error
221+
translations/zh-CN/content/developers/apps/guides/using-content-attachments.md,rendering error
215222
translations/zh-CN/content/developers/github-marketplace/github-marketplace-overview/about-github-marketplace.md,rendering error
216223
translations/zh-CN/content/developers/github-marketplace/github-marketplace-overview/index.md,rendering error
217224
translations/zh-CN/content/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/handling-new-purchases-and-free-trials.md,rendering error
218225
translations/zh-CN/content/developers/overview/managing-deploy-keys.md,rendering error
219226
translations/zh-CN/content/developers/overview/secret-scanning-partner-program.md,rendering error
220227
translations/zh-CN/content/developers/webhooks-and-events/webhooks/about-webhooks.md,rendering error
228+
translations/zh-CN/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md,rendering error
221229
translations/zh-CN/content/discussions/collaborating-with-your-community-using-discussions/about-discussions.md,rendering error
222230
translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution/about-campus-advisors.md,rendering error
223231
translations/zh-CN/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-at-your-educational-institution/about-github-campus-program.md,rendering error
@@ -250,6 +258,7 @@ translations/zh-CN/content/github/writing-on-github/working-with-advanced-format
250258
translations/zh-CN/content/github/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections.md,rendering error
251259
translations/zh-CN/content/graphql/guides/index.md,rendering error
252260
translations/zh-CN/content/graphql/guides/migrating-graphql-global-node-ids.md,rendering error
261+
translations/zh-CN/content/issues/guides.md,rendering error
253262
translations/zh-CN/content/issues/trying-out-the-new-projects-experience/customizing-your-project-views.md,rendering error
254263
translations/zh-CN/content/issues/trying-out-the-new-projects-experience/managing-access-to-projects.md,rendering error
255264
translations/zh-CN/content/issues/using-labels-and-milestones-to-track-work/managing-labels.md,rendering error
@@ -331,6 +340,7 @@ translations/zh-CN/content/search-github/searching-on-github/searching-discussio
331340
translations/zh-CN/content/search-github/searching-on-github/searching-for-repositories.md,rendering error
332341
translations/zh-CN/content/search-github/searching-on-github/searching-issues-and-pull-requests.md,rendering error
333342
translations/zh-CN/content/sponsors/getting-started-with-github-sponsors/about-github-sponsors.md,rendering error
343+
translations/zh-CN/content/sponsors/guides.md,rendering error
334344
translations/zh-CN/content/sponsors/receiving-sponsorships-through-github-sponsors/about-github-sponsors-for-open-source-contributors.md,rendering error
335345
translations/zh-CN/data/release-notes/enterprise-server/2-20/15.yml,Listed in localization-support#489
336346
translations/zh-CN/data/release-notes/enterprise-server/2-21/6.yml,Listed in localization-support#489

translations/zh-CN/content/actions/creating-actions/releasing-and-maintaining-actions.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ topics:
99
- Community
1010
versions:
1111
fpt: '*'
12+
ghec: '*'
1213
ghes: '*'
1314
ghae: '*'
1415
---
1516

1617
{% data reusables.actions.enterprise-beta %}
1718
{% data reusables.actions.enterprise-github-hosted-runners %}
1819

19-
## 简介
20+
## Introduction
2021

2122
After you create an action, you'll want to continue releasing new features while working with community contributions. This tutorial describes an example process you can follow to release and maintain actions in open source. The example:
2223

@@ -37,7 +38,7 @@ JavaScript actions are Node.js repositories with metadata. However, JavaScript a
3738

3839
* Dependent packages are committed alongside the code, typically in a compiled and minified form. This means that automated builds and secure community contributions are important.
3940

40-
{% ifversion fpt %}
41+
{% ifversion fpt or ghec %}
4142

4243
* Tagged releases can be published directly to {% data variables.product.prodname_marketplace %} and consumed by workflows across {% data variables.product.prodname_dotcom %}.
4344

@@ -54,7 +55,7 @@ To support the developer process in the next section, add two {% data variables.
5455

5556
### Example developer process
5657

57-
Here is an example process that you can follow to automatically run tests, create a release{% ifversion fpt%} and publish to {% data variables.product.prodname_marketplace %}{% endif %}, and publish your action.
58+
Here is an example process that you can follow to automatically run tests, create a release{% ifversion fpt or ghec%} and publish to {% data variables.product.prodname_marketplace %}{% endif %}, and publish your action.
5859

5960
1. Do feature work in branches per GitHub flow. For more information, see "[GitHub flow](/get-started/quickstart/github-flow)."
6061
* Whenever a commit is pushed to the feature branch, your testing workflow will automatically run the tests.
@@ -65,13 +66,13 @@ Here is an example process that you can follow to automatically run tests, creat
6566

6667
* **Note:** for security reasons, workflows triggered by `pull_request` from forks have restricted `GITHUB_TOKEN` permissions and do not have access to secrets. If your tests or other workflows triggered upon pull request require access to secrets, consider using a different event like a [manual trigger](/actions/reference/events-that-trigger-workflows#manual-events) or a [`pull_request_target`](/actions/reference/events-that-trigger-workflows#pull_request_target). Read more [here](/actions/reference/events-that-trigger-workflows#pull-request-events-for-forked-repositories).
6768

68-
3. Create a semantically tagged release. {% ifversion fpt %} You may also publish to {% data variables.product.prodname_marketplace %} with a simple checkbox. {% endif %} For more information, see "[Managing releases in a repository](/github/administering-a-repository/managing-releases-in-a-repository#creating-a-release)"{% ifversion fpt %} and "[Publishing actions in {% data variables.product.prodname_marketplace %}](/actions/creating-actions/publishing-actions-in-github-marketplace#publishing-an-action)"{% endif %}.
69+
3. Create a semantically tagged release. {% ifversion fpt or ghec %} You may also publish to {% data variables.product.prodname_marketplace %} with a simple checkbox. {% endif %} For more information, see "[Managing releases in a repository](/github/administering-a-repository/managing-releases-in-a-repository#creating-a-release)"{% ifversion fpt or ghec %} and "[Publishing actions in {% data variables.product.prodname_marketplace %}](/actions/creating-actions/publishing-actions-in-github-marketplace#publishing-an-action)"{% endif %}.
6970

7071
* When a release is published or edited, your release workflow will automatically take care of compilation and adjusting tags.
7172

7273
* We recommend creating releases using semantically versioned tags – for example, `v1.1.3` – and keeping major (`v1`) and minor (`v1.1`) tags current to the latest appropriate commit. For more information, see "[About custom actions](/actions/creating-actions/about-custom-actions#using-release-management-for-actions)" and "[About semantic versioning](https://docs.npmjs.com/about-semantic-versioning).
7374

74-
### 结果
75+
### Results
7576

7677
Unlike some other automated release management strategies, this process intentionally does not commit dependencies to the `main` branch, only to the tagged release commits. By doing so, you encourage users of your action to reference named tags or `sha`s, and you help ensure the security of third party pull requests by doing the build yourself during a release.
7778

@@ -81,12 +82,12 @@ Using semantic releases means that the users of your actions can pin their workf
8182

8283
{% data variables.product.product_name %} provides tools and guides to help you work with the open source community. Here are a few tools we recommend setting up for healthy bidirectional communication. By providing the following signals to the community, you encourage others to use, modify, and contribute to your action:
8384

84-
* Maintain a `README` with plenty of usage examples and guidance. 更多信息请参阅“[关于自述文件](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes)”。
85-
* Include a workflow status badge in your `README` file. 更多信息请参阅“[添加工作流程状态徽章](/actions/managing-workflow-runs/adding-a-workflow-status-badge)”。 Also visit [shields.io](https://shields.io/) to learn about other badges that you can add.{% ifversion fpt %}
85+
* Maintain a `README` with plenty of usage examples and guidance. For more information, see "[About READMEs](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes)."
86+
* Include a workflow status badge in your `README` file. For more information, see "[Adding a workflow status badge](/actions/managing-workflow-runs/adding-a-workflow-status-badge)." Also visit [shields.io](https://shields.io/) to learn about other badges that you can add.{% ifversion fpt or ghec %}
8687
* Add community health files like `CODE_OF_CONDUCT`, `CONTRIBUTING`, and `SECURITY`. For more information, see "[Creating a default community health file](/github/building-a-strong-community/creating-a-default-community-health-file#supported-file-types)."{% endif %}
8788
* Keep issues current by utilizing actions like [actions/stale](https://github.com/actions/stale).
8889

89-
## 延伸阅读
90+
## Further reading
9091

9192
Examples where similar patterns are employed include:
9293

0 commit comments

Comments
 (0)