1
0
mirror of synced 2025-12-30 03:01:36 -05:00

New translation batch for cn (#31157)

This commit is contained in:
docubot
2022-09-26 10:52:40 -07:00
committed by GitHub
parent db9df4316b
commit c27b70d0c2
9 changed files with 90 additions and 63 deletions

View File

@@ -533,6 +533,7 @@ translations/zh-CN/data/release-notes/enterprise-server/3-4/8.yml,rendering erro
translations/zh-CN/data/release-notes/enterprise-server/3-5/0-rc1.yml,rendering error
translations/zh-CN/data/release-notes/enterprise-server/3-5/4.yml,rendering error
translations/zh-CN/data/release-notes/enterprise-server/3-6/0-rc1.yml,rendering error
translations/zh-CN/data/release-notes/enterprise-server/3-6/1.yml,broken liquid tags
translations/zh-CN/data/reusables/actions/about-actions-for-enterprises.md,rendering error
translations/zh-CN/data/reusables/actions/actions-audit-events-workflow.md,rendering error
translations/zh-CN/data/reusables/actions/actions-billing.md,broken liquid tags
1 file reason
533 translations/zh-CN/data/release-notes/enterprise-server/3-5/0-rc1.yml rendering error
534 translations/zh-CN/data/release-notes/enterprise-server/3-5/4.yml rendering error
535 translations/zh-CN/data/release-notes/enterprise-server/3-6/0-rc1.yml rendering error
536 translations/zh-CN/data/release-notes/enterprise-server/3-6/1.yml broken liquid tags
537 translations/zh-CN/data/reusables/actions/about-actions-for-enterprises.md rendering error
538 translations/zh-CN/data/reusables/actions/actions-audit-events-workflow.md rendering error
539 translations/zh-CN/data/reusables/actions/actions-billing.md broken liquid tags

View File

@@ -123,7 +123,7 @@ The following operating systems are supported for the self-hosted runner applica
The following processor architectures are supported for the self-hosted runner application.
- `x64` - Linux, macOS, Windows.
- `ARM64` - Linux, macOS.
- `ARM64` - Linux{% ifversion actions-macos-arm %}, macOS{% endif %}.
- `ARM32` - Linux only.
{% ifversion ghes %}

View File

@@ -718,7 +718,7 @@ jobs:
## `needs` context
The `needs` context contains outputs from all jobs that are defined as a dependency of the current job. For more information on defining job dependencies, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idneeds)."
The `needs` context contains outputs from all jobs that are defined as a direct dependency of the current job. Note that this doesn't include implicitly dependent jobs (for example, dependent jobs of a dependent job). For more information on defining job dependencies, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idneeds)."
| Property name | Type | Description |
|---------------|------|-------------|

View File

@@ -77,19 +77,19 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
```
### `directory`
@@ -105,29 +105,31 @@ updates:
# Files stored in repository root
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
- package-ecosystem: "npm"
# Files stored in `app` directory
directory: "/app"
schedule:
interval: "daily"
interval: "weekly"
- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
```
### `schedule.interval`
**Required**. You must define how often to check for new versions for each package manager. By default, {% data variables.product.prodname_dependabot %} randomly assigns a time to apply all the updates in the configuration file. To set a specific time, you can use [`schedule.time`](#scheduletime) and [`schedule.timezone`](#scheduletimezone).
- `daily`—runs on every weekday, Monday to Friday.
- `weekly`—runs once each week. By default, this is on Monday. To modify this, use [`schedule.day`](#scheduleday).
- `monthly`—runs once each month. This is on the first day of the month.
| Interval types | Frequency |
|----------------|-----------|
| `daily` | Runs on every weekday, Monday to Friday.|
| `weekly`| Runs once each week. By default, this is on Monday. To modify this, use [`schedule.day`](#scheduleday).|
| `monthly` | Runs once each month. This is on the first day of the month. |
```yaml
# Set update schedule for each package manager
@@ -179,7 +181,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
allow:
# Allow updates for Lodash
- dependency-name: "lodash"
@@ -189,7 +191,7 @@ updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
allow:
# Allow both direct and indirect updates for all packages
- dependency-type: "all"
@@ -197,7 +199,7 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
allow:
# Allow only direct updates for
# Django and any packages starting "django"
@@ -222,7 +224,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Add assignees
assignees:
- "octocat"
@@ -254,7 +256,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
commit-message:
# Prefix all commit messages with "npm"
prefix: "npm"
@@ -262,7 +264,7 @@ updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Prefix all commit messages with "Composer"
# include a list of updated dependencies
commit-message:
@@ -272,7 +274,7 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Include a list of updated dependencies
# with a prefix determined by the dependency group
commit-message:
@@ -318,7 +320,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
ignore:
- dependency-name: "express"
# For Express, ignore all updates for version 4 and 5
@@ -389,7 +391,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Specify labels for npm pull requests
labels:
- "npm"
@@ -410,7 +412,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Associate pull requests with milestone "4"
milestone: 4
```
@@ -429,14 +431,14 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Disable version updates for npm dependencies
open-pull-requests-limit: 0
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Allow up to 10 open pull requests for pip dependencies
open-pull-requests-limit: 10
```
@@ -457,7 +459,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
pull-request-branch-name:
# Separate sections of the branch name with a hyphen
# for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1`
@@ -483,7 +485,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Disable rebasing for npm pull requests
rebase-strategy: "disabled"
```
@@ -535,7 +537,7 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Add reviewers
reviewers:
- "octocat"
@@ -581,7 +583,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Check for npm updates at 9am UTC
time: "09:00"
```
@@ -598,7 +600,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
time: "09:00"
# Use Japan Standard Time (UTC +09:00)
timezone: "Asia/Tokyo"
@@ -616,7 +618,7 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Raise pull requests for version updates
# to pip against the `develop` branch
target-branch: "develop"
@@ -689,7 +691,7 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Update the npm manifest file to relax
# the version requirements
versioning-strategy: widen
@@ -697,7 +699,7 @@ updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Increase the version requirements for Composer
# only when required
versioning-strategy: increase-if-necessary
@@ -705,7 +707,7 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Only allow updates to the lockfile for pip and
# ignore any version updates that affect the manifest
versioning-strategy: lockfile-only
@@ -993,6 +995,6 @@ updates:{% ifversion fpt or ghec or ghes > 3.5 %}
- package-ecosystem: "pub"{% endif %}
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
```
{% endif %}

View File

@@ -22,6 +22,8 @@ To attach a file to an issue or pull request conversation, drag and drop it into
![Select attachments from computer](/assets/images/help/pull_requests/select-bar.png)
When you attach a file, it is uploaded immediately to {% data variables.product.product_name %} and the text field is updated to show the anonymized URL for the file. {% ifversion fpt or ghec %}For more information on anonymized URLs see "[About anonymized URLs](/github/authenticating-to-github/about-anonymized-urls)".{% endif %}
{% tip %}
**Tip:** In many browsers, you can copy-and-paste images directly into the box.

View File

@@ -702,10 +702,10 @@ Issues and pull requests are closely related. For more information, see "[List i
## Permission on "pages"
GitHub Pages can only be created or unpublished by a repository owner or administrator.
- [`GET /repos/:owner/:repo/pages`](/rest/reference/pages#get-a-github-pages-site) (:read)
- [`POST /repos/:owner/:repo/pages`](/rest/reference/pages#create-a-github-pages-site) (:write)
- [`PUT /repos/:owner/:repo/pages`](/rest/reference/pages#update-information-about-a-github-pages-site) (:write)
- [`DELETE /repos/:owner/:repo/pages`](/rest/reference/pages#delete-a-github-pages-site) (:write)
- [`GET /repos/:owner/:repo/pages/builds`](/rest/reference/pages#list-github-pages-builds) (:read)
- [`POST /repos/:owner/:repo/pages/builds`](/rest/reference/pages#request-a-github-pages-build) (:write)
- [`GET /repos/:owner/:repo/pages/builds/:build_id`](/rest/reference/pages#get-github-pages-build) (:read)

View File

@@ -1,33 +1,41 @@
date: '2022-08-30'
sections:
bugs:
- 解锁存储库以进行临时访问后,站点管理员无法管理存储库中安全产品的设置。
- 管理控制台和 `/home/admin/.ssh/authorized_keys` 文件中可能会出现重复的管理 SSH 密钥。
- "<code>http(s)://<em>HOSTNAME</em>/stafftools/users/<em>USERNAME</em>/admin</code> 的个人用户的站点管理员页面包含不适用于 GitHub Enterprise Server 的功能。"
- 在某些情况下,运行 `ghe-cluster-config-apply` 可以将空配置复制到群集中的现有节点。
- 在某些情况下,以 `ghe-config-apply` 开始的配置运行未完成,或返回了 `Container count mismatch` 错误。
- 在 GitHub Enterprise Server 实例上更新自签名 TLS 证书后Web 界面中某些页面上的 UI 元素没有显示。
- 在某些情况下,尽管不是线程安全的,但由于同时使用的库,可能会导致后台任务停止。
- Web 界面顶部的站点管理员栏包含指向当前正在运行的应用程序版本的 SHA 的断开链接。
- 组织所有者无法设置创建讨论所需的访问级别。
- 讨论用户被错误地引导至 GitHub.com 的社区指南。
- 在某些情况下,系统错误地指示用户在创建讨论之前验证其电子邮件。
- 如果站点管理员没有直接升级到 GitHub Enterprise Server 3.4,则 Web UI REST API 中缺少来自 GitHub Advanced Security 客户的机密扫描的警报。警报现在可见。
- After unlocking a repository for temporary access, a site administrator was unable to manage settings for security products in the repository.
- Duplicate administrative SSH keys could appear in both the Management Console and the `/home/admin/.ssh/authorized_keys` file.
- The site admin page for individual users at <code>http(s)://<em>HOSTNAME</em>/stafftools/users/<em>USERNAME</em>/admin</code> contained functionality not intended for GitHub Enterprise Server.
- In some cases, running `ghe-cluster-config-apply` could replicate an empty configuration to existing nodes in a cluster.
- In some cases, configuration runs started with `ghe-config-apply` did not complete, or returned a `Container count mismatch` error.
- After updating a self-signed TLS certificate on a GitHub Enterprise Server instance, UI elements on some pages in the web interface did not appear.
- In some cases, background tasks could stall due to a library that was used concurrently despite not being thread-safe.
- The site admin bar at the top of the web interface contained a broken link to the SHA for the currently running version of the application.
- Organization owners were unable to set the level of access required to create discussions.
- Discussions users were incorrectly directed to the community guidelines for GitHub.com.
- In some cases, users were incorrectly instructed to verify their email before creating a discussion.
- Alerts from secret scanning for GitHub Advanced Security customers were missing in the web UI and REST API if a site administrator did not upgrade directly to GitHub Enterprise Server 3.4. The alerts are now visible.
changes:
- "由于并行日志清理,支持包的生成速度更快。有关支持包的详细信息,请参阅“[将数据提供给 GitHub 支持](/support/contacting-github-support/providing-data-to-github-support)”。"
- "包含 `organization` `org` 路由的 API 现在接受组织的 slug ID。以前API 只接受 slug这导致 GitHub Advanced Security 终结点的 `Link` 标头无法访问。有关详细信息,请参阅 REST API 文档中的“[组织](https://docs.github.com/rest/orgs/orgs)”。"
- "企业审核日志现在包含更多用户生成的事件,例如 `project.create`REST API 还返回其他用户生成的事件,例如 `repo.create`。有关详细信息,请参阅“[访问企业的审核日志](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/accessing-the-audit-log-for -your-enterprise)”和“[使用企业的审核日志 API](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit- log-api-for-your-enterprise#querying-the-audit-log-rest-api)”。"
- "在某些情况下,缓存副本可能会拒绝对最近更新的存储库的某些 Git 操作。有关存储库缓存的详细信息,请参阅“[关于存储库缓存](/admin/enterprise-management/caching-repositories/about-repository-caching)”。"
- "你现在可以使用 REST API 将全局公告横幅配置为可关闭。有关详细信息,请参阅“[为企业自定义用户消息](/admin/user-management/managing-users-in-your-enterprise/customizing-user-messages-for-your-enterprise#creating-a-global-announcement-banner)”。"
- Generation of support bundles is faster as a result of parallelized log sanitization. For more information about support bundles, see "[Providing data to GitHub Support](/support/contacting-github-support/providing-data-to-github-support)."
- APIs that contain the `organization` or `org` route now accept either the organization's slug or ID. Previously, the APIs only accepted slugs, which caused `Link` headers for GitHub Advanced Security endpoints to be inaccessible. For more information, see "[Organizations](https://docs.github.com/rest/orgs/orgs)" in the REST API documentation.
- The enterprise audit log now includes more user-generated events, such as `project.create`. The REST API also returns additional user-generated events, such as `repo.create`. For more information, see "[Accessing the audit log for your enterprise](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/accessing-the-audit-log-for-your-enterprise)" and "[Using the audit log API for your enterprise](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise#querying-the-audit-log-rest-api)."
- In some cases, cache replicas could reject some Git operations on recently updated repositories. For more information about repository caching, see "[About repository caching](/admin/enterprise-management/caching-repositories/about-repository-caching)."
- You can now configure the global announcement banner to be dismissable using the REST API. For more information, see "[Customizing user messages for your enterprise](/admin/user-management/managing-users-in-your-enterprise/customizing-user-messages-for-your-enterprise#creating-a-global-announcement-banner)."
known_issues:
- "在新建的没有任何用户的 {% data variables.product.prodname_ghe_server %} 实例上,攻击者可以创建第一个管理员用户。"
- 自定义防火墙规则在升级过程中被删除。
- "[通过 Web 界面上传](https://github.com/blog/2105-upload-files-to-your-repositories)的 Git LFS 跟踪文件被错误地直接添加到存储库。"
- 如果问题包含指向同一存储库中 Blob 的永久链接,且 Blob 的文件路径长度超过 255 个字符,则无法关闭问题。
- 在 GitHub Connect 中启用了“用户可以搜索 GitHub.com”时专用和内部存储库中的问题不包括在 GitHub.com 搜索结果中。
- "{% data variables.product.prodname_registry %} npm 注册表不再在元数据响应中返回时间值。这样可以大幅改善性能。作为元数据响应的一部分,我们继续拥有返回时间值所需的所有数据,并将在我们解决现有性能问题后恢复返回这个值。"
- 特定于处理预接收挂钩的资源限制可能导致部分预接收挂钩失败。
- 从不同主机上的备份恢复实例后,需要重新启动操作服务。
- 在存储库的设置中,启用允许具有读取访问权限的用户创建讨论的选项不会启用此功能。
- 在某些情况下,用户无法将现有问题转换为讨论。
- 机密扫描的自定义模式将 `.*` 作为结束分隔符,特别是在“机密之后”字段中。此分隔符会导致跨存储库的机密扫描不一致,并且你可能会注意到存储库历史记录中没有完成扫描的间隙。增量扫描也可能受到影响。为防止出现扫描问题,请修改模式的结尾以删除 `.*` 分隔符。
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
- Custom firewall rules are removed during the upgrade process.
- Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
- Issues cannot be closed if they contain a permalink to a blob in the same repository, where the blob's file path is longer than 255 characters.
- When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
- The {% data variables.product.prodname_registry %} npm registry no longer returns a time value in metadata responses. This was done to allow for substantial performance improvements. We continue to have all the data necessary to return a time value as part of the metadata response and will resume returning this value in the future once we have solved the existing performance issues.
- Resource limits that are specific to processing pre-receive hooks may cause some pre-receive hooks to fail.
- Actions services need to be restarted after restoring an instance from a backup taken on a different host.
- In a repository's settings, enabling the option to allow users with read access to create discussions does not enable this functionality.
- In some cases, users cannot convert existing issues to discussions.
- Custom patterns for secret scanning have `.*` as an end delimiter, specifically in the "After secret" field. This delimiter causes inconsistencies in scans for secrets across repositories, and you may notice gaps in a repository's history where no scans completed. Incremental scans may also be impacted. To prevent issues with scans, modify the end of the pattern to remove the `.*` delimiter.
- |
Running `ghe-repl-status` while upgrading a replica node may indicate `WARNING: git replication is behind the primary`. This warning is due to a change in how GitHub Enterprise Server 3.6.0 and later stores repositories. You can safely ignore this message, and the upgrade will proceed normally. [Updated: 2022-09-26]
- |
Hotpatch upgrades to {% data variables.product.prodname_ghe_server %} 3.6.2 may fail. Upgrades with the full `.pkg` are unaffected. If the upgrade fails for your instance, you can work around the issue in one of two ways.
1. SSH into the affected node and run `sudo dpkg --configure -a`, then start the upgrade again.
2. Alternatively, run the full `.pkg` upgrade.
If you're unable to upgrade, or if you need further assistance, contact GitHub Support. For more information, see "[Creating a support ticket](/support/contacting-github-support/creating-a-support-ticket)." [Updated: 2022-09-26]

View File

@@ -36,6 +36,10 @@ CloudBees CodeShip | CloudBees CodeShip Credential | codeship_credential
{%- ifversion fpt or ghec or ghes > 3.2 or ghae %}
Contentful | Contentful Personal Access Token | contentful_personal_access_token{% endif %}
Databricks | Databricks Access Token | databricks_access_token
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
DevCycle | DevCycle Client API Key | devcycle_client_api_key
DevCycle | DevCycle Server API Key | devcycle_server_api_key
DevCycle | DevCycle Mobile API Key | devcycle_mobile_api_key{% endif %}
{%- ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}
DigitalOcean | DigitalOcean Personal Access Token | digitalocean_personal_access_token
DigitalOcean | DigitalOcean OAuth Token | digitalocean_oauth_token
@@ -104,6 +108,9 @@ Linear | Linear API Key | linear_api_key
Linear | Linear OAuth Access Token | linear_oauth_access_token
Lob | Lob Live API Key | lob_live_api_key
Lob | Lob Test API Key | lob_test_api_key
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
LogicMonitor | LogicMonitor Bearer Token | logicmonitor_bearer_token
LogicMonitor | LogicMonitor LMV1 Access Key | logicmonitor_lmv1_access_key{% endif %}
Mailchimp | Mailchimp API Key | mailchimp_api_key
Mailgun | Mailgun API Key | mailgun_api_key
{%- ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}

View File

@@ -17,6 +17,10 @@ Azure | Azure Storage Account Key | azure_storage_account_key{% endif %}
Checkout.com | Checkout.com Production Secret Key | checkout_production_secret_key
Clojars | Clojars Deploy Token | clojars_deploy_token
Databricks | Databricks Access Token | databricks_access_token
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
DevCycle | DevCycle Client API Key | devcycle_client_api_key
DevCycle | DevCycle Server API Key | devcycle_server_api_key
DevCycle | DevCycle Mobile API Key | devcycle_mobile_api_key{% endif %}
DigitalOcean | DigitalOcean Personal Access Token | digitalocean_personal_access_token
DigitalOcean | DigitalOcean OAuth Token | digitalocean_oauth_token
DigitalOcean | DigitalOcean Refresh Token | digitalocean_refresh_token
@@ -50,6 +54,9 @@ Ionic | Ionic Personal Access Token | ionic_personal_access_token
Ionic | Ionic Refresh Token | ionic_refresh_token
Linear | Linear API Key | linear_api_key
Linear | Linear OAuth Access Token | linear_oauth_access_token
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
LogicMonitor | LogicMonitor Bearer Token | logicmonitor_bearer_token
LogicMonitor | LogicMonitor LMV1 Access Key | logicmonitor_lmv1_access_key{% endif %}
Midtrans | Midtrans Production Server Key | midtrans_production_server_key
New Relic | New Relic Personal API Key | new_relic_personal_api_key
New Relic | New Relic REST API Key | new_relic_rest_api_key