Skip to content

Commit b53d655

Browse files
docubotrsese
andauthored
New translation batch for cn (github#27211)
* 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 Co-authored-by: Robert Sese <[email protected]>
1 parent 0c66235 commit b53d655

File tree

18 files changed

+90
-77
lines changed

18 files changed

+90
-77
lines changed

translations/log/cn-resets.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ translations/zh-CN/data/reusables/package_registry/packages-cluster-support.md,b
310310
translations/zh-CN/data/reusables/repositories/deleted_forks_from_private_repositories_warning.md,broken liquid tags
311311
translations/zh-CN/data/reusables/repositories/github-reviews-security-advisories.md,broken liquid tags
312312
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,Listed in localization-support#489
313-
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,broken liquid tags
313+
translations/zh-CN/data/reusables/saml/you-must-periodically-authenticate.md,rendering error
314314
translations/zh-CN/data/reusables/scim/after-you-configure-saml.md,broken liquid tags
315315
translations/zh-CN/data/reusables/secret-scanning/enterprise-enable-secret-scanning.md,broken liquid tags
316316
translations/zh-CN/data/reusables/sponsors/feedback.md,broken liquid tags

translations/zh-CN/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/deploying-github-advanced-security-in-your-enterprise.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,7 @@ When code scanning identifies a problem in a pull request, you can review the hi
253253
code and resolve the alert. For more information, see "[Triaging {% data variables.product.prodname_code_scanning %} alerts in pull requests](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests)."
254254

255255
If you have write permission to a repository you can manage code scanning alerts for that
256-
repository. With write permission to a repository, you can view, fix, dismiss, or delete alerts for potential
257-
vulnerabilities or errors in your repository's code. For more information, see "[Managing code scanning alerts for your repository](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository)."
256+
repository. With write permission to a repository, {% if delete-code-scanning-alerts %}you can view, fix, dismiss, or delete alerts {% else %}you can view, fix, or dismiss alerts{% endif %} for potential vulnerabilities or errors in your repository's code. For more information, see "[Managing code scanning alerts for your repository](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository)."
258257

259258
#### Generate reports of {% data variables.product.prodname_code_scanning %} alerts
260259

translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Managing code scanning alerts for your repository
33
shortTitle: Manage alerts
4-
intro: 'From the security view, you can view, fix, dismiss, or delete alerts for potential vulnerabilities or errors in your project''s code.'
4+
intro: 'From the security view, {% if delete-code-scanning-alerts %}you can view, fix, dismiss, or delete alerts {% else %}you can view, fix, or dismiss alerts{% endif %} for potential vulnerabilities or errors in your project''s code.'
55
product: '{% data reusables.gated-features.code-scanning %}'
66
permissions: 'If you have write permission to a repository you can manage {% data variables.product.prodname_code_scanning %} alerts for that repository.'
77
versions:
@@ -175,9 +175,9 @@ Alerts may be fixed in one branch but not in another. You can use the "Branch" f
175175

176176
{% endnote %}
177177
{% endif %}
178-
## Dismissing or deleting alerts
178+
## Dismissing {% if delete-code-scanning-alerts %}or deleting{% endif %} alerts
179179

180-
There are two ways of closing an alert. You can fix the problem in the code, or you can dismiss the alert. Alternatively, if you have admin permissions for the repository, you can delete alerts. Deleting alerts is useful in situations where you have set up a {% data variables.product.prodname_code_scanning %} tool and then decided to remove it, or where you have configured {% data variables.product.prodname_codeql %} analysis with a larger set of queries than you want to continue using, and you've then removed some queries from the tool. In both cases, deleting alerts allows you to clean up your {% data variables.product.prodname_code_scanning %} results. You can delete alerts from the summary list within the **Security** tab.
180+
There are two ways of closing an alert. You can fix the problem in the code, or you can dismiss the alert. {% if delete-code-scanning-alerts %}Alternatively, if you have admin permissions for the repository, you can delete alerts. Deleting alerts is useful in situations where you have set up a {% data variables.product.prodname_code_scanning %} tool and then decided to remove it, or where you have configured {% data variables.product.prodname_codeql %} analysis with a larger set of queries than you want to continue using, and you've then removed some queries from the tool. In both cases, deleting alerts allows you to clean up your {% data variables.product.prodname_code_scanning %} results. You can delete alerts from the summary list within the **Security** tab.{% endif %}
181181

182182
Dismissing an alert is a way of closing an alert that you don't think needs to be fixed. {% data reusables.code-scanning.close-alert-examples %} You can dismiss alerts from {% data variables.product.prodname_code_scanning %} annotations in code, or from the summary list within the **Security** tab.
183183

@@ -189,30 +189,29 @@ When you dismiss an alert:
189189
- The reason why you closed the alert is recorded.
190190
- Next time {% data variables.product.prodname_code_scanning %} runs, the same code won't generate an alert.
191191

192-
When you delete an alert:
192+
{% if delete-code-scanning-alerts %}When you delete an alert:
193193

194194
- It's deleted in all branches.
195195
- The alert is removed from the number of current alerts for your project.
196196
- It is _not_ added to the "Closed" list in the summary of alerts.
197-
- If the code that generated the alert stays the same, and the same {% data variables.product.prodname_code_scanning %} tool runs again without any configuration changes, the alert will be shown again in your analysis results.
197+
- If the code that generated the alert stays the same, and the same {% data variables.product.prodname_code_scanning %} tool runs again without any configuration changes, the alert will be shown again in your analysis results.{% endif %}
198198

199-
To dismiss or delete alerts:
199+
To dismiss {% if delete-code-scanning-alerts %}or delete{% endif %} alerts:
200200

201201
{% data reusables.repositories.navigate-to-repo %}
202202
{% data reusables.repositories.sidebar-security %}
203-
{% data reusables.repositories.sidebar-code-scanning-alerts %}
203+
{% data reusables.repositories.sidebar-code-scanning-alerts %}{% if delete-code-scanning-alerts %}
204204
1. If you have admin permissions for the repository, and you want to delete alerts for this {% data variables.product.prodname_code_scanning %} tool, select some or all of the check boxes and click **Delete**.
205205

206206
![Deleting alerts](/assets/images/help/repository/code-scanning-delete-alerts.png)
207207

208208
Optionally, you can use{% ifversion fpt or ghes > 3.1 or ghae or ghec %} the free text search or{% endif %} the filters to display a subset of alerts and then delete all matching alerts at once. For example, if you have removed a query from {% data variables.product.prodname_codeql %} analysis, you can use the "Rule" filter to list just the alerts for that query and then select and delete all of those alerts.
209209

210-
{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
210+
{% ifversion ghes > 3.1 or ghae %}
211211
![Filter alerts by rule](/assets/images/help/repository/code-scanning-filter-by-rule.png)
212212
{% else %}
213213
![Filter alerts by rule](/assets/images/enterprise/3.1/help/repository/code-scanning-filter-by-rule.png)
214-
{% endif %}
215-
214+
{% endif %}{% endif %}
216215
1. If you want to dismiss an alert, it's important to explore the alert first, so that you can choose the correct dismissal reason. Click the alert you'd like to explore.
217216

218217
{% ifversion fpt or ghes > 3.1 or ghae or ghec %}

translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ topics:
9999

100100
{% data reusables.code-scanning.false-positive-fix-codeql %}
101101

102-
有关忽略警报的更多信息,请参阅“[管理仓库的 {% data variables.product.prodname_code_scanning %} 警报](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#dismissing-or-deleting-alerts)”。
102+
For more information about dismissing alerts, see {% if delete-code-scanning-alerts %}"[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#dismissing-or-deleting-alerts)."{% else %} "[Managing {% data variables.product.prodname_code_scanning %} alerts for your repository](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository#dismissing--alerts)."{% endif %}

translations/zh-CN/content/get-started/quickstart/be-social.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ redirect_from:
55
- /articles/be-social
66
- /github/getting-started-with-github/be-social
77
- /github/getting-started-with-github/quickstart/be-social
8-
intro: '您可以在 {% data variables.product.prodname_dotcom %} 上与人员、仓库及组织进行互动。 从您的个人仪表板查看其他人正在做什么,在跟谁联系。'
8+
intro: '您可以在 {% data variables.product.prodname_dotcom %} 上与人员、仓库及组织进行互动。 See what others are working on and who they are connecting with from your personal dashboard.'
99
permissions: '{% data reusables.enterprise-accounts.emu-permission-interact %}'
1010
versions:
1111
fpt: '*'
@@ -24,15 +24,17 @@ topics:
2424

2525
## 关注他人
2626

27-
{% data variables.product.prodname_dotcom %} 上关注某人后,您将会在您的个人仪表板中收到有关其活动的通知。 更多信息请参阅“[关于个人仪表板](/articles/about-your-personal-dashboard)”。
27+
When you follow someone on {% data variables.product.prodname_dotcom %}, you will get notifications on your personal dashboard about their public activity. If someone you follow creates a new repository, stars a repository, or follows another user, the activity will display in your dashboard.
2828

2929
在某人的个人资料页面上单击 **Follow(关注)**可关注他们。
3030

3131
![关注用户按钮](/assets/images/help/profile/follow-user-button.png)
3232

33+
For more information, see "[Following people](/get-started/exploring-projects-on-github/following-people)."
34+
3335
## 关注仓库
3436

35-
您可以关注仓库以接收有关新拉取请求和议题的通知。 当所有者更新仓库时,您将在个人仪表板中看到其更改。 更多信息请参阅{% ifversion fpt or ghae or ghes or ghec %}“[查看您的订阅](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions){% else %}”[关注和取消关注仓库](/github/receiving-notifications-about-activity-on-github/watching-and-unwatching-repositories){% endif %}”。
37+
You can subscribe to a repository to watch it and receive notifications for activity in it. When the owner updates the repository, you will see the changes in your personal dashboard. For more information, see "[Viewing your subscriptions](/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions)."
3638

3739
在仓库顶部单击 **Watch(关注)**可关注它。
3840

@@ -44,38 +46,35 @@ topics:
4446

4547
## {% data variables.product.product_name %} 上的通信
4648

47-
{% data variables.product.product_name %} 提供内置的协作通信工具,如议题和拉取请求,使您在构建出色的软件时能够与社区进行密切互动。 有关这些工具的概述以及每个工具的特异性,请参阅“[{% data variables.product.prodname_dotcom %} 通信快速入门](/github/collaborating-with-issues-and-pull-requests/quickstart-for-communicating-on-github)”。
48-
49-
## 更多功能
49+
{% data variables.product.product_name %} provides built-in collaborative communication tools, allowing you to interact closely with your community when building great software. For example, you can contribute to another user's project by creating a pull request, or use issues to track bugs or suggest ideas in a repository. You can also brainstorm new ideas with your team with discussions.
5050

51-
### 创建拉取请求
51+
For an overview of these tools, see "[Quickstart for communicating on {% data variables.product.prodname_dotcom %}](/github/collaborating-with-issues-and-pull-requests/quickstart-for-communicating-on-github)."
5252

53-
您可能希望为其他人的项目做出贡献,例如添加功能或修复漏洞。 做出更改后,通过发送拉取请求让原作者知道。 更多信息请参阅“[关于拉取请求](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)”。
53+
## 参与组织
5454

55-
![拉取请求按钮](/assets/images/help/repository/repo-actions-pullrequest.png)
55+
组织是共享帐户,其中业务和开源项目可一次协助处理多个项目。 所有者和管理员可建立具有特殊权限的团队、拥有公共组织资料以及跟踪组织内的活动。 更多信息请参阅“[关于组织](/articles/about-organizations/)”。
5656

57-
### 使用议题
57+
From your dashboard, click the drop down menu of your username on the left side of your dashboard. Here, you can view organizations that you are a part of and easily switch between them.
5858

59-
在仓库上进行协作时,可使用议题来跟踪想法、增强功能、任务或漏洞。 更多信息请参阅“[关于议题](/articles/about-issues/)”。
59+
![切换帐户上下文下拉列表](/assets/images/help/overview/dashboard-contextswitcher.png)
6060

61-
![议题按钮](/assets/images/help/repository/repo-tabs-issues.png)
61+
### 在 {% data variables.product.prodname_dotcom %} 上探索其他项目
6262

63-
### 参与组织
63+
You can discover new and interesting projects on {% data variables.product.prodname_dotcom %}'s Explore page. You can star interesting projects to make them easy to find again later. Visit your stars page to see all your starred projects. For more information about stars, see "[Saving repositories with stars](/get-started/exploring-projects-on-github/saving-repositories-with-stars)."
6464

65-
组织是共享帐户,其中业务和开源项目可一次协助处理多个项目。 所有者和管理员可建立具有特殊权限的团队、拥有公共组织资料以及跟踪组织内的活动。 更多信息请参阅“[关于组织](/articles/about-organizations/)”。
65+
Your dashboard feed displays projects based on your interests including repositories you star, people you follow, and your contributions to public repositories. From your dashboard, you can see trending projects, view topics, and check out collections.
6666

67-
![切换帐户上下文下拉列表](/assets/images/help/overview/dashboard-contextswitcher.png)
67+
To explore more projects, see "{% data variables.explore.explore_github %}".
6868

69-
### 在 {% data variables.product.prodname_dotcom %} 上探索其他项目
69+
## 后续步骤
70+
You are now connected to the {% data variables.product.product_name %} community. There are other ways to interact and build within {% data variables.product.product_name %}.
7071

71-
使用 {% data variables.explore.explore_github %}[探索仓库](https://github.com/explore)以及 {% data variables.explore.trending_page %} 来发现感兴趣的项目。 用星号标记感兴趣的项目,以便今后访问。 访问您的 {% data variables.explore.your_stars_page %} 可查看所有加星标的项目。 更多信息请参阅“[关于个人仪表板](/articles/about-your-personal-dashboard/)”。
72+
* {% data reusables.getting-started.set-up-git %}
7273

73-
## 祝贺
74+
* {% data reusables.getting-started.create-a-repository %}
7475

75-
您现在已连接到 {% data variables.product.product_name %} 社区。 接下来您要做什么? ![用星号标记项目](/assets/images/help/stars/star-a-project.png)
76+
* {% data reusables.getting-started.fork-a-repository %}
7677

78+
* {% data reusables.getting-started.contributing-to-projects %}
7779

78-
- 要将您的 {% data variables.product.product_name %} 项目与计算机同步,您可以设置 Git。 更多信息请参阅“[设置 Git](/articles/set-up-git)”。
79-
- 您也可以创建仓库,以放置所有项目和维护工作流程。 更多信息请参阅“[创建仓库](/articles/create-a-repo)”。
80-
- 您可以复刻仓库以进行您想要看到的更改,而不影响原始仓库。 更多信息请参阅“[复刻仓库](/articles/fork-a-repo)”。
81-
- {% data reusables.support.connect-in-the-forum-bootcamp %}
80+
* {% data reusables.support.connect-in-the-forum-bootcamp %}

0 commit comments

Comments
 (0)