Skip to content

Commit 214ebd7

Browse files
authored
New translation batch for cn (#33317)
1 parent 0404af1 commit 214ebd7

File tree

45 files changed

+1574
-1522
lines changed

Some content is hidden

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

45 files changed

+1574
-1522
lines changed

translations/log/msft-cn-resets.csv

Lines changed: 206 additions & 229 deletions
Large diffs are not rendered by default.

translations/zh-CN/content/actions/creating-actions/about-custom-actions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ type: overview
1616
topics:
1717
- Action development
1818
- Fundamentals
19-
ms.openlocfilehash: ac933a5014750f75373fafa7f8dd52333b79a469
20-
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
19+
ms.openlocfilehash: 1e81bea551ceff1980b0bbe96202f60db0d0e7f2
20+
ms.sourcegitcommit: 9af8891fea10039b3374c76818634e05410e349d
2121
ms.translationtype: HT
2222
ms.contentlocale: zh-CN
23-
ms.lasthandoff: 09/05/2022
24-
ms.locfileid: '147154571'
23+
ms.lasthandoff: 12/06/2022
24+
ms.locfileid: '148191944'
2525
---
2626
{% data reusables.actions.enterprise-beta %} {% data reusables.actions.enterprise-github-hosted-runners %}
2727

@@ -35,7 +35,7 @@ ms.locfileid: '147154571'
3535

3636
## 操作的类型
3737

38-
您可以创建 Docker 容器和 JavaScript 操作。 操作需要元数据文件来定义操作的输入、输出和主要进入点。 元数据文件名必须为 `action.yml``action.yaml`。 有关详细信息,请参阅“[{% data variables.product.prodname_actions %} 的元数据语法](/articles/metadata-syntax-for-github-actions)”。
38+
可以构建 Docker 容器、JavaScript 和复合操作。 操作需要元数据文件来定义操作的输入、输出和主要进入点。 元数据文件名必须为 `action.yml``action.yaml`。 有关详细信息,请参阅“[{% data variables.product.prodname_actions %} 的元数据语法](/articles/metadata-syntax-for-github-actions)”。
3939

4040
| 类型 | 操作系统 |
4141
| ---- | ------------------- |

translations/zh-CN/content/actions/creating-actions/creating-a-javascript-action.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,3 +271,10 @@ jobs:
271271
From your repository, click the **Actions** tab, and select the latest workflow run. Under **Jobs** or in the visualization graph, click **A job to say hello**. You should see "Hello Mona the Octocat" or the name you used for the `who-to-greet` input and the timestamp printed in the log.
272272

273273
![A screenshot of using your action in a workflow](/assets/images/help/repository/javascript-action-workflow-run-updated-2.png)
274+
275+
## Template repositories for creating JavaScript actions
276+
277+
{% data variables.product.prodname_dotcom %} provides template repositories for creating JavaScript and TypeScript actions. You can use these templates to quickly get started with creating a new action that includes tests, linting, and other recommended practices.
278+
279+
* [`javascript-action` template repository](https://github.com/actions/javascript-action)
280+
* [`typescript-action` template repository](https://github.com/actions/typescript-action)
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
---
2-
title: Enabling Server Statistics for your enterprise
3-
intro: 'You can analyze your own aggregate data from {% data variables.product.prodname_ghe_server %} and help us improve {% data variables.product.company_short %} products by enabling {% data variables.product.prodname_server_statistics %}.'
2+
title: 为企业启用服务器统计信息
3+
intro: '可以从 {% data variables.product.prodname_ghe_server %} 分析自己的聚合数据,并通过启用 {% data variables.product.prodname_server_statistics %} 帮助改进 {% data variables.product.company_short %} 产品。'
44
versions:
55
feature: server-statistics
66
redirect_from:
77
- /early-access/github/analyze-how-your-team-works-with-server-statistics/about-server-statistics/enabling-server-statistics
88
topics:
99
- Enterprise
1010
shortTitle: Server Statistics
11+
ms.openlocfilehash: 125651de793a45240008de34845762e6de637040
12+
ms.sourcegitcommit: 9af8891fea10039b3374c76818634e05410e349d
13+
ms.translationtype: HT
14+
ms.contentlocale: zh-CN
15+
ms.lasthandoff: 12/06/2022
16+
ms.locfileid: '148191868'
1117
---
18+
## 关于 {% data variables.product.prodname_server_statistics %}
1219

13-
## About {% data variables.product.prodname_server_statistics %}
20+
{% data variables.product.prodname_server_statistics %} 从 {% data variables.location.product_location %} 中收集聚合使用情况数据,你可以使用这些数据更好地预测组织的需求、了解团队的工作方式并显示你从 {% data variables.product.prodname_ghe_server %} 获取的值。
1421

15-
{% data variables.product.prodname_server_statistics %} collects aggregate usage data from {% data variables.location.product_location %}, which you can use to better anticipate the needs of your organization, understand how your team works, and show the value you get from {% data variables.product.prodname_ghe_server %}.
22+
{% data variables.product.prodname_server_statistics %} 仅在存储库、问题、拉取请求和其他功能上收集某些聚合指标。 不会收集 {% data variables.product.prodname_dotcom %} 内容,例如代码、问题、评论或拉取请求内容。 有关详细信息,请参阅“[关于 {% data variables.product.prodname_server_statistics %}](/admin/monitoring-activity-in-your-enterprise/analyzing-how-your-team-works-with-server-statistics/about-server-statistics)”。
1623

17-
{% data variables.product.prodname_server_statistics %} only collects certain aggregate metrics on repositories, issues, pull requests, and other features. {% data variables.product.prodname_dotcom %} content, such as code, issues, comments, or pull request content, is not collected. For more information, see "[About {% data variables.product.prodname_server_statistics %}](/admin/monitoring-activity-in-your-enterprise/analyzing-how-your-team-works-with-server-statistics/about-server-statistics)."
24+
通过启用 {% data variables.product.prodname_server_statistics %},还可帮助提高 {% data variables.product.company_short %}。 你将提供的聚合数据有助于我们了解我们的客户使用 {% data variables.product.prodname_dotcom %} 的方式,并做出更好、更明智的产品决策,最终使你受益。
1825

19-
By enabling {% data variables.product.prodname_server_statistics %}, you are also helping to improve {% data variables.product.company_short %}. The aggregated data you will provide helps us understand how our customers are using {% data variables.product.prodname_dotcom %}, and make better and more informed product decisions, ultimately benefiting you.
26+
## 启用 {% data variables.product.prodname_server_statistics %}
2027

21-
## Enabling {% data variables.product.prodname_server_statistics %}
28+
启用 {% data variables.product.prodname_server_statistics %} 之前,必须首先通过 {% data variables.product.prodname_github_connect %} 将 {% data variables.product.prodname_ghe_server %} 实例连接到 {% data variables.product.prodname_dotcom_the_website %}。 有关详细信息,请参阅“[将 {% data variables.product.prodname_ghe_server %} 连接到 {% data variables.product.prodname_ghe_cloud %}](/[email protected]/admin/configuration/managing-connections-between-github-enterprise-server-and-github-enterprise-cloud/connecting-github-enterprise-server-to-github-enterprise-cloud)”。
2229

23-
Before you can enable {% data variables.product.prodname_server_statistics %}, you must first connect your {% data variables.product.prodname_ghe_server %} instance to {% data variables.product.prodname_dotcom_the_website %} through {% data variables.product.prodname_github_connect %}. For more information, see "[Connecting {% data variables.product.prodname_ghe_server %} to {% data variables.product.prodname_ghe_cloud %}](/[email protected]/admin/configuration/managing-connections-between-github-enterprise-server-and-github-enterprise-cloud/connecting-github-enterprise-server-to-github-enterprise-cloud)."
30+
可随时从 {% data variables.product.prodname_ghe_server %} 禁用 {% data variables.product.prodname_server_statistics %}
2431

25-
You can disable {% data variables.product.prodname_server_statistics %} from {% data variables.product.prodname_ghe_server %} at any time.
26-
27-
{% data reusables.enterprise-accounts.access-enterprise %}
28-
{% data reusables.enterprise-accounts.github-connect-tab %}
29-
4. Under "Share server statistics with GitHub.com", select the dropdown menu and click **Enabled** or **Disabled**.
30-
![Screenshot of {% data variables.product.prodname_server_statistics %} drop-down menu with disabled or enabled options](/assets/images/help/server-statistics/server-statistics-enable-disable-options.png)
32+
{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.github-connect-tab %}
33+
4. 在“与 GitHub.com 共享服务器统计信息”下,选择下拉菜单并单击“启用”或“禁用” 。
34+
![包含禁用或启用选项的 {% data variables.product.prodname_server_statistics %} 下拉菜单的屏幕截图](/assets/images/help/server-statistics/server-statistics-enable-disable-options.png)

translations/zh-CN/content/admin/configuration/configuring-network-settings/enabling-subdomain-isolation.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,36 @@ Subdomain isolation mitigates cross-site scripting and other related vulnerabili
2323

2424
When subdomain isolation is enabled, {% data variables.product.prodname_ghe_server %} replaces several paths with subdomains. After enabling subdomain isolation, attempts to access the previous paths for some user-supplied content, such as `http(s)://HOSTNAME/raw/`, may return `404` errors.
2525

26+
{% data reusables.enterprise_site_admin_settings.3-7-new-subdomains %}
27+
2628
| Path without subdomain isolation | Path with subdomain isolation |
2729
| --- | --- |
28-
| `http(s)://HOSTNAME/assets/` | `http(s)://assets.HOSTNAME/` |
29-
| `http(s)://HOSTNAME/avatars/` | `http(s)://avatars.HOSTNAME/` |
30-
| `http(s)://HOSTNAME/codeload/` | `http(s)://codeload.HOSTNAME/` |
31-
| `http(s)://HOSTNAME/gist/` | `http(s)://gist.HOSTNAME/` |
32-
| `http(s)://HOSTNAME/media/` | `http(s)://media.HOSTNAME/` |
33-
| `http(s)://HOSTNAME/pages/` | `http(s)://pages.HOSTNAME/` |
34-
| `http(s)://HOSTNAME/raw/` | `http(s)://raw.HOSTNAME/` |
30+
| `http(s)://HOSTNAME/` | `http(s)://docker.HOSTNAME/` |
31+
| `http(s)://HOSTNAME/_registry/npm/` | `https://npm.HOSTNAME/` |
32+
| `http(s)://HOSTNAME/_registry/rubygems/` | `https://rubygems.HOSTNAME/` |
33+
| `http(s)://HOSTNAME/_registry/maven/` | `https://maven.HOSTNAME/` |
34+
| `http(s)://HOSTNAME/_registry/nuget/` | `https://nuget.HOSTNAME/` |
35+
| `http(s)://HOSTNAME/assets/` | `http(s)://assets.HOSTNAME/` |
36+
| `http(s)://HOSTNAME/avatars/` | `http(s)://avatars.HOSTNAME/` |
37+
| `http(s)://HOSTNAME/codeload/` | `http(s)://codeload.HOSTNAME/` |
38+
| `http(s)://HOSTNAME/gist/` | `http(s)://gist.HOSTNAME/` |
39+
| `http(s)://HOSTNAME/media/` | `http(s)://media.HOSTNAME/` |
3540
{%- ifversion viewscreen-and-notebooks %}
36-
| `http(s)://HOSTNAME/viewscreen/` | `http(s)://viewscreen.HOSTNAME/` |
37-
| `http(s)://HOSTNAME/notebooks/` | `http(s)://notebooks.HOSTNAME/` |
38-
{%- else %}
39-
| `http(s)://HOSTNAME/render/` | `http(s)://render.HOSTNAME/` |
41+
| `http(s)://HOSTNAME/notebooks/` | `http(s)://notebooks.HOSTNAME/` |
42+
{%- endif %}
43+
| `http(s)://HOSTNAME/pages/` | `http(s)://pages.HOSTNAME/` |
44+
| `http(s)://HOSTNAME/raw/` | `http(s)://raw.HOSTNAME/` |
45+
{%- ifversion ghes < 3.7 %}
46+
| `http(s)://HOSTNAME/render/` | `http(s)://render.HOSTNAME/` |
47+
{%- endif %}
48+
| `http(s)://HOSTNAME/reply/` | `http(s)://reply.HOSTNAME/` |
49+
| `http(s)://HOSTNAME/uploads/` | `http(s)://uploads.HOSTNAME/` |
50+
{%- ifversion viewscreen-and-notebooks %}
51+
| `http(s)://HOSTNAME/viewscreen/` | `http(s)://viewscreen.HOSTNAME/` |
52+
{%- endif %}
53+
{%- ifversion ghes > 3.4 %}
54+
| Not supported | `https://containers.HOSTNAME/` |
4055
{%- endif %}
41-
| `http(s)://HOSTNAME/reply/` | `http(s)://reply.HOSTNAME/` |
42-
| `http(s)://HOSTNAME/uploads/` | `http(s)://uploads.HOSTNAME/` | {% ifversion ghes %}
43-
| `https://HOSTNAME/` | `http(s)://docker.HOSTNAME/`{% endif %}{% ifversion ghes %}
44-
| `https://HOSTNAME/_registry/npm/` | `https://npm.HOSTNAME/`
45-
| `https://HOSTNAME/_registry/rubygems/` | `https://rubygems.HOSTNAME/`
46-
| `https://HOSTNAME/_registry/maven/` | `https://maven.HOSTNAME/`
47-
| `https://HOSTNAME/_registry/nuget/` | `https://nuget.HOSTNAME/`{% endif %}{% ifversion ghes > 3.4 %}
48-
| Not supported | `https://containers.HOSTNAME/` |{% endif %}
4956

5057
## Prerequisites
5158

0 commit comments

Comments
 (0)