Skip to content

Commit 1e469b7

Browse files
authored
New translation batch for cn (#28338)
* Add crowdin translations * Run script/i18n/homogenize-frontmatter.js * 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
1 parent 138ca93 commit 1e469b7

File tree

44 files changed

+172
-127
lines changed

Some content is hidden

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

44 files changed

+172
-127
lines changed

translations/log/cn-resets.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ translations/zh-CN/content/admin/monitoring-activity-in-your-enterprise/analyzin
8888
translations/zh-CN/content/admin/monitoring-activity-in-your-enterprise/analyzing-how-your-team-works-with-server-statistics/requesting-server-statistics-using-the-rest-api.md,broken liquid tags
8989
translations/zh-CN/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md,broken liquid tags
9090
translations/zh-CN/content/admin/overview/about-enterprise-accounts.md,Listed in localization-support#489
91-
translations/zh-CN/content/admin/overview/about-enterprise-accounts.md,rendering error
91+
translations/zh-CN/content/admin/overview/about-enterprise-accounts.md,broken liquid tags
9292
translations/zh-CN/content/admin/overview/creating-an-enterprise-account.md,broken liquid tags
9393
translations/zh-CN/content/admin/packages/configuring-package-ecosystem-support-for-your-enterprise.md,broken liquid tags
9494
translations/zh-CN/content/admin/packages/enabling-github-packages-with-aws.md,broken liquid tags

translations/zh-CN/content/actions/automating-builds-and-tests/building-and-testing-java-with-gradle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ shortTitle: 构建和测试 Java & Gradle
2222

2323
## 简介
2424

25-
本指南介绍如何使用 Gradle 构建系统为 Java 项目创建执行持续集成 (CI) 的工作流程。 您创建的工作流程将允许您查看拉取请求提交何时会在默认分支上导致构建或测试失败; 这个方法可帮助确保您的代码始终是健康的。 您可以扩展 CI 工作流程以{% ifversion actions-caching %}缓存文件并且{% endif %}从工作流程运行上传构件。
25+
本指南介绍如何使用 Gradle 构建系统为 Java 项目创建执行持续集成 (CI) 的工作流程。 您创建的工作流程将允许您查看拉取请求提交何时会在默认分支上导致构建或测试失败; 这个方法可帮助确保您的代码始终是健康的。 You can extend your CI workflow to {% ifversion actions-caching %}cache files and{% endif %} upload artifacts from a workflow run.
2626

2727
{% ifversion ghae %}
2828
{% data reusables.actions.self-hosted-runners-software %}

translations/zh-CN/content/actions/automating-builds-and-tests/building-and-testing-java-with-maven.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ shortTitle: 使用 Maven 构建和测试 Java
2222

2323
## 简介
2424

25-
本指南介绍如何使用 Maven 软件项目管理工具为 Java 项目创建执行持续集成 (CI) 的工作流程。 您创建的工作流程将允许您查看拉取请求提交何时会在默认分支上导致构建或测试失败; 这个方法可帮助确保您的代码始终是健康的。 您可以扩展 CI 工作流程以{% ifversion actions-caching %}缓存文件并且{% endif %}从工作流程运行上传构件。
25+
本指南介绍如何使用 Maven 软件项目管理工具为 Java 项目创建执行持续集成 (CI) 的工作流程。 您创建的工作流程将允许您查看拉取请求提交何时会在默认分支上导致构建或测试失败; 这个方法可帮助确保您的代码始终是健康的。 You can extend your CI workflow to {% ifversion actions-caching %}cache files and{% endif %} upload artifacts from a workflow run.
2626

2727
{% ifversion ghae %}
2828
{% data reusables.actions.self-hosted-runners-software %}

translations/zh-CN/content/actions/automating-builds-and-tests/building-and-testing-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134

135135
{% data variables.product.prodname_dotcom %} 托管的运行器安装了 npm 和 Yarn 依赖项管理器。 在构建和测试代码之前,可以使用 npm 和 Yarn 在工作流程中安装依赖项。 Windows 和 Linux {% data variables.product.prodname_dotcom %} 托管的运行器也安装了 Grunt、Gulp 和 Bower。
136136

137-
{% ifversion actions-caching %}您也可以缓存依赖项来加快工作流程。 更多信息请参阅“[缓存依赖项以加快工作流程](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)”。{% endif %}
137+
{% ifversion actions-caching %}You can also cache dependencies to speed up your workflow. 更多信息请参阅“[缓存依赖项以加快工作流程](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)”。{% endif %}
138138

139139
### 使用 npm 的示例
140140

translations/zh-CN/content/actions/automating-builds-and-tests/building-and-testing-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
105105
{% endnote %}
106106
107-
{% ifversion actions-caching %}您也可以缓存依赖项来加快工作流程。 更多信息请参阅“[缓存依赖项以加快工作流程](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)”。{% endif %}
107+
{% ifversion actions-caching %}You can also cache dependencies to speed up your workflow. 更多信息请参阅“[缓存依赖项以加快工作流程](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)”。{% endif %}
108108
109109
例如,以下作业将安装 `SqlServer` 和 `PSScriptAnalyzer` 模块:
110110

translations/zh-CN/content/actions/automating-builds-and-tests/building-and-testing-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ jobs:
195195

196196
{% data variables.product.prodname_dotcom %} 托管的运行器安装了 pip 软件包管理器。 在构建和测试代码之前,您可以使用 pip 从 PyPI 软件包注册表安装依赖项。 例如,下面的 YAML 安装或升级 `pip` 软件包安装程序以及 `setuptools``wheel` 软件包。
197197

198-
{% ifversion actions-caching %}您也可以缓存依赖项来加快工作流程。 更多信息请参阅“[缓存依赖项以加快工作流程](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)”。{% endif %}
198+
{% ifversion actions-caching %}You can also cache dependencies to speed up your workflow. 更多信息请参阅“[缓存依赖项以加快工作流程](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)”。{% endif %}
199199

200200
```yaml{:copy}
201201
steps:

translations/zh-CN/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ OpenID Connect (OIDC) 允许您的 {% data variables.product.prodname_actions %}
4343

4444
```json{:copy}
4545
"Condition": {
46-
"ForAllValues:StringEquals": {
46+
"StringEquals": {
4747
"{% ifversion ghes %}HOSTNAME/_services/token{% else %}token.actions.githubusercontent.com{% endif %}:aud": "sts.amazonaws.com",
4848
"{% ifversion ghes %}HOSTNAME/_services/token{% else %}token.actions.githubusercontent.com{% endif %}:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
4949
}

translations/zh-CN/content/actions/learn-github-actions/understanding-github-actions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ _操作_是 {% data variables.product.prodname_actions %} 平台的自定义应
8686

8787
{% data reusables.actions.workflow-basic-example-and-explanation %}
8888

89-
## 后续步骤
89+
## 更复杂的示例
90+
{% data reusables.actions.link-to-example-library %}
9091

91-
要继续了解 {% data variables.product.prodname_actions %},请参阅“[查找和自定义操作](/actions/learn-github-actions/finding-and-customizing-actions)”。
92+
## 后续步骤
9293

94+
- 要继续了解 {% data variables.product.prodname_actions %},请参阅“[查找和自定义操作](/actions/learn-github-actions/finding-and-customizing-actions)”。
9395
{% ifversion fpt or ghec or ghes %}
94-
95-
要了解 {% data variables.product.prodname_actions %} 的计费方式,请参阅“[关于 {% data variables.product.prodname_actions %} 的计费](/actions/reference/usage-limits-billing-and-administration#about-billing-for-github-actions)”。
96-
96+
- 要了解 {% data variables.product.prodname_actions %} 的计费方式,请参阅“[关于 {% data variables.product.prodname_actions %} 的计费](/actions/reference/usage-limits-billing-and-administration#about-billing-for-github-actions)”。
9797
{% endif %}
9898

9999
## 联系支持

translations/zh-CN/content/actions/managing-workflow-runs/skipping-workflow-runs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ shortTitle: 跳过工作流程运行
2626
* `[skip actions]`
2727
* `[actions skip]`
2828

29-
或者,您也可以使用两个空行后接 `skip-checks: true``skip-checks:true` 来结束提交消息。
29+
Alternatively, you can end the commit message with two empty lines followed by either:
30+
- `skip-checks:true`
31+
- `skip-checks: true`
3032

3133
如果您的仓库配置为需要先通过特定检查,则无法合并拉取请求。 要允许合并拉取请求,您可以将新提交推送到拉取请求,而无需提交消息中的跳过指令。
3234

translations/zh-CN/content/actions/quickstart.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ shortTitle: 快速入门
7878
7979
{% data reusables.actions.workflow-template-overview %}
8080
81+
## 更复杂的示例
82+
{% data reusables.actions.link-to-example-library %}
83+
8184
## 后续步骤
8285
8386
每次将代码推送到分支时,您刚刚添加的示例工作流程都会运行,并显示 {% data variables.product.prodname_actions %} 如何处理仓库的内容。 但是,这只是您可以对 {% data variables.product.prodname_actions %} 执行操作的开始:

0 commit comments

Comments
 (0)