You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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]>
Copy file name to clipboardExpand all lines: translations/zh-CN/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/deploying-github-advanced-security-in-your-enterprise.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -253,8 +253,7 @@ When code scanning identifies a problem in a pull request, you can review the hi
253
253
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)."
254
254
255
255
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)."
258
257
259
258
#### Generate reports of {% data variables.product.prodname_code_scanning %} alerts
Copy file name to clipboardExpand all lines: translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Managing code scanning alerts for your repository
3
3
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.'
5
5
product: '{% data reusables.gated-features.code-scanning %}'
6
6
permissions: 'If you have write permission to a repository you can manage {% data variables.product.prodname_code_scanning %} alerts for that repository.'
7
7
versions:
@@ -175,9 +175,9 @@ Alerts may be fixed in one branch but not in another. You can use the "Branch" f
175
175
176
176
{% endnote %}
177
177
{% endif %}
178
-
## Dismissing or deleting alerts
178
+
## Dismissing {% if delete-code-scanning-alerts %}or deleting{% endif %} alerts
179
179
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 %}
181
181
182
182
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.
183
183
@@ -189,30 +189,29 @@ When you dismiss an alert:
189
189
- The reason why you closed the alert is recorded.
190
190
- Next time {% data variables.product.prodname_code_scanning %} runs, the same code won't generate an alert.
191
191
192
-
When you delete an alert:
192
+
{% if delete-code-scanning-alerts %}When you delete an alert:
193
193
194
194
- It's deleted in all branches.
195
195
- The alert is removed from the number of current alerts for your project.
196
196
- 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 %}
198
198
199
-
To dismiss or delete alerts:
199
+
To dismiss {% if delete-code-scanning-alerts %}or delete{% endif %} alerts:
200
200
201
201
{% data reusables.repositories.navigate-to-repo %}
202
202
{% 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 %}
204
204
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**.
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.
209
209
210
-
{% ifversion fpt or ghes > 3.1 or ghae or ghec %}
210
+
{% ifversion ghes > 3.1 or ghae %}
211
211

212
212
{% else %}
213
213

214
-
{% endif %}
215
-
214
+
{% endif %}{% endif %}
216
215
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.
Copy file name to clipboardExpand all lines: translations/zh-CN/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,4 +99,4 @@ topics:
99
99
100
100
{% data reusables.code-scanning.false-positive-fix-codeql %}
101
101
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 %}
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.'
9
9
permissions: '{% data reusables.enterprise-accounts.emu-permission-interact %}'
10
10
versions:
11
11
fpt: '*'
@@ -24,15 +24,17 @@ topics:
24
24
25
25
## 关注他人
26
26
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 yourpersonaldashboard 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.
For more information, see "[Following people](/get-started/exploring-projects-on-github/following-people)."
34
+
33
35
## 关注仓库
34
36
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)."
36
38
37
39
在仓库顶部单击 **Watch(关注)**可关注它。
38
40
@@ -44,38 +46,35 @@ topics:
44
46
45
47
## {% data variables.product.product_name %} 上的通信
46
48
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.
50
50
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)."
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.
### 在 {% data variables.product.prodname_dotcom %} 上探索其他项目
62
62
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)."
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.
To explore more projects, see "{% data variables.explore.explore_github %}".
68
68
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 %}.
70
71
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 %}
72
73
73
-
## 祝贺
74
+
* {% data reusables.getting-started.create-a-repository %}
74
75
75
-
您现在已连接到 {% data variables.product.product_name %} 社区。 接下来您要做什么? 
76
+
* {% data reusables.getting-started.fork-a-repository %}
76
77
78
+
* {% data reusables.getting-started.contributing-to-projects %}
77
79
78
-
- 要将您的 {% data variables.product.product_name %} 项目与计算机同步,您可以设置 Git。 更多信息请参阅“[设置 Git](/articles/set-up-git)”。
0 commit comments