From ddda4985775f0f8a88ac2759eba541d2c662f2c1 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Sun, 25 Sep 2022 00:02:18 +0800 Subject: [PATCH] AutoCorrect fix for translations/zh-CN/data/reusables/{c,d}* --- .../data/reusables/classroom/about-assignments.md | 2 +- .../data/reusables/classroom/about-autograding.md | 2 +- .../zh-CN/data/reusables/classroom/about-classrooms.md | 2 +- .../data/reusables/classroom/about-online-ides.md | 2 +- .../classroom/assignments-classroom-prerequisite.md | 2 +- .../classroom/assignments-guide-assign-a-deadline.md | 2 +- .../assignments-guide-choose-template-repository.md | 2 +- .../classroom/assignments-guide-choose-visibility.md | 4 ++-- .../classroom/assignments-guide-using-autograding.md | 2 +- .../classroom/assignments-individual-definition.md | 2 +- .../classroom/assignments-to-prevent-submission.md | 2 +- .../reusables/classroom/classroom-codespaces-link.md | 2 +- .../classroom/classroom-creates-group-repositories.md | 2 +- .../classroom-creates-individual-repositories.md | 2 +- .../classroom/classroom-enables-invitation-urls.md | 2 +- ...mited-codespaces-for-verified-teachers-beta-note.md | 2 +- .../reusables/classroom/guide-create-new-classroom.md | 2 +- .../data/reusables/classroom/invitation-url-warning.md | 2 +- .../classroom/readme-contains-button-for-online-ide.md | 2 +- .../data/reusables/classroom/reuse-assignment-link.md | 2 +- .../classroom/you-can-choose-a-template-repository.md | 2 +- .../you-can-create-a-pull-request-for-feedback.md | 2 +- translations/zh-CN/data/reusables/cli/about-cli.md | 2 +- .../cli/filter-issues-and-pull-requests-tip.md | 2 +- .../code-scanning/about-analysis-origins-link.md | 2 +- .../reusables/code-scanning/about-code-scanning.md | 2 +- .../reusables/code-scanning/about-codeql-analysis.md | 2 +- .../reusables/code-scanning/alert-default-branch.md | 2 +- .../code-scanning/alerts-found-in-generated-code.md | 4 ++-- .../zh-CN/data/reusables/code-scanning/analyze-go.md | 2 +- .../code-scanning/autobuild-add-build-steps.md | 2 +- .../code-scanning/autobuild-compiled-languages.md | 2 +- .../reusables/code-scanning/beta-codeql-ml-queries.md | 2 +- .../zh-CN/data/reusables/code-scanning/billing.md | 2 +- .../code-scanning/choose-alert-dismissal-reason.md | 2 +- .../codeql-cli-context-for-third-party-tools.md | 2 +- ...codeql-context-for-actions-and-third-party-tools.md | 2 +- .../code-scanning/codeql-query-suites-explanation.md | 2 +- .../code-scanning/codeql-runner-analyze-example.md | 4 ++-- .../code-scanning/custom-configuration-file.md | 2 +- .../code-scanning/deprecation-codeql-runner.md | 10 +++++----- .../data/reusables/code-scanning/edit-workflow.md | 2 +- .../enterprise-enable-code-scanning-actions.md | 2 +- .../code-scanning/enterprise-enable-code-scanning.md | 2 +- .../code-scanning/false-positive-fix-codeql.md | 2 +- .../code-scanning/filter-non-default-branches.md | 2 +- .../code-scanning/github-issues-integration.md | 4 ++-- .../interoperable-with-tools-that-output-sarif.md | 2 +- .../data/reusables/code-scanning/not-available.md | 2 +- .../code-scanning/specify-language-to-analyze.md | 2 +- .../code-scanning/upload-sarif-alert-limit.md | 4 ++-- .../data/reusables/code-scanning/upload-sarif-ghas.md | 2 +- .../data/reusables/code-scanning/what-is-codeql-cli.md | 2 +- .../data/reusables/codespaces/about-configuration.md | 2 +- .../data/reusables/codespaces/about-personalization.md | 2 +- .../data/reusables/codespaces/about-port-forwarding.md | 2 +- .../codespaces/billing-for-prebuilds-default.md | 4 ++-- .../reusables/codespaces/codespaces-are-personal.md | 2 +- .../data/reusables/codespaces/codespaces-billing.md | 6 +++--- .../codespaces/codespaces-disabling-org-billing.md | 2 +- .../codespaces/codespaces-machine-type-availability.md | 2 +- .../reusables/codespaces/codespaces-machine-types.md | 2 +- .../reusables/codespaces/codespaces-policy-targets.md | 2 +- .../reusables/codespaces/command-palette-container.md | 4 ++-- .../codespaces/committing-link-to-procedure.md | 2 +- .../codespaces/connect-to-codespace-from-vscode.md | 2 +- .../zh-CN/data/reusables/codespaces/contact-support.md | 2 +- .../data/reusables/codespaces/exporting-changes.md | 2 +- .../data/reusables/codespaces/max-number-codespaces.md | 2 +- .../reusables/codespaces/port-visibility-settings.md | 2 +- .../codespaces/prebuilds-permission-authorization.md | 4 ++-- .../zh-CN/data/reusables/codespaces/rebuild-reason.md | 2 +- .../reusables/codespaces/restrict-port-visibility.md | 2 +- .../zh-CN/data/reusables/codespaces/review-pr.md | 4 ++-- .../data/reusables/codespaces/secret-precedence.md | 2 +- .../zh-CN/data/reusables/codespaces/secrets-naming.md | 2 +- .../reusables/codespaces/setup-custom-devcontainer.md | 2 +- .../codespaces/source-control-commit-changes.md | 2 +- .../codespaces/source-control-pull-request.md | 2 +- .../reusables/codespaces/use-visual-studio-features.md | 2 +- .../data/reusables/codespaces/vscode-settings-order.md | 2 +- .../reusables/command_line/provide-an-access-token.md | 2 +- .../data/reusables/command_line/start_ssh_agent.md | 2 +- .../reusables/command_line/use_with_support_only.md | 2 +- .../zh-CN/data/reusables/commits/about-commits.md | 2 +- .../zh-CN/data/reusables/community/report-content.md | 4 ++-- .../data/reusables/community/tools-for-moderating.md | 2 +- .../data/reusables/copilot/alternative-suggestions.md | 2 +- .../data/reusables/copilot/copilot-prerequisites.md | 2 +- .../zh-CN/data/reusables/copilot/dotcom-settings.md | 8 ++++---- .../copilot/enabling-disabling-in-jetbrains.md | 4 ++-- .../reusables/copilot/enabling-or-disabling-in-vsc.md | 2 +- .../data/reusables/copilot/enabling-or-disabling-vs.md | 2 +- .../reusables/copilot/install-copilot-in-neovim.md | 4 ++-- .../zh-CN/data/reusables/copilot/procedural-intro.md | 2 +- .../zh-CN/data/reusables/copilot/signup-procedure.md | 2 +- .../data/reusables/copilot/suggestions-new-tab.md | 2 +- .../reusables/dependabot/about-the-dependency-graph.md | 2 +- .../data/reusables/dependabot/automated-tests-note.md | 2 +- .../beta-security-and-version-updates-onboarding.md | 2 +- .../zh-CN/data/reusables/dependabot/default-labels.md | 2 +- .../dependabot-alerts-dependency-graph-enterprise.md | 2 +- .../zh-CN/data/reusables/dependabot/dependabot-tos.md | 2 +- .../dependabot/enterprise-enable-dependabot.md | 2 +- .../dependabot/ghes-ghae-enabling-dependency-graph.md | 2 +- .../zh-CN/data/reusables/dependabot/initial-updates.md | 6 +++--- .../reusables/dependabot/private-dependencies-note.md | 2 +- .../data/reusables/dependabot/private-dependencies.md | 2 +- .../reusables/dependabot/pull-request-introduction.md | 2 +- .../pull-request-security-vs-version-updates.md | 2 +- .../data/reusables/dependabot/result-discrepancy.md | 2 +- .../reusables/dependabot/supported-package-managers.md | 6 +++--- .../dependabot/version-updates-for-actions.md | 2 +- .../dependency-review-action-overview.md | 2 +- .../reusables/dependency-review/feature-overview.md | 2 +- .../about-dependency-submission.md | 6 +++--- .../dependency-submission-link.md | 2 +- .../zh-CN/data/reusables/desktop/2fa-in-browser.md | 2 +- .../data/reusables/desktop/click-discard-files.md | 2 +- .../data/reusables/desktop/cloning-location-tab.md | 2 +- .../zh-CN/data/reusables/desktop/commit-message.md | 2 +- .../zh-CN/data/reusables/desktop/commit-some-desc.md | 2 +- .../desktop/launch-desktop-from-command-line.md | 2 +- .../zh-CN/data/reusables/desktop/protected-branches.md | 2 +- .../data/reusables/desktop/resolve-merge-conflicts.md | 2 +- .../zh-CN/data/reusables/desktop/retrieve-2fa.md | 2 +- .../data/reusables/desktop/select-discard-files.md | 2 +- .../developer-site/limit_workflow_to_activity_types.md | 2 +- .../developer-site/pull_request_forked_repos_link.md | 8 ++++---- .../reusables/discussions/about-announcement-format.md | 2 +- .../discussions/about-categories-and-formats.md | 2 +- .../discussions/about-organization-discussions.md | 6 +++--- .../reusables/discussions/edit-category-details.md | 2 +- .../discussions/marking-a-comment-as-an-answer.md | 4 ++-- .../reusables/discussions/you-can-label-discussions.md | 2 +- .../reusables/discussions/you-can-use-discussions.md | 2 +- .../docs/you-can-read-docs-for-your-product.md | 2 +- .../dotcom_billing/actions-packages-storage.md | 2 +- .../data/reusables/dotcom_billing/choose_org_plan.md | 2 +- .../data/reusables/dotcom_billing/coupon-expires.md | 2 +- .../data/reusables/dotcom_billing/download_receipt.md | 2 +- .../zh-CN/data/reusables/dotcom_billing/lfs-data.md | 2 +- .../reusables/dotcom_billing/remove_payment_info.md | 2 +- .../reusables/dotcom_billing/switch-legacy-billing.md | 2 +- 144 files changed, 177 insertions(+), 177 deletions(-) diff --git a/translations/zh-CN/data/reusables/classroom/about-assignments.md b/translations/zh-CN/data/reusables/classroom/about-assignments.md index 6361db0ca02b..e0cd62c26ea0 100644 --- a/translations/zh-CN/data/reusables/classroom/about-assignments.md +++ b/translations/zh-CN/data/reusables/classroom/about-assignments.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098858" --- -每项作业都有标题和可选的截止日期。 您可以选择 {% data variables.product.prodname_classroom %} 创建的仓库的可见性,并选择访问权限。 您还可以对作业自动评分,并创建专用空间与学生讨论作业。 +每项作业都有标题和可选的截止日期。您可以选择 {% data variables.product.prodname_classroom %} 创建的仓库的可见性,并选择访问权限。您还可以对作业自动评分,并创建专用空间与学生讨论作业。 diff --git a/translations/zh-CN/data/reusables/classroom/about-autograding.md b/translations/zh-CN/data/reusables/classroom/about-autograding.md index 8c8b6fd8d4ae..0ce719b88628 100644 --- a/translations/zh-CN/data/reusables/classroom/about-autograding.md +++ b/translations/zh-CN/data/reusables/classroom/about-autograding.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098288" --- -您可以使用自动评分来自动检查学生在 {% data variables.product.prodname_classroom %} 上的工作。 您可以为作业配置测试,每次学生推送到 {% data variables.product.product_location %} 上的作业库时,测试就会立即运行。 学生可以查看测试结果,进行更改,并推送以查看新结果。 +您可以使用自动评分来自动检查学生在 {% data variables.product.prodname_classroom %} 上的工作。您可以为作业配置测试,每次学生推送到 {% data variables.product.product_location %} 上的作业库时,测试就会立即运行。学生可以查看测试结果,进行更改,并推送以查看新结果。 diff --git a/translations/zh-CN/data/reusables/classroom/about-classrooms.md b/translations/zh-CN/data/reusables/classroom/about-classrooms.md index ae7eef3f4631..f9f18aafaf93 100644 --- a/translations/zh-CN/data/reusables/classroom/about-classrooms.md +++ b/translations/zh-CN/data/reusables/classroom/about-classrooms.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098857" --- -{% data variables.product.prodname_classroom %} 中的教室是教师和学生在课程中互动的地方。 教师可以为课堂创建学生名册,然后在课堂内创建、分配、检查作业并评分。 +{% data variables.product.prodname_classroom %} 中的教室是教师和学生在课程中互动的地方。教师可以为课堂创建学生名册,然后在课堂内创建、分配、检查作业并评分。 diff --git a/translations/zh-CN/data/reusables/classroom/about-online-ides.md b/translations/zh-CN/data/reusables/classroom/about-online-ides.md index 5f69c0b9408e..eba8e7674a83 100644 --- a/translations/zh-CN/data/reusables/classroom/about-online-ides.md +++ b/translations/zh-CN/data/reusables/classroom/about-online-ides.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098285" --- -您可以选择性地配置作业来使用集成开发环境 (IDE)。 IDE 允许您的学生编写代码、运行程序和协作, 而无需在学生的计算机上安装 Git 和完整的开发工具链。 如果您为作业选择 IDE,学生仍然可以在本地查看并使用必要软件在计算机上运行代码。 +您可以选择性地配置作业来使用集成开发环境 (IDE)。IDE 允许您的学生编写代码、运行程序和协作,而无需在学生的计算机上安装 Git 和完整的开发工具链。如果您为作业选择 IDE,学生仍然可以在本地查看并使用必要软件在计算机上运行代码。 diff --git a/translations/zh-CN/data/reusables/classroom/assignments-classroom-prerequisite.md b/translations/zh-CN/data/reusables/classroom/assignments-classroom-prerequisite.md index 31a193938028..93f87b623a1e 100644 --- a/translations/zh-CN/data/reusables/classroom/assignments-classroom-prerequisite.md +++ b/translations/zh-CN/data/reusables/classroom/assignments-classroom-prerequisite.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098853" --- -您必须先创建一个课堂才能创建作业。 有关详细信息,请参阅“[管理教室](/education/manage-coursework-with-github-classroom/manage-classrooms)”。 +您必须先创建一个课堂才能创建作业。有关详细信息,请参阅“[管理教室](/education/manage-coursework-with-github-classroom/manage-classrooms)”。 diff --git a/translations/zh-CN/data/reusables/classroom/assignments-guide-assign-a-deadline.md b/translations/zh-CN/data/reusables/classroom/assignments-guide-assign-a-deadline.md index c4d200772f0d..5f479c30a1de 100644 --- a/translations/zh-CN/data/reusables/classroom/assignments-guide-assign-a-deadline.md +++ b/translations/zh-CN/data/reusables/classroom/assignments-guide-assign-a-deadline.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098282" --- -(可选)您可以为作业分配一个截止日期。 在“Deadline (optional)(截止日期 [可选])”下,单击文本字段,然后使用日期选择器指定截止日期。 +(可选)您可以为作业分配一个截止日期。在“Deadline (optional)(截止日期 [可选])”下,单击文本字段,然后使用日期选择器指定截止日期。
Date picker for assignment deadline diff --git a/translations/zh-CN/data/reusables/classroom/assignments-guide-choose-template-repository.md b/translations/zh-CN/data/reusables/classroom/assignments-guide-choose-template-repository.md index 3ed008996909..9229ddb7c0e8 100644 --- a/translations/zh-CN/data/reusables/classroom/assignments-guide-choose-template-repository.md +++ b/translations/zh-CN/data/reusables/classroom/assignments-guide-choose-template-repository.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145098280" --- -在“添加模板存储库,以为学生提供起始代码”下,选择“选择存储库”下拉菜单,然后键入搜索查询。 在结果列表中,单击您想要用于启动代码的模板仓库。 +在“添加模板存储库,以为学生提供起始代码”下,选择“选择存储库”下拉菜单,然后键入搜索查询。在结果列表中,单击您想要用于启动代码的模板仓库。
Using the 'Select a repository' drop-down menu to find a template repository to use as starter code for an assignment diff --git a/translations/zh-CN/data/reusables/classroom/assignments-guide-choose-visibility.md b/translations/zh-CN/data/reusables/classroom/assignments-guide-choose-visibility.md index 1404d5b61d1a..d88a4d3a1d0f 100644 --- a/translations/zh-CN/data/reusables/classroom/assignments-guide-choose-visibility.md +++ b/translations/zh-CN/data/reusables/classroom/assignments-guide-choose-visibility.md @@ -6,9 +6,9 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098844" --- -作业的仓库可以是公开或私有的。 如果您使用私有仓库,只有学生或团队可以查看您提供的反馈。 +作业的仓库可以是公开或私有的。如果您使用私有仓库,只有学生或团队可以查看您提供的反馈。 -您也可以决定是否授予学生对作业仓库的管理员权限。 如果学生应该能够执行作业仓库的管理任务,则授予管理员权限。 有关详细信息,请参阅“[关于存储库](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility)”和“[组织的存储库角色](/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization)”。 +您也可以决定是否授予学生对作业仓库的管理员权限。如果学生应该能够执行作业仓库的管理任务,则授予管理员权限。有关详细信息,请参阅“[关于存储库](/repositories/creating-and-managing-repositories/about-repositories#about-repository-visibility)”和“[组织的存储库角色](/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization)”。 在“Repository visibility(仓库可见性)”下,选择可见性。 (可选)选择“授予学生对其存储库的管理员权限”。 diff --git a/translations/zh-CN/data/reusables/classroom/assignments-guide-using-autograding.md b/translations/zh-CN/data/reusables/classroom/assignments-guide-using-autograding.md index c5160a0e70f9..02e6e36d730f 100644 --- a/translations/zh-CN/data/reusables/classroom/assignments-guide-using-autograding.md +++ b/translations/zh-CN/data/reusables/classroom/assignments-guide-using-autograding.md @@ -16,7 +16,7 @@ ms.locfileid: "145098267"
-定义测试案例的参数,如名称、命令、输入、输出、超时和点。 完成后,单击“保存测试用例”。 +定义测试案例的参数,如名称、命令、输入、输出、超时和点。完成后,单击“保存测试用例”。
'Save test case' button for an autograding test diff --git a/translations/zh-CN/data/reusables/classroom/assignments-individual-definition.md b/translations/zh-CN/data/reusables/classroom/assignments-individual-definition.md index 1d7571b2bdd4..3c969a6e9767 100644 --- a/translations/zh-CN/data/reusables/classroom/assignments-individual-definition.md +++ b/translations/zh-CN/data/reusables/classroom/assignments-individual-definition.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "147882189" --- -个人作业是为参加 {% data variables.product.prodname_classroom %} 课程的每个学生提供的课程。 学生应在没有其他学生帮助的情况下完成个人作业。 +个人作业是为参加 {% data variables.product.prodname_classroom %} 课程的每个学生提供的课程。学生应在没有其他学生帮助的情况下完成个人作业。 diff --git a/translations/zh-CN/data/reusables/classroom/assignments-to-prevent-submission.md b/translations/zh-CN/data/reusables/classroom/assignments-to-prevent-submission.md index d60b2b382f5e..579ff8856909 100644 --- a/translations/zh-CN/data/reusables/classroom/assignments-to-prevent-submission.md +++ b/translations/zh-CN/data/reusables/classroom/assignments-to-prevent-submission.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "147882181" --- -若要防止学生接受或提交作业,可以在“编辑作业”视图中更改“作业状态”。 当作业处于“活动”状态时,学生将能够使用邀请链接接受该作业。 当它处于“非活动”状态时,此链接将不再有效。 +若要防止学生接受或提交作业,可以在“编辑作业”视图中更改“作业状态”。当作业处于“活动”状态时,学生将能够使用邀请链接接受该作业。当它处于“非活动”状态时,此链接将不再有效。 diff --git a/translations/zh-CN/data/reusables/classroom/classroom-codespaces-link.md b/translations/zh-CN/data/reusables/classroom/classroom-codespaces-link.md index 1dcd595627b6..ba9d6f54a0a7 100644 --- a/translations/zh-CN/data/reusables/classroom/classroom-codespaces-link.md +++ b/translations/zh-CN/data/reusables/classroom/classroom-codespaces-link.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147063712" --- -可选择使用 {% data variables.product.prodname_github_codespaces %}} 配置作业,以便学生通过一键式设置访问基于浏览器的 Visual Studio Code 环境。 有关详细信息,请参阅“[将 {% data variables.product.prodname_github_codespaces %} 与 {% data variables.product.prodname_classroom %} 配合使用](/education/manage-coursework-with-github-classroom/integrate-github-classroom-with-an-ide/using-github-codespaces-with-github-classroom)”。 +可选择使用 {% data variables.product.prodname_github_codespaces %}} 配置作业,以便学生通过一键式设置访问基于浏览器的 Visual Studio Code 环境。有关详细信息,请参阅“[将 {% data variables.product.prodname_github_codespaces %} 与 {% data variables.product.prodname_classroom %} 配合使用](/education/manage-coursework-with-github-classroom/integrate-github-classroom-with-an-ide/using-github-codespaces-with-github-classroom)”。 diff --git a/translations/zh-CN/data/reusables/classroom/classroom-creates-group-repositories.md b/translations/zh-CN/data/reusables/classroom/classroom-creates-group-repositories.md index 7968790fb752..44215b8eef38 100644 --- a/translations/zh-CN/data/reusables/classroom/classroom-creates-group-repositories.md +++ b/translations/zh-CN/data/reusables/classroom/classroom-creates-group-repositories.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145098263" --- -对于每个组的作业,{% data variables.product.prodname_classroom %} 自动为团队创建一个单独的共享仓库进行访问。 这个仓库可以是空的,您也可以从模板仓库创建这个仓库,加入启动代码、文档、测试和其他资源。 仓库属于您在 {% data variables.product.product_name %} 上的组织帐户,{% data variables.product.prodname_classroom %} 授予学生在接受作业时创建或加入的团队访问权限。 +对于每个组的作业,{% data variables.product.prodname_classroom %} 自动为团队创建一个单独的共享仓库进行访问。这个仓库可以是空的,您也可以从模板仓库创建这个仓库,加入启动代码、文档、测试和其他资源。仓库属于您在 {% data variables.product.product_name %} 上的组织帐户,{% data variables.product.prodname_classroom %} 授予学生在接受作业时创建或加入的团队访问权限。 diff --git a/translations/zh-CN/data/reusables/classroom/classroom-creates-individual-repositories.md b/translations/zh-CN/data/reusables/classroom/classroom-creates-individual-repositories.md index 0902cb1593b4..7c9fbfb4ec65 100644 --- a/translations/zh-CN/data/reusables/classroom/classroom-creates-individual-repositories.md +++ b/translations/zh-CN/data/reusables/classroom/classroom-creates-individual-repositories.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098826" --- -当学生接受作业时, {% data variables.product.prodname_classroom %} 会自动为学生创建一个新仓库。 仓库可以是空的,您也可以从模板仓库创建这个仓库,加入启动代码、文档、测试和其他资源。 每个作业仓库都属于您在 {% data variables.product.product_name %} 上的组织帐户。 +当学生接受作业时, {% data variables.product.prodname_classroom %} 会自动为学生创建一个新仓库。仓库可以是空的,您也可以从模板仓库创建这个仓库,加入启动代码、文档、测试和其他资源。每个作业仓库都属于您在 {% data variables.product.product_name %} 上的组织帐户。 diff --git a/translations/zh-CN/data/reusables/classroom/classroom-enables-invitation-urls.md b/translations/zh-CN/data/reusables/classroom/classroom-enables-invitation-urls.md index 7949ccee0a32..63e43b2f96d6 100644 --- a/translations/zh-CN/data/reusables/classroom/classroom-enables-invitation-urls.md +++ b/translations/zh-CN/data/reusables/classroom/classroom-enables-invitation-urls.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/09/2022 ms.locfileid: "147785884" --- -默认情况下, {% data variables.product.prodname_classroom %} 会为您创建的每个作业启用邀请 URL。 当邀请 URL 启用时,学生可以接受并提交作业。 您可以在 LMS、课程主页或您发布作业的任何地方与您的学生分享 URL。 如果学生已接受课堂作业,学生也可以在 {% data variables.product.prodname_classroom %} 上导航到作业。 +默认情况下, {% data variables.product.prodname_classroom %} 会为您创建的每个作业启用邀请 URL。当邀请 URL 启用时,学生可以接受并提交作业。您可以在 LMS、课程主页或您发布作业的任何地方与您的学生分享 URL。如果学生已接受课堂作业,学生也可以在 {% data variables.product.prodname_classroom %} 上导航到作业。 diff --git a/translations/zh-CN/data/reusables/classroom/free-limited-codespaces-for-verified-teachers-beta-note.md b/translations/zh-CN/data/reusables/classroom/free-limited-codespaces-for-verified-teachers-beta-note.md index 5ac4a05fcd96..9700b3719c88 100644 --- a/translations/zh-CN/data/reusables/classroom/free-limited-codespaces-for-verified-teachers-beta-note.md +++ b/translations/zh-CN/data/reusables/classroom/free-limited-codespaces-for-verified-teachers-beta-note.md @@ -8,6 +8,6 @@ ms.locfileid: "145098258" --- {% note %} -注意:{% data variables.product.prodname_codespaces %} 教育权益目前为公共 beta 版本,可能随时会变动。 在 beta 版本中,如果超出免费额度,则不会向你的组织收费。 +注意:{% data variables.product.prodname_codespaces %} 教育权益目前为公共 beta 版本,可能随时会变动。在 beta 版本中,如果超出免费额度,则不会向你的组织收费。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/classroom/guide-create-new-classroom.md b/translations/zh-CN/data/reusables/classroom/guide-create-new-classroom.md index 7c200e0be74c..7fd5a521eec7 100644 --- a/translations/zh-CN/data/reusables/classroom/guide-create-new-classroom.md +++ b/translations/zh-CN/data/reusables/classroom/guide-create-new-classroom.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145098822" --- -1. 在组织列表中,单击您希望用于教室的组织。 (可选)您可以创建一个新组织。 有关详细信息,请参阅“[从头开始创建新组织](/organizations/collaborating-with-groups-in-organizations/creating-a-new-organization-from-scratch)”。 +1. 在组织列表中,单击您希望用于教室的组织。 (可选)您可以创建一个新组织。有关详细信息,请参阅“[从头开始创建新组织](/organizations/collaborating-with-groups-in-organizations/creating-a-new-organization-from-scratch)”。 ![组织列表中用于创建新教室的组织](/assets/images/help/classroom/click-organization.png) 1. 为您的教室键入名称。 ![用于键入教室名称的文本字段](/assets/images/help/classroom/type-classroom-name.png) diff --git a/translations/zh-CN/data/reusables/classroom/invitation-url-warning.md b/translations/zh-CN/data/reusables/classroom/invitation-url-warning.md index 437b243c38be..4d35d09cb351 100644 --- a/translations/zh-CN/data/reusables/classroom/invitation-url-warning.md +++ b/translations/zh-CN/data/reusables/classroom/invitation-url-warning.md @@ -8,6 +8,6 @@ ms.locfileid: "145098255" --- {% warning %} -警告:请注意共享邀请 URL 的位置。 任何拥有作业邀请 URL 的人都可以接受邀请并将 {% data variables.product.product_name %} 上的个人帐户与你的名册中的标识符相关联。 +警告:请注意共享邀请 URL 的位置。任何拥有作业邀请 URL 的人都可以接受邀请并将 {% data variables.product.product_name %} 上的个人帐户与你的名册中的标识符相关联。 {% endwarning %} diff --git a/translations/zh-CN/data/reusables/classroom/readme-contains-button-for-online-ide.md b/translations/zh-CN/data/reusables/classroom/readme-contains-button-for-online-ide.md index e718d8c71c69..9b9ab97f4586 100644 --- a/translations/zh-CN/data/reusables/classroom/readme-contains-button-for-online-ide.md +++ b/translations/zh-CN/data/reusables/classroom/readme-contains-button-for-online-ide.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098821" --- -当学生接受具有 IDE 的作业时,作业存储库将包括一个 README.md 文件,文件顶部有一个特殊按钮。 该按钮将学生直接链接到 IDE 中的工作空间。 +当学生接受具有 IDE 的作业时,作业存储库将包括一个 README.md 文件,文件顶部有一个特殊按钮。该按钮将学生直接链接到 IDE 中的工作空间。 diff --git a/translations/zh-CN/data/reusables/classroom/reuse-assignment-link.md b/translations/zh-CN/data/reusables/classroom/reuse-assignment-link.md index e2489f12be36..fbc33b20ed4d 100644 --- a/translations/zh-CN/data/reusables/classroom/reuse-assignment-link.md +++ b/translations/zh-CN/data/reusables/classroom/reuse-assignment-link.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147067080" --- -你可以在你拥有管理员访问权限的任何其他教室(包括不同组织中的教室)中重用现有作业。 有关详细信息,请参阅“[重用作业](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/reuse-an-assignment)”。 +你可以在你拥有管理员访问权限的任何其他教室(包括不同组织中的教室)中重用现有作业。有关详细信息,请参阅“[重用作业](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/reuse-an-assignment)”。 diff --git a/translations/zh-CN/data/reusables/classroom/you-can-choose-a-template-repository.md b/translations/zh-CN/data/reusables/classroom/you-can-choose-a-template-repository.md index c28a1752c23b..ac2b0a1aa97a 100644 --- a/translations/zh-CN/data/reusables/classroom/you-can-choose-a-template-repository.md +++ b/translations/zh-CN/data/reusables/classroom/you-can-choose-a-template-repository.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098811" --- -您可以选择一个模板仓库作为作业的启动代码。 有关模板存储库的详细信息,请参阅“[创建模板存储库](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)”。 +您可以选择一个模板仓库作为作业的启动代码。有关模板存储库的详细信息,请参阅“[创建模板存储库](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)”。 {% note %} diff --git a/translations/zh-CN/data/reusables/classroom/you-can-create-a-pull-request-for-feedback.md b/translations/zh-CN/data/reusables/classroom/you-can-create-a-pull-request-for-feedback.md index 01922b59ee2f..c659687f5223 100644 --- a/translations/zh-CN/data/reusables/classroom/you-can-create-a-pull-request-for-feedback.md +++ b/translations/zh-CN/data/reusables/classroom/you-can-create-a-pull-request-for-feedback.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098246" --- -您可以自动创建拉取请求,以在其中提供反馈并回答学生有关作业的问题。 有关拉取请求中更改的审阅的详细信息,请参阅“[审阅拉取请求中的更改](/github/collaborating-with-issues-and-pull-requests/reviewing-changes-in-pull-requests)”。 +您可以自动创建拉取请求,以在其中提供反馈并回答学生有关作业的问题。有关拉取请求中更改的审阅的详细信息,请参阅“[审阅拉取请求中的更改](/github/collaborating-with-issues-and-pull-requests/reviewing-changes-in-pull-requests)”。 diff --git a/translations/zh-CN/data/reusables/cli/about-cli.md b/translations/zh-CN/data/reusables/cli/about-cli.md index c05881a2d92a..295d18abe9fe 100644 --- a/translations/zh-CN/data/reusables/cli/about-cli.md +++ b/translations/zh-CN/data/reusables/cli/about-cli.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098810" --- -{% data variables.product.prodname_cli %} 是用于从计算机的命令行使用 {% data variables.product.prodname_dotcom %} 的开源工具。 从命令行操作时,您可以使用 {% data variables.product.prodname_cli %} 来节省时间并避免切换上下文。 +{% data variables.product.prodname_cli %} 是用于从计算机的命令行使用 {% data variables.product.prodname_dotcom %} 的开源工具。从命令行操作时,您可以使用 {% data variables.product.prodname_cli %} 来节省时间并避免切换上下文。 diff --git a/translations/zh-CN/data/reusables/cli/filter-issues-and-pull-requests-tip.md b/translations/zh-CN/data/reusables/cli/filter-issues-and-pull-requests-tip.md index 7535b02f6b24..51973cdae8b5 100644 --- a/translations/zh-CN/data/reusables/cli/filter-issues-and-pull-requests-tip.md +++ b/translations/zh-CN/data/reusables/cli/filter-issues-and-pull-requests-tip.md @@ -8,6 +8,6 @@ ms.locfileid: "145098806" --- {% tip %} -提示:还可使用 {% data variables.product.prodname_cli %} 筛选问题或拉取请求。 有关详细信息,请参阅 {% data variables.product.prodname_cli %} 文档中的“[`gh issue list`](https://cli.github.com/manual/gh_issue_list)”或“[`gh pr list`](https://cli.github.com/manual/gh_pr_list)”。 +提示:还可使用 {% data variables.product.prodname_cli %} 筛选问题或拉取请求。有关详细信息,请参阅 {% data variables.product.prodname_cli %} 文档中的“[`gh issue list`](https://cli.github.com/manual/gh_issue_list)”或“[`gh pr list`](https://cli.github.com/manual/gh_pr_list)”。 {% endtip %} diff --git a/translations/zh-CN/data/reusables/code-scanning/about-analysis-origins-link.md b/translations/zh-CN/data/reusables/code-scanning/about-analysis-origins-link.md index 07a47f20dc62..4ceb15c99324 100644 --- a/translations/zh-CN/data/reusables/code-scanning/about-analysis-origins-link.md +++ b/translations/zh-CN/data/reusables/code-scanning/about-analysis-origins-link.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147067392" --- -如果使用多个配置运行代码扫描,则有时警报会有多个分析源。 如果警报有多个分析源,你可在警报页上查看每个分析源的警报状态。 有关详细信息,请参阅“[关于分析源](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts#about-analysis-origins)”。 +如果使用多个配置运行代码扫描,则有时警报会有多个分析源。如果警报有多个分析源,你可在警报页上查看每个分析源的警报状态。有关详细信息,请参阅“[关于分析源](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts#about-analysis-origins)”。 diff --git a/translations/zh-CN/data/reusables/code-scanning/about-code-scanning.md b/translations/zh-CN/data/reusables/code-scanning/about-code-scanning.md index d21f764b6787..2d03dff9b909 100644 --- a/translations/zh-CN/data/reusables/code-scanning/about-code-scanning.md +++ b/translations/zh-CN/data/reusables/code-scanning/about-code-scanning.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098807" --- -{% data variables.product.prodname_code_scanning_capc %} 是一项功能,可用于分析 {% data variables.product.prodname_dotcom %} 仓库中的代码,以查找安全漏洞和编码错误。 分析发现的任何问题都显示在 {% data variables.product.product_name %} 中。 +{% data variables.product.prodname_code_scanning_capc %} 是一项功能,可用于分析 {% data variables.product.prodname_dotcom %} 仓库中的代码,以查找安全漏洞和编码错误。分析发现的任何问题都显示在 {% data variables.product.product_name %} 中。 diff --git a/translations/zh-CN/data/reusables/code-scanning/about-codeql-analysis.md b/translations/zh-CN/data/reusables/code-scanning/about-codeql-analysis.md index 1028fbfda95d..644bba8b13c4 100644 --- a/translations/zh-CN/data/reusables/code-scanning/about-codeql-analysis.md +++ b/translations/zh-CN/data/reusables/code-scanning/about-codeql-analysis.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098239" --- -{% data variables.product.prodname_codeql %} 是 {% data variables.product.company_short %} 开发的代码分析引擎,用于自动执行安全检查。 可使用 {% data variables.product.prodname_codeql %} 分析代码,并将结果显示为 {% data variables.product.prodname_code_scanning %} 警报。 +{% data variables.product.prodname_codeql %} 是 {% data variables.product.company_short %} 开发的代码分析引擎,用于自动执行安全检查。可使用 {% data variables.product.prodname_codeql %} 分析代码,并将结果显示为 {% data variables.product.prodname_code_scanning %} 警报。 diff --git a/translations/zh-CN/data/reusables/code-scanning/alert-default-branch.md b/translations/zh-CN/data/reusables/code-scanning/alert-default-branch.md index 39bdd7758c88..55c144dc1ea3 100644 --- a/translations/zh-CN/data/reusables/code-scanning/alert-default-branch.md +++ b/translations/zh-CN/data/reusables/code-scanning/alert-default-branch.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147063007" --- -警报页面上的状态和详细信息仅反映存储库默认分支上的警报状态,即使警报存在于其他分支中也是如此。 可以在警报页右侧的“受影响的分支”部分查看非默认分支上的警报状态。 如果默认分支中不存在警报,则警报的状态将显示为“在拉取请求中”或“在分支中”,并将变为灰色。 +警报页面上的状态和详细信息仅反映存储库默认分支上的警报状态,即使警报存在于其他分支中也是如此。可以在警报页右侧的“受影响的分支”部分查看非默认分支上的警报状态。如果默认分支中不存在警报,则警报的状态将显示为“在拉取请求中”或“在分支中”,并将变为灰色。 diff --git a/translations/zh-CN/data/reusables/code-scanning/alerts-found-in-generated-code.md b/translations/zh-CN/data/reusables/code-scanning/alerts-found-in-generated-code.md index 7c4e861c951b..67c4eef42724 100644 --- a/translations/zh-CN/data/reusables/code-scanning/alerts-found-in-generated-code.md +++ b/translations/zh-CN/data/reusables/code-scanning/alerts-found-in-generated-code.md @@ -6,6 +6,6 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147063727" --- -对于 Java、C、C++ 和 C# 等编译语言,{% data variables.product.prodname_codeql %} 分析在工作流程运行过程中构建的所有代码。 要限制要分析的代码量,请通过在 `run` 块中指定自己的生成步骤,仅生成要分析的代码。 可以将指定自己的生成步骤与对 `pull_request` 和 `push` 事件使用 `paths` 或 `paths-ignore` 筛选器相结合,以确保工作流仅在特定代码更改时运行。 有关详细信息,请参阅 [{% data variables.product.prodname_actions %} 的工作流语法](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore)。 +对于 Java、C、C++ 和 C# 等编译语言,{% data variables.product.prodname_codeql %} 分析在工作流程运行过程中构建的所有代码。要限制要分析的代码量,请通过在 `run` 块中指定自己的生成步骤,仅生成要分析的代码。可以将指定自己的生成步骤与对 `pull_request` 和 `push` 事件使用 `paths` 或 `paths-ignore` 筛选器相结合,以确保工作流仅在特定代码更改时运行。有关详细信息,请参阅 [{% data variables.product.prodname_actions %} 的工作流语法](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore)。 -对于 Go、JavaScript、Python 和 TypeScript 等语言, {% data variables.product.prodname_codeql %} 分析而不编译源代码,您可以指定其他配置选项来限制要分析的代码量。 有关详细信息,请参阅“[指定要扫描的目录](/code-security/secure-coding/configuring-code-scanning#specifying-directories-to-scan)”。 +对于 Go、JavaScript、Python 和 TypeScript 等语言, {% data variables.product.prodname_codeql %} 分析而不编译源代码,您可以指定其他配置选项来限制要分析的代码量。有关详细信息,请参阅“[指定要扫描的目录](/code-security/secure-coding/configuring-code-scanning#specifying-directories-to-scan)”。 diff --git a/translations/zh-CN/data/reusables/code-scanning/analyze-go.md b/translations/zh-CN/data/reusables/code-scanning/analyze-go.md index 82b4cb08b372..0252e902f978 100644 --- a/translations/zh-CN/data/reusables/code-scanning/analyze-go.md +++ b/translations/zh-CN/data/reusables/code-scanning/analyze-go.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145098236" --- -{% data variables.product.prodname_codeql %} 也运行 Go 项目的构建来设置项目。 但与其他编译的语言不同,存储库中的所有文件都将被提取,而不只是生成的文件。 可以使用自定义生成命令跳过提取生成时不会接触到的 Go 文件。 +{% data variables.product.prodname_codeql %} 也运行 Go 项目的构建来设置项目。但与其他编译的语言不同,存储库中的所有文件都将被提取,而不只是生成的文件。可以使用自定义生成命令跳过提取生成时不会接触到的 Go 文件。 diff --git a/translations/zh-CN/data/reusables/code-scanning/autobuild-add-build-steps.md b/translations/zh-CN/data/reusables/code-scanning/autobuild-add-build-steps.md index dc163e1400c1..9178a105936a 100644 --- a/translations/zh-CN/data/reusables/code-scanning/autobuild-add-build-steps.md +++ b/translations/zh-CN/data/reusables/code-scanning/autobuild-add-build-steps.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145098803" --- -如果存储库中的 C/C++、C# 或 Java 代码有非标准生成过程,`autobuild` 可能会失败。 这种情况需要从工作流中删除 `autobuild` 步骤,并手动添加生成步骤。 如果您要指定仓库中的哪个 Go 文件要提取,则需要添加生成步骤。 +如果存储库中的 C/C++、C# 或 Java 代码有非标准生成过程,`autobuild` 可能会失败。这种情况需要从工作流中删除 `autobuild` 步骤,并手动添加生成步骤。如果您要指定仓库中的哪个 Go 文件要提取,则需要添加生成步骤。 diff --git a/translations/zh-CN/data/reusables/code-scanning/autobuild-compiled-languages.md b/translations/zh-CN/data/reusables/code-scanning/autobuild-compiled-languages.md index 320555380d7e..d5ddb3cb7bb4 100644 --- a/translations/zh-CN/data/reusables/code-scanning/autobuild-compiled-languages.md +++ b/translations/zh-CN/data/reusables/code-scanning/autobuild-compiled-languages.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098232" --- -对于受支持的编译语言,你可使用 {% data variables.product.prodname_codeql_workflow %} 中的 `autobuild` 操作来构建代码。 这避免了为 C/C++、C# 和 Java 指定显式生成命令。 +对于受支持的编译语言,你可使用 {% data variables.product.prodname_codeql_workflow %} 中的 `autobuild` 操作来构建代码。这避免了为 C/C++、C# 和 Java 指定显式生成命令。 diff --git a/translations/zh-CN/data/reusables/code-scanning/beta-codeql-ml-queries.md b/translations/zh-CN/data/reusables/code-scanning/beta-codeql-ml-queries.md index ead4d764bd0b..356507eda80a 100644 --- a/translations/zh-CN/data/reusables/code-scanning/beta-codeql-ml-queries.md +++ b/translations/zh-CN/data/reusables/code-scanning/beta-codeql-ml-queries.md @@ -10,7 +10,7 @@ ms.locfileid: "146180885" {% note %} -注意:{% data variables.product.prodname_code_scanning %} 的实验性警报是使用实验技术在 {% data variables.product.prodname_codeql %} 操作中创建的。 此功能目前是针对 JavaScript 代码的 beta 版本,可能会有变化。 +注意:{% data variables.product.prodname_code_scanning %} 的实验性警报是使用实验技术在 {% data variables.product.prodname_codeql %} 操作中创建的。此功能目前是针对 JavaScript 代码的 beta 版本,可能会有变化。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/code-scanning/billing.md b/translations/zh-CN/data/reusables/code-scanning/billing.md index fe7bfde63ffa..40a54a626b6f 100644 --- a/translations/zh-CN/data/reusables/code-scanning/billing.md +++ b/translations/zh-CN/data/reusables/code-scanning/billing.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098791" --- -{% ifversion fpt or ghec %}使用操作运行 {% data variables.product.prodname_code_scanning %} 将消耗分钟数。 有关详细信息,请参阅“[关于 {% data variables.product.prodname_actions %} 的计费](/billing/managing-billing-for-github-actions/about-billing-for-github-actions)”。{% endif %} +{% ifversion fpt or ghec %}使用操作运行 {% data variables.product.prodname_code_scanning %} 将消耗分钟数。有关详细信息,请参阅“[关于 {% data variables.product.prodname_actions %} 的计费](/billing/managing-billing-for-github-actions/about-billing-for-github-actions)”。{% endif %} diff --git a/translations/zh-CN/data/reusables/code-scanning/choose-alert-dismissal-reason.md b/translations/zh-CN/data/reusables/code-scanning/choose-alert-dismissal-reason.md index 02e6b42c3141..e8415ffb15ea 100644 --- a/translations/zh-CN/data/reusables/code-scanning/choose-alert-dismissal-reason.md +++ b/translations/zh-CN/data/reusables/code-scanning/choose-alert-dismissal-reason.md @@ -6,5 +6,5 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "147879595" --- -从下拉菜单中选择合适的原因很重要,因为这可能会影响到是否继续将查询纳入未来的分析。 {% ifversion comment-dismissed-code-scanning-alert %}(可选)可对关闭操作进行注释,记录警报关闭情况的上下文。 关闭操作注释将添加到警报时间线,可在审核和报告期间用作理由。 可使用代码扫描 REST API 检索或设置注释。 注释包含在 `alerts/{alert_number}` 终结点的 `dismissed_comment` 中。 有关详细信息,请参阅“[代码扫描](/rest/code-scanning#update-a-code-scanning-alert)”。 +从下拉菜单中选择合适的原因很重要,因为这可能会影响到是否继续将查询纳入未来的分析。 {% ifversion comment-dismissed-code-scanning-alert %}(可选)可对关闭操作进行注释,记录警报关闭情况的上下文。关闭操作注释将添加到警报时间线,可在审核和报告期间用作理由。可使用代码扫描 REST API 检索或设置注释。注释包含在 `alerts/{alert_number}` 终结点的 `dismissed_comment` 中。有关详细信息,请参阅“[代码扫描](/rest/code-scanning#update-a-code-scanning-alert)”。 {% endif %} diff --git a/translations/zh-CN/data/reusables/code-scanning/codeql-cli-context-for-third-party-tools.md b/translations/zh-CN/data/reusables/code-scanning/codeql-cli-context-for-third-party-tools.md index bd27c9ab0a4e..6dddb1156db6 100644 --- a/translations/zh-CN/data/reusables/code-scanning/codeql-cli-context-for-third-party-tools.md +++ b/translations/zh-CN/data/reusables/code-scanning/codeql-cli-context-for-third-party-tools.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098789" --- -将 {% data variables.product.prodname_codeql_cli %} 添加到第三方系统,然后调用工具分析代码并将 SARIF 结果上传到 {% data variables.product.product_name %}。 由此产生的 {% data variables.product.prodname_code_scanning %} 警报与 {% data variables.product.product_name %} 内生成的任何警报一起显示。 有关详细信息,请参阅“[关于 CI 系统中的 CodeQL 代码扫描](/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/about-codeql-code-scanning-in-your-ci-system)”。 +将 {% data variables.product.prodname_codeql_cli %} 添加到第三方系统,然后调用工具分析代码并将 SARIF 结果上传到 {% data variables.product.product_name %}。由此产生的 {% data variables.product.prodname_code_scanning %} 警报与 {% data variables.product.product_name %} 内生成的任何警报一起显示。有关详细信息,请参阅“[关于 CI 系统中的 CodeQL 代码扫描](/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/about-codeql-code-scanning-in-your-ci-system)”。 diff --git a/translations/zh-CN/data/reusables/code-scanning/codeql-context-for-actions-and-third-party-tools.md b/translations/zh-CN/data/reusables/code-scanning/codeql-context-for-actions-and-third-party-tools.md index 960f7add3809..171c9b63c54a 100644 --- a/translations/zh-CN/data/reusables/code-scanning/codeql-context-for-actions-and-third-party-tools.md +++ b/translations/zh-CN/data/reusables/code-scanning/codeql-context-for-actions-and-third-party-tools.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098221" --- -您可以使用 {% data variables.product.prodname_actions %} 在 {% data variables.product.product_name %} 内运行 {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} 。 或者,如果您使用第三方持续集成或持续交付/部署 (CI/CD) 系统,您可以在现有系统中运行 {% data variables.product.prodname_codeql %} 分析并将结果上传到 {% data variables.product.product_location %}。 +您可以使用 {% data variables.product.prodname_actions %} 在 {% data variables.product.product_name %} 内运行 {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} 。或者,如果您使用第三方持续集成或持续交付/部署(CI/CD)系统,您可以在现有系统中运行 {% data variables.product.prodname_codeql %} 分析并将结果上传到 {% data variables.product.product_location %}。 diff --git a/translations/zh-CN/data/reusables/code-scanning/codeql-query-suites-explanation.md b/translations/zh-CN/data/reusables/code-scanning/codeql-query-suites-explanation.md index fec9956ff9b8..49837d57f4d2 100644 --- a/translations/zh-CN/data/reusables/code-scanning/codeql-query-suites-explanation.md +++ b/translations/zh-CN/data/reusables/code-scanning/codeql-query-suites-explanation.md @@ -10,4 +10,4 @@ ms.locfileid: "146180869" {% data reusables.code-scanning.codeql-query-suites %} -指定查询套件时,{% data variables.product.prodname_codeql %} 分析引擎将运行默认查询集和其他查询套件中定义的任何其他查询。 {% ifversion codeql-ml-queries %}JavaScript 的 `security-extended` 和 `security-and-quality` 查询套件包含实验性查询。 有关详细信息,请参阅“[关于 {% data variables.product.prodname_code_scanning %} 警报](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts#about-experimental-alerts)”。{% endif %} +指定查询套件时,{% data variables.product.prodname_codeql %} 分析引擎将运行默认查询集和其他查询套件中定义的任何其他查询。 {% ifversion codeql-ml-queries %}JavaScript 的 `security-extended` 和 `security-and-quality` 查询套件包含实验性查询。有关详细信息,请参阅“[关于 {% data variables.product.prodname_code_scanning %} 警报](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts#about-experimental-alerts)”。{% endif %} diff --git a/translations/zh-CN/data/reusables/code-scanning/codeql-runner-analyze-example.md b/translations/zh-CN/data/reusables/code-scanning/codeql-runner-analyze-example.md index 78f795b116d2..8f2c8be7723a 100644 --- a/translations/zh-CN/data/reusables/code-scanning/codeql-runner-analyze-example.md +++ b/translations/zh-CN/data/reusables/code-scanning/codeql-runner-analyze-example.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098785" --- -1. 填充 {% data variables.product.prodname_codeql %} 数据库、进行分析并将结果上传到 {% data variables.product.product_name %}。 结果将显示在存储库的“安全”选项卡中。 +1. 填充 {% data variables.product.prodname_codeql %} 数据库、进行分析并将结果上传到 {% data variables.product.product_name %}。结果将显示在存储库的“安全”选项卡中。 ```shell $ echo "$TOKEN" | /path/to-runner/codeql-runner-linux analyze --repository octo-org/example-repo @@ -17,7 +17,7 @@ ms.locfileid: "145098785" > POST /repos/octo-org/example-repo/code-scanning/sarifs - 202 in 786ms > Successfully uploaded results ``` -2. 要将 {% data variables.product.prodname_code_scanning %} 结果作为拉取请求检查上传,请使用 `--ref` 标志指定拉取请求。 我们建议设置 {% data variables.product.prodname_codeql_runner %} 以便它在 [`pull_request`](/developers/webhooks-and-events/webhook-events-and-payloads#pull_request) Webhook 事件上运行。 +2. 要将 {% data variables.product.prodname_code_scanning %} 结果作为拉取请求检查上传,请使用 `--ref` 标志指定拉取请求。我们建议设置 {% data variables.product.prodname_codeql_runner %} 以便它在 [`pull_request`](/developers/webhooks-and-events/webhook-events-and-payloads#pull_request) Webhook 事件上运行。 ```shell $ echo "$TOKEN" | /path/to-runner/codeql-runner-linux analyze --repository octo-org/example-repo diff --git a/translations/zh-CN/data/reusables/code-scanning/custom-configuration-file.md b/translations/zh-CN/data/reusables/code-scanning/custom-configuration-file.md index 574058b6bb12..b1c97fbda12d 100644 --- a/translations/zh-CN/data/reusables/code-scanning/custom-configuration-file.md +++ b/translations/zh-CN/data/reusables/code-scanning/custom-configuration-file.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "147881898" --- -配置文件可以位于正在分析的存储库中,也可以位于外部存储库中。 使用外部存储库可以在一个位置为多个存储库指定配置选项。 引用位于外部存储库中的配置文件时,可以使用 OWNER/REPOSITORY/FILENAME@BRANCH 语法。 例如, _octo-org/shared/codeql-config.yml@main_ 。 +配置文件可以位于正在分析的存储库中,也可以位于外部存储库中。使用外部存储库可以在一个位置为多个存储库指定配置选项。引用位于外部存储库中的配置文件时,可以使用 OWNER/REPOSITORY/FILENAME@BRANCH 语法。例如,_octo-org/shared/codeql-config.yml@main_ 。 diff --git a/translations/zh-CN/data/reusables/code-scanning/deprecation-codeql-runner.md b/translations/zh-CN/data/reusables/code-scanning/deprecation-codeql-runner.md index b3ddef4e264b..e3edaf3c497f 100644 --- a/translations/zh-CN/data/reusables/code-scanning/deprecation-codeql-runner.md +++ b/translations/zh-CN/data/reusables/code-scanning/deprecation-codeql-runner.md @@ -10,22 +10,22 @@ ms.locfileid: "145098784" {% ifversion fpt or ghec %} -注意:{% data variables.product.prodname_codeql_runner %} 将被弃用。 对于 {% data variables.product.product_name %},{% data variables.product.prodname_codeql_runner %} 一直支持到 2022 年 3 月。 应升级到最新版本的 [{% data variables.product.prodname_codeql_cli %}](https://github.com/github/codeql-action/releases)。 +注意:{% data variables.product.prodname_codeql_runner %} 将被弃用。对于 {% data variables.product.product_name %},{% data variables.product.prodname_codeql_runner %} 一直支持到 2022 年 3 月。应升级到最新版本的 [{% data variables.product.prodname_codeql_cli %}](https://github.com/github/codeql-action/releases)。 {% elsif ghes > 3.3 %} -注意:{% data variables.product.prodname_codeql_runner %} 已被弃用,且未包含在 {% data variables.product.prodname_ghe_server %} 3.4 中。 应迁移到 [{% data variables.product.prodname_codeql_cli %}](https://github.com/github/codeql-action/releases) 版本 2.7.6。 +注意:{% data variables.product.prodname_codeql_runner %} 已被弃用,且未包含在 {% data variables.product.prodname_ghe_server %} 3.4 中。应迁移到 [{% data variables.product.prodname_codeql_cli %}](https://github.com/github/codeql-action/releases) 版本 2.7.6。 {% elsif ghes < 3.4 %} -注意:{% data variables.product.prodname_codeql_runner %} 将被弃用。 对于 {% data variables.product.prodname_ghe_server %} 3.0及更高版本,可以安装 [{% data variables.product.prodname_codeql_cli %}](https://github.com/github/codeql-action/releases) 版本 2.6.3 来替换 {% data variables.product.prodname_codeql_runner %}。 +注意:{% data variables.product.prodname_codeql_runner %} 将被弃用。对于 {% data variables.product.prodname_ghe_server %} 3.0 及更高版本,可以安装 [{% data variables.product.prodname_codeql_cli %}](https://github.com/github/codeql-action/releases) 版本 2.6.3 来替换 {% data variables.product.prodname_codeql_runner %}。 {% elsif ghae %} -注意:{% data variables.product.prodname_codeql_runner %} 已被弃用。 应迁移到 [{% data variables.product.prodname_codeql_cli %}](https://github.com/github/codeql-action/releases)。 +注意:{% data variables.product.prodname_codeql_runner %} 已被弃用。应迁移到 [{% data variables.product.prodname_codeql_cli %}](https://github.com/github/codeql-action/releases)。 {% endif %} -有关详细信息,请参阅 [CodeQL 运行器弃用](https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/)。 有关迁移到 {% data variables.product.prodname_codeql_cli %} 的信息,请参阅[从 CodeQL 运行器迁移到 CodeQL CLI](/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/migrating-from-the-codeql-runner-to-codeql-cli)。 +有关详细信息,请参阅 [CodeQL 运行器弃用](https://github.blog/changelog/2021-09-21-codeql-runner-deprecation/)。有关迁移到 {% data variables.product.prodname_codeql_cli %} 的信息,请参阅[从 CodeQL 运行器迁移到 CodeQL CLI](/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/migrating-from-the-codeql-runner-to-codeql-cli)。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/code-scanning/edit-workflow.md b/translations/zh-CN/data/reusables/code-scanning/edit-workflow.md index be490f159bac..5e032ac6aeb4 100644 --- a/translations/zh-CN/data/reusables/code-scanning/edit-workflow.md +++ b/translations/zh-CN/data/reusables/code-scanning/edit-workflow.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098216" --- -一般情况下无需编辑 {% data variables.product.prodname_code_scanning %} 的默认工作流程。 但是,如果需要,您可以编辑工作流程以自定义某些设置。 例如,您可以编辑 {% data variables.product.prodname_dotcom %} 的 {% data variables.product.prodname_codeql_workflow %} 来指定扫描频率、要扫描的语言或目录,以及 {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} 在代码中的查找内容。 如果您使用一组特定的命令来编译代码,您可能还需要编辑 {% data variables.product.prodname_codeql_workflow %}。 +一般情况下无需编辑 {% data variables.product.prodname_code_scanning %} 的默认工作流程。但是,如果需要,您可以编辑工作流程以自定义某些设置。例如,您可以编辑 {% data variables.product.prodname_dotcom %} 的 {% data variables.product.prodname_codeql_workflow %} 来指定扫描频率、要扫描的语言或目录,以及 {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} 在代码中的查找内容。如果您使用一组特定的命令来编译代码,您可能还需要编辑 {% data variables.product.prodname_codeql_workflow %}。 diff --git a/translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning-actions.md b/translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning-actions.md index f625baf95292..8a6dfc7561ee 100644 --- a/translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning-actions.md +++ b/translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning-actions.md @@ -10,7 +10,7 @@ ms.locfileid: "145098212" {% note %} -**注意:** 网站管理员必须为 {% data variables.product.product_location %} 启用 {% data variables.product.prodname_code_scanning %},然后你才能使用此功能。 如果要使用 {% data variables.product.prodname_actions %} 扫描代码,站点管理员还必须启用 {% data variables.product.prodname_actions %} 并设置所需的基础结构。 有关详细信息,请参阅“[为设备配置 {% data variables.product.prodname_code_scanning %}](/enterprise/admin/configuration/configuring-code-scanning-for-your-appliance)”。 +**注意:** 网站管理员必须为 {% data variables.product.product_location %} 启用 {% data variables.product.prodname_code_scanning %},然后你才能使用此功能。如果要使用 {% data variables.product.prodname_actions %} 扫描代码,站点管理员还必须启用 {% data variables.product.prodname_actions %} 并设置所需的基础结构。有关详细信息,请参阅“[为设备配置 {% data variables.product.prodname_code_scanning %}](/enterprise/admin/configuration/configuring-code-scanning-for-your-appliance)”。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning.md b/translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning.md index 2da429965383..fd91e2921233 100644 --- a/translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning.md +++ b/translations/zh-CN/data/reusables/code-scanning/enterprise-enable-code-scanning.md @@ -10,7 +10,7 @@ ms.locfileid: "145098775" {% note %} -注意:站点管理员必须为 {% data variables.product.product_location %} 启用 {% data variables.product.prodname_code_scanning %},你才能使用这些功能。 有关详细信息,请参阅“[为设备配置 {% data variables.product.prodname_code_scanning %}](/enterprise/admin/configuration/configuring-code-scanning-for-your-appliance)”。 +注意:站点管理员必须为 {% data variables.product.product_location %} 启用 {% data variables.product.prodname_code_scanning %},你才能使用这些功能。有关详细信息,请参阅“[为设备配置 {% data variables.product.prodname_code_scanning %}](/enterprise/admin/configuration/configuring-code-scanning-for-your-appliance)”。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/code-scanning/false-positive-fix-codeql.md b/translations/zh-CN/data/reusables/code-scanning/false-positive-fix-codeql.md index e1351dd9fd48..df8837700e8d 100644 --- a/translations/zh-CN/data/reusables/code-scanning/false-positive-fix-codeql.md +++ b/translations/zh-CN/data/reusables/code-scanning/false-positive-fix-codeql.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098772" --- -如果将 {% data variables.product.prodname_codeql %} 警报作为误报予以忽略,例如因为代码使用了不受支持的清理库,请考虑参与 {% data variables.product.prodname_codeql %} 存储库并改进分析。 有关 {% data variables.product.prodname_codeql %} 的详细信息,请参阅“[参与 {% data variables.product.prodname_codeql %}](https://github.com/github/codeql/blob/main/CONTRIBUTING.md)”。 +如果将 {% data variables.product.prodname_codeql %} 警报作为误报予以忽略,例如因为代码使用了不受支持的清理库,请考虑参与 {% data variables.product.prodname_codeql %} 存储库并改进分析。有关 {% data variables.product.prodname_codeql %} 的详细信息,请参阅“[参与 {% data variables.product.prodname_codeql %}](https://github.com/github/codeql/blob/main/CONTRIBUTING.md)”。 diff --git a/translations/zh-CN/data/reusables/code-scanning/filter-non-default-branches.md b/translations/zh-CN/data/reusables/code-scanning/filter-non-default-branches.md index 86898689f5f5..3f50cee191ee 100644 --- a/translations/zh-CN/data/reusables/code-scanning/filter-non-default-branches.md +++ b/translations/zh-CN/data/reusables/code-scanning/filter-non-default-branches.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "147061016" --- -请注意,如果你已筛选掉非默认分支上的警报,但默认分支上存在相同的警报,则任何给定警报的警报页仍将仅反映默认分支上的警报状态,即使该状态与非默认分支的状态冲突也是如此。 例如,如果 `branch-x` 的警报摘要中的“未解决”列表中显示的警报已在默认分支上修复,该警报可能会在警报页上显示“已修复”状态。 可在警报页右侧的“受影响的分支”部分查看筛选的分支的警报状态。 +请注意,如果你已筛选掉非默认分支上的警报,但默认分支上存在相同的警报,则任何给定警报的警报页仍将仅反映默认分支上的警报状态,即使该状态与非默认分支的状态冲突也是如此。例如,如果 `branch-x` 的警报摘要中的“未解决”列表中显示的警报已在默认分支上修复,该警报可能会在警报页上显示“已修复”状态。可在警报页右侧的“受影响的分支”部分查看筛选的分支的警报状态。 diff --git a/translations/zh-CN/data/reusables/code-scanning/github-issues-integration.md b/translations/zh-CN/data/reusables/code-scanning/github-issues-integration.md index b84e870e4b0c..92e8fa5db7c4 100644 --- a/translations/zh-CN/data/reusables/code-scanning/github-issues-integration.md +++ b/translations/zh-CN/data/reusables/code-scanning/github-issues-integration.md @@ -6,6 +6,6 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098203" --- -{% data variables.product.prodname_code_scanning_capc %} 警报与 {% data variables.product.prodname_github_issues %} 中的任务列表集成,使你能够轻松地在所有开发工作中确定警报的优先级并对其进行跟踪。 有关问题的详细信息,请参阅“[关于问题](/issues/tracking-your-work-with-issues/about-issues)”。 +{% data variables.product.prodname_code_scanning_capc %} 警报与 {% data variables.product.prodname_github_issues %} 中的任务列表集成,使你能够轻松地在所有开发工作中确定警报的优先级并对其进行跟踪。有关问题的详细信息,请参阅“[关于问题](/issues/tracking-your-work-with-issues/about-issues)”。 -若要跟踪问题中的代码扫描警报,请将警报的 URL 添加为问题中的任务列表项。 有关任务列表的详细信息,请参阅“[关于任务列表](/issues/tracking-your-work-with-issues/about-task-lists)”。 +若要跟踪问题中的代码扫描警报,请将警报的 URL 添加为问题中的任务列表项。有关任务列表的详细信息,请参阅“[关于任务列表](/issues/tracking-your-work-with-issues/about-task-lists)”。 diff --git a/translations/zh-CN/data/reusables/code-scanning/interoperable-with-tools-that-output-sarif.md b/translations/zh-CN/data/reusables/code-scanning/interoperable-with-tools-that-output-sarif.md index d9b1eaff198e..82fd8fae83da 100644 --- a/translations/zh-CN/data/reusables/code-scanning/interoperable-with-tools-that-output-sarif.md +++ b/translations/zh-CN/data/reusables/code-scanning/interoperable-with-tools-that-output-sarif.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098770" --- -{% data variables.product.prodname_code_scanning_capc %} 可与输出静态分析结果交换格式 (SARIF) 数据的第三方代码扫描工具互操作。 SARIF 是一个开放的标准。 有关详细信息,请参阅“[{% data variables.product.prodname_code_scanning %} 的 SARIF 输出](/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning)”。 +{% data variables.product.prodname_code_scanning_capc %} 可与输出静态分析结果交换格式 (SARIF) 数据的第三方代码扫描工具互操作。SARIF 是一个开放的标准。有关详细信息,请参阅“[{% data variables.product.prodname_code_scanning %} 的 SARIF 输出](/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning)”。 diff --git a/translations/zh-CN/data/reusables/code-scanning/not-available.md b/translations/zh-CN/data/reusables/code-scanning/not-available.md index b536bda49bc3..097b81d4fe10 100644 --- a/translations/zh-CN/data/reusables/code-scanning/not-available.md +++ b/translations/zh-CN/data/reusables/code-scanning/not-available.md @@ -8,6 +8,6 @@ ms.locfileid: "145098768" --- {% ifversion fpt or ghec %} {% note %} -注意:对于专用和内部存储库,{% data variables.product.prodname_code_scanning %} 在对该资源库启用了 {% data variables.product.prodname_GH_advanced_security %} 功能时可用。 如果看到错误 `Advanced Security must be enabled for this repository to use code scanning`,请检查 {% data variables.product.prodname_GH_advanced_security %} 是否已启用。 有关详细信息,请参阅“[管理存储库的安全和分析设置](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)”。 +注意:对于专用和内部存储库,{% data variables.product.prodname_code_scanning %} 在对该资源库启用了 {% data variables.product.prodname_GH_advanced_security %} 功能时可用。如果看到错误 `Advanced Security must be enabled for this repository to use code scanning`,请检查 {% data variables.product.prodname_GH_advanced_security %} 是否已启用。有关详细信息,请参阅“[管理存储库的安全和分析设置](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)”。 {% endnote %} {% endif %} diff --git a/translations/zh-CN/data/reusables/code-scanning/specify-language-to-analyze.md b/translations/zh-CN/data/reusables/code-scanning/specify-language-to-analyze.md index 1d39462b57d8..6fd70f39180a 100644 --- a/translations/zh-CN/data/reusables/code-scanning/specify-language-to-analyze.md +++ b/translations/zh-CN/data/reusables/code-scanning/specify-language-to-analyze.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098767" --- -如果存储库包含的代码支持多种语言,可以选择要分析的语言。 有几种原因可能使你想阻止对某种语言进行分析。 例如,项目中可能有其他语言的代码主体依赖项,你可能不想看到这些依赖项的警报。 +如果存储库包含的代码支持多种语言,可以选择要分析的语言。有几种原因可能使你想阻止对某种语言进行分析。例如,项目中可能有其他语言的代码主体依赖项,你可能不想看到这些依赖项的警报。 diff --git a/translations/zh-CN/data/reusables/code-scanning/upload-sarif-alert-limit.md b/translations/zh-CN/data/reusables/code-scanning/upload-sarif-alert-limit.md index 23b83593015b..d8b79514c332 100644 --- a/translations/zh-CN/data/reusables/code-scanning/upload-sarif-alert-limit.md +++ b/translations/zh-CN/data/reusables/code-scanning/upload-sarif-alert-limit.md @@ -9,8 +9,8 @@ ms.locfileid: "145098766" {% note %} **注意:** -- SARIF 上传最多支持每次上传 5000 个结果。 任何超过此限制的结果都将被忽略。 如果工具生成太多结果,则应更新配置,以将重点放在最重要的规则或查询的结果上。 +- SARIF 上传最多支持每次上传 5000 个结果。任何超过此限制的结果都将被忽略。如果工具生成太多结果,则应更新配置,以将重点放在最重要的规则或查询的结果上。 - - 对于每次上传,SARIF 上传支持最大大小为 10 MB 的 `gzip` 压缩 SARIF 文件。 任何超过此限制的上传都将被拒绝。 如果 SARIF 文件由于包含太多结果而过大,则应更新配置,以将重点放在最重要的规则或查询的结果上。 + - 对于每次上传,SARIF 上传支持最大大小为 10 MB 的 `gzip` 压缩 SARIF 文件。任何超过此限制的上传都将被拒绝。如果 SARIF 文件由于包含太多结果而过大,则应更新配置,以将重点放在最重要的规则或查询的结果上。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/code-scanning/upload-sarif-ghas.md b/translations/zh-CN/data/reusables/code-scanning/upload-sarif-ghas.md index 41988a715318..669499d07eb9 100644 --- a/translations/zh-CN/data/reusables/code-scanning/upload-sarif-ghas.md +++ b/translations/zh-CN/data/reusables/code-scanning/upload-sarif-ghas.md @@ -8,6 +8,6 @@ ms.locfileid: "145098197" --- {% note %} -注意:上传 SARIF 数据以显示为 {% data variables.product.product_name %} 中的 {% data variables.product.prodname_code_scanning %} 结果适用于启用了 {% data variables.product.prodname_GH_advanced_security %} 的组织拥有的数据库 {% ifversion fpt or ghec %} 和 {% data variables.product.prodname_dotcom_the_website %} 上的公共存储库{% endif %}。 有关详细信息,请参阅“[管理存储库库的安全和分析设置](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)”。 +注意:上传 SARIF 数据以显示为 {% data variables.product.product_name %} 中的 {% data variables.product.prodname_code_scanning %} 结果适用于启用了 {% data variables.product.prodname_GH_advanced_security %} 的组织拥有的数据库 {% ifversion fpt or ghec %} 和 {% data variables.product.prodname_dotcom_the_website %} 上的公共存储库{% endif %}。有关详细信息,请参阅“[管理存储库库的安全和分析设置](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)”。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/code-scanning/what-is-codeql-cli.md b/translations/zh-CN/data/reusables/code-scanning/what-is-codeql-cli.md index f90d3356a188..89ec6ab2b1d1 100644 --- a/translations/zh-CN/data/reusables/code-scanning/what-is-codeql-cli.md +++ b/translations/zh-CN/data/reusables/code-scanning/what-is-codeql-cli.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145098765" --- -{% data variables.product.prodname_codeql_cli %} 是一个可用来分析代码的独立产品。 其主要用途是生成代码空间的数据库表示形式,即 {% data variables.product.prodname_codeql %} 数据库。 数据库准备就绪后,您可以进行交互式查询,或者运行一系列查询以生成一组 SARIF 格式的结果,然后将结果上传到 {% data variables.product.product_location %}。 +{% data variables.product.prodname_codeql_cli %} 是一个可用来分析代码的独立产品。其主要用途是生成代码空间的数据库表示形式,即 {% data variables.product.prodname_codeql %} 数据库。数据库准备就绪后,您可以进行交互式查询,或者运行一系列查询以生成一组 SARIF 格式的结果,然后将结果上传到 {% data variables.product.product_location %}。 diff --git a/translations/zh-CN/data/reusables/codespaces/about-configuration.md b/translations/zh-CN/data/reusables/codespaces/about-configuration.md index cf3c53be2442..b9ee5f7c41a7 100644 --- a/translations/zh-CN/data/reusables/codespaces/about-configuration.md +++ b/translations/zh-CN/data/reusables/codespaces/about-configuration.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098192" --- -您可以为仓库创建默认代码空间配置,以确定任何人员为该仓库创建的每个新代码空间的环境。 配置定义一个可以包含框架、工具、扩展和端口转发的开发容器。 +您可以为仓库创建默认代码空间配置,以确定任何人员为该仓库创建的每个新代码空间的环境。配置定义一个可以包含框架、工具、扩展和端口转发的开发容器。 diff --git a/translations/zh-CN/data/reusables/codespaces/about-personalization.md b/translations/zh-CN/data/reusables/codespaces/about-personalization.md index 7832659f8582..ea00a4e7f569 100644 --- a/translations/zh-CN/data/reusables/codespaces/about-personalization.md +++ b/translations/zh-CN/data/reusables/codespaces/about-personalization.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145098755" --- -还可以使用 [dotfiles](https://dotfiles.github.io/tutorials/) 存储库和[设置同步](https://code.visualstudio.com/docs/editor/settings-sync)为创建的任何 codespace 个性化 codespace 环境的各个方面。 个性化可以包括 shell 首选项和其他工具。 +还可以使用 [dotfiles](https://dotfiles.github.io/tutorials/) 存储库和[设置同步](https://code.visualstudio.com/docs/editor/settings-sync)为创建的任何 codespace 个性化 codespace 环境的各个方面。个性化可以包括 shell 首选项和其他工具。 diff --git a/translations/zh-CN/data/reusables/codespaces/about-port-forwarding.md b/translations/zh-CN/data/reusables/codespaces/about-port-forwarding.md index 2c708d8e8caf..f343d3549c14 100644 --- a/translations/zh-CN/data/reusables/codespaces/about-port-forwarding.md +++ b/translations/zh-CN/data/reusables/codespaces/about-port-forwarding.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098186" --- -您可以转发代码空间中的端口以测试和调试应用程序。 还可以管理端口协议,并在组织内或公开共享端口。 +您可以转发代码空间中的端口以测试和调试应用程序。还可以管理端口协议,并在组织内或公开共享端口。 diff --git a/translations/zh-CN/data/reusables/codespaces/billing-for-prebuilds-default.md b/translations/zh-CN/data/reusables/codespaces/billing-for-prebuilds-default.md index 46a475db584e..eee9cdec8601 100644 --- a/translations/zh-CN/data/reusables/codespaces/billing-for-prebuilds-default.md +++ b/translations/zh-CN/data/reusables/codespaces/billing-for-prebuilds-default.md @@ -6,6 +6,6 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147548006" --- -默认情况下,每次创建或更新预生成或推送到启用预生成的分支时,都会触发 {% data variables.product.prodname_actions %} 工作流。 与其他工作流一样,虽然预生成工作流正在运行,但它们会消耗帐户中包含的一些 Actions 分钟数(如果有),或者它们会产生 Actions 分钟费用。 有关 Actions 分钟定价的详细信息,请参阅“[关于 {% data variables.product.prodname_actions %} 的计费](/billing/managing-billing-for-github-actions/about-billing-for-github-actions)”。 +默认情况下,每次创建或更新预生成或推送到启用预生成的分支时,都会触发 {% data variables.product.prodname_actions %} 工作流。与其他工作流一样,虽然预生成工作流正在运行,但它们会消耗帐户中包含的一些 Actions 分钟数(如果有),或者它们会产生 Actions 分钟费用。有关 Actions 分钟定价的详细信息,请参阅“[关于 {% data variables.product.prodname_actions %} 的计费](/billing/managing-billing-for-github-actions/about-billing-for-github-actions)”。 -除了 {% data variables.product.prodname_actions %} 分钟数,还将针对与给定存储库和区域的每个预生成配置关联的预生成的存储计费。 预生成的存储按与 codespace 存储相同的费率计费。 \ No newline at end of file +除了 {% data variables.product.prodname_actions %} 分钟数,还将针对与给定存储库和区域的每个预生成配置关联的预生成的存储计费。预生成的存储按与 codespace 存储相同的费率计费。 \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/codespaces/codespaces-are-personal.md b/translations/zh-CN/data/reusables/codespaces/codespaces-are-personal.md index d4e37112f364..459ed3b3c7d6 100644 --- a/translations/zh-CN/data/reusables/codespaces/codespaces-are-personal.md +++ b/translations/zh-CN/data/reusables/codespaces/codespaces-are-personal.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145098749" --- -您创建的每个代码空间只有您才可以使用。 其他任何人都不能在您的代码空间中工作。 +您创建的每个代码空间只有您才可以使用。其他任何人都不能在您的代码空间中工作。 diff --git a/translations/zh-CN/data/reusables/codespaces/codespaces-billing.md b/translations/zh-CN/data/reusables/codespaces/codespaces-billing.md index 93a34628ab0a..18940fda2399 100644 --- a/translations/zh-CN/data/reusables/codespaces/codespaces-billing.md +++ b/translations/zh-CN/data/reusables/codespaces/codespaces-billing.md @@ -9,9 +9,9 @@ ms.locfileid: "147111120" {% data variables.product.prodname_codespaces %} 根据其计算和存储使用情况按美元计费。 ### 计算计算使用情况 -计算使用情况定义为 {% data variables.product.prodname_github_codespaces %} 实例处于活动状态的运行时间总分钟数。 计算使用情况通过将所有 codespace 使用的实际分钟数相加来计算。 这些总数每天报告给计费服务,并按月计费。 +计算使用情况定义为 {% data variables.product.prodname_github_codespaces %} 实例处于活动状态的运行时间总分钟数。计算使用情况通过将所有 codespace 使用的实际分钟数相加来计算。这些总数每天报告给计费服务,并按月计费。 -运行时间通过停止 codespace 进行控制,可在开发人员指定的非活动期之后手动或自动完成。 有关详细信息,请参阅[关闭或停止 codespace](/codespaces/getting-started/deep-dive#closing-or-stopping-your-codespace)。 +运行时间通过停止 codespace 进行控制,可在开发人员指定的非活动期之后手动或自动完成。有关详细信息,请参阅[关闭或停止 codespace](/codespaces/getting-started/deep-dive#closing-or-stopping-your-codespace)。 ### 计算存储使用情况 -出于 {% data variables.product.prodname_github_codespaces %} 计费目的,这包括你帐户中所有 codespace 使用的所有存储空间。 这包括 codespace 使用的所有文件,例如克隆的存储库、配置文件和扩展等。 这些总数每天报告给计费服务,并按月计费。 到月底,{% data variables.product.prodname_dotcom %} 会将您的存储量舍入到最接近的 MB。 +出于 {% data variables.product.prodname_github_codespaces %} 计费目的,这包括你帐户中所有 codespace 使用的所有存储空间。这包括 codespace 使用的所有文件,例如克隆的存储库、配置文件和扩展等。这些总数每天报告给计费服务,并按月计费。到月底,{% data variables.product.prodname_dotcom %} 会将您的存储量舍入到最接近的 MB。 diff --git a/translations/zh-CN/data/reusables/codespaces/codespaces-disabling-org-billing.md b/translations/zh-CN/data/reusables/codespaces/codespaces-disabling-org-billing.md index 7d257f1acec6..852a66f07a0f 100644 --- a/translations/zh-CN/data/reusables/codespaces/codespaces-disabling-org-billing.md +++ b/translations/zh-CN/data/reusables/codespaces/codespaces-disabling-org-billing.md @@ -8,6 +8,6 @@ ms.locfileid: "147677225" --- {% note %} -注意:如果为组织禁用计费 codespace 使用,则可以作为个人用户创建 codespace,并且可以克隆组织中的存储库的任何人都可以为该存储库创建 codespace。 但是,这不会对组织产生任何费用。 有关限制存储库访问的信息,请参阅“[管理有权访问存储库的团队和人员](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)”。 +注意:如果为组织禁用计费 codespace 使用,则可以作为个人用户创建 codespace,并且可以克隆组织中的存储库的任何人都可以为该存储库创建 codespace。但是,这不会对组织产生任何费用。有关限制存储库访问的信息,请参阅“[管理有权访问存储库的团队和人员](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository)”。 {% endnote %} \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/codespaces/codespaces-machine-type-availability.md b/translations/zh-CN/data/reusables/codespaces/codespaces-machine-type-availability.md index 2d1c945b316e..fe70412ba0e9 100644 --- a/translations/zh-CN/data/reusables/codespaces/codespaces-machine-type-availability.md +++ b/translations/zh-CN/data/reusables/codespaces/codespaces-machine-type-availability.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "147882881" --- -可供选择的计算机类型可能会受为组织配置的策略或存储库的计算机类型最低规范的限制。 有关详细信息,请参阅“[限制对计算机类型的访问](/codespaces/managing-codespaces-for-your-organization/restricting-access-to-machine-types)”和“[为代码空间计算机设置最低规范](/codespaces/setting-up-your-project-for-codespaces/setting-a-minimum-specification-for-codespace-machines)”。 +可供选择的计算机类型可能会受为组织配置的策略或存储库的计算机类型最低规范的限制。有关详细信息,请参阅“[限制对计算机类型的访问](/codespaces/managing-codespaces-for-your-organization/restricting-access-to-machine-types)”和“[为代码空间计算机设置最低规范](/codespaces/setting-up-your-project-for-codespaces/setting-a-minimum-specification-for-codespace-machines)”。 diff --git a/translations/zh-CN/data/reusables/codespaces/codespaces-machine-types.md b/translations/zh-CN/data/reusables/codespaces/codespaces-machine-types.md index 9ab960d4cd85..1fd224dd2e17 100644 --- a/translations/zh-CN/data/reusables/codespaces/codespaces-machine-types.md +++ b/translations/zh-CN/data/reusables/codespaces/codespaces-machine-types.md @@ -6,6 +6,6 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147111106" --- -通常,你可以在选择的远程机器上运行 codespace,从 2 核到 32 核。 每种类型都有不同的资源水平和不同的计费等级。 有关信息,请参阅“[关于 {% data variables.product.prodname_github_codespaces %} 的计费](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces)”。 +通常,你可以在选择的远程机器上运行 codespace,从 2 核到 32 核。每种类型都有不同的资源水平和不同的计费等级。有关信息,请参阅“[关于 {% data variables.product.prodname_github_codespaces %} 的计费](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces)”。 默认情况下,创建 codespace 时将使用具有最低有效资源的计算机类型。 diff --git a/translations/zh-CN/data/reusables/codespaces/codespaces-policy-targets.md b/translations/zh-CN/data/reusables/codespaces/codespaces-policy-targets.md index 43d6be699010..229e2903033d 100644 --- a/translations/zh-CN/data/reusables/codespaces/codespaces-policy-targets.md +++ b/translations/zh-CN/data/reusables/codespaces/codespaces-policy-targets.md @@ -7,7 +7,7 @@ ms.lasthandoff: 09/05/2022 ms.locfileid: "145098178" --- 1. 在“Change policy target(更改策略目标)”区域中,单击下拉按钮。 -1. 选择“所有存储库”或“所选存储库”以确定此策略将应用到的存储库 。 +1. 选择“所有存储库”或“所选存储库”以确定此策略将应用到的存储库。 1. 如果选择“选定的存储库”: 1. 单击 {% octicon "gear" aria-label="The settings icon" %}。 diff --git a/translations/zh-CN/data/reusables/codespaces/command-palette-container.md b/translations/zh-CN/data/reusables/codespaces/command-palette-container.md index 73f4940a26ab..9fc2187334f3 100644 --- a/translations/zh-CN/data/reusables/codespaces/command-palette-container.md +++ b/translations/zh-CN/data/reusables/codespaces/command-palette-container.md @@ -6,6 +6,6 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "147076700" --- -1. 访问 {% data variables.product.prodname_vscode_command_palette %} (Shift+Command+P (Mac) / Ctrl+Shift+P (Windows/Linux)),然后开始键入“开发容器”。 选择“代码空间: 添加开发容器配置文件...”。 +1. 访问 {% data variables.product.prodname_vscode_command_palette %} (Shift+Command+P (Mac) / Ctrl+Shift+P (Windows/Linux)),然后开始键入“开发容器”。选择“代码空间:添加开发容器配置文件...”。 - ![{% data variables.product.prodname_vscode_command_palette %} 中的“代码空间: 添加开发容器配置文件...”](/assets/images/help/codespaces/add-prebuilt-container-command.png) + ![{% data variables.product.prodname_vscode_command_palette %} 中的“代码空间:添加开发容器配置文件...”](/assets/images/help/codespaces/add-prebuilt-container-command.png) diff --git a/translations/zh-CN/data/reusables/codespaces/committing-link-to-procedure.md b/translations/zh-CN/data/reusables/codespaces/committing-link-to-procedure.md index 9c0676964c47..76aae0ca2e4d 100644 --- a/translations/zh-CN/data/reusables/codespaces/committing-link-to-procedure.md +++ b/translations/zh-CN/data/reusables/codespaces/committing-link-to-procedure.md @@ -6,6 +6,6 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145149394" --- -在对代码空间进行更改(无论是添加新代码还是更改配置)之后,您需要提交更改。 将更改提交到仓库可确保从此仓库创建代码空间的其他任何人都具有相同的配置。 这也意味着你所做的任何自定义,例如添加 {% data variables.product.prodname_vscode_shortname %} 扩展,都会显示给所有用户。 +在对代码空间进行更改(无论是添加新代码还是更改配置)之后,您需要提交更改。将更改提交到仓库可确保从此仓库创建代码空间的其他任何人都具有相同的配置。这也意味着你所做的任何自定义,例如添加 {% data variables.product.prodname_vscode_shortname %} 扩展,都会显示给所有用户。 有关详细信息,请参阅“[在 codespace 中使用源代码管理](/codespaces/developing-in-codespaces/using-source-control-in-your-codespace#committing-your-changes)”。 diff --git a/translations/zh-CN/data/reusables/codespaces/connect-to-codespace-from-vscode.md b/translations/zh-CN/data/reusables/codespaces/connect-to-codespace-from-vscode.md index 706d6adcf041..40a39bd874b2 100644 --- a/translations/zh-CN/data/reusables/codespaces/connect-to-codespace-from-vscode.md +++ b/translations/zh-CN/data/reusables/codespaces/connect-to-codespace-from-vscode.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145148734" --- -可以直接从 {% data variables.product.prodname_vscode_shortname %} 连接到你的 codespace。 有关详细信息,请参阅“[在 {% data variables.product.prodname_vscode_shortname %} 中使用 codespace](/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code)”。 +可以直接从 {% data variables.product.prodname_vscode_shortname %} 连接到你的 codespace。有关详细信息,请参阅“[在 {% data variables.product.prodname_vscode_shortname %} 中使用 codespace](/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code)”。 diff --git a/translations/zh-CN/data/reusables/codespaces/contact-support.md b/translations/zh-CN/data/reusables/codespaces/contact-support.md index 74648a4f2839..ac79edaa44dd 100644 --- a/translations/zh-CN/data/reusables/codespaces/contact-support.md +++ b/translations/zh-CN/data/reusables/codespaces/contact-support.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145098166" --- -可能需要联系支持人员。 有关详细信息,请参阅“[使用支持](/codespaces/troubleshooting/working-with-support-for-codespaces)”。 +可能需要联系支持人员。有关详细信息,请参阅“[使用支持](/codespaces/troubleshooting/working-with-support-for-codespaces)”。 diff --git a/translations/zh-CN/data/reusables/codespaces/exporting-changes.md b/translations/zh-CN/data/reusables/codespaces/exporting-changes.md index 46a94526d882..98cdf457758e 100644 --- a/translations/zh-CN/data/reusables/codespaces/exporting-changes.md +++ b/translations/zh-CN/data/reusables/codespaces/exporting-changes.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145098731" --- -如果达到支出限制,你将无法再创建或恢复 codespace。 你仍然可以[将任何正在进行的更改导出到新分支](/codespaces/troubleshooting/exporting-changes-to-a-branch)。 +如果达到支出限制,你将无法再创建或恢复 codespace。你仍然可以[将任何正在进行的更改导出到新分支](/codespaces/troubleshooting/exporting-changes-to-a-branch)。 diff --git a/translations/zh-CN/data/reusables/codespaces/max-number-codespaces.md b/translations/zh-CN/data/reusables/codespaces/max-number-codespaces.md index 314d077d9726..d2c6e7d17fbc 100644 --- a/translations/zh-CN/data/reusables/codespaces/max-number-codespaces.md +++ b/translations/zh-CN/data/reusables/codespaces/max-number-codespaces.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/09/2022 ms.locfileid: "147876055" --- -可以创建的 codespace 数量和可以同时运行的 codespace 数量受到限制。 这些限制因多种因素而异。 如果达到最大 codespace 数并尝试创建另一个 codespace,则会显示一条消息,告知你必须删除现有 codespace,然后才能创建新的 codespace。 \ No newline at end of file +可以创建的 codespace 数量和可以同时运行的 codespace 数量受到限制。这些限制因多种因素而异。如果达到最大 codespace 数并尝试创建另一个 codespace,则会显示一条消息,告知你必须删除现有 codespace,然后才能创建新的 codespace。 \ No newline at end of file diff --git a/translations/zh-CN/data/reusables/codespaces/port-visibility-settings.md b/translations/zh-CN/data/reusables/codespaces/port-visibility-settings.md index 9d9312be8484..da1736807e14 100644 --- a/translations/zh-CN/data/reusables/codespaces/port-visibility-settings.md +++ b/translations/zh-CN/data/reusables/codespaces/port-visibility-settings.md @@ -8,6 +8,6 @@ ms.locfileid: "145098160" --- 有三种可见性设置: -* `private` - 仅对你可见。 这是转发端口时的默认设置。 +* `private` - 仅对你可见。这是转发端口时的默认设置。 * `org` - 对拥有存储库的组织成员可见。 * `public` - 对知道 URL 和端口号的任何人可见。 diff --git a/translations/zh-CN/data/reusables/codespaces/prebuilds-permission-authorization.md b/translations/zh-CN/data/reusables/codespaces/prebuilds-permission-authorization.md index 16095fe39785..3062002b6dbc 100644 --- a/translations/zh-CN/data/reusables/codespaces/prebuilds-permission-authorization.md +++ b/translations/zh-CN/data/reusables/codespaces/prebuilds-permission-authorization.md @@ -6,13 +6,13 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147431597" --- - 如果存储库的开发容器配置指定了访问其他存储库的权限,你将看到一个授权页面。 有关如何在 `devcontainer.json` 文件中指定此权限的详细信息,请参阅“[管理对 codespace 中其他存储库的访问](/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces)”。 + 如果存储库的开发容器配置指定了访问其他存储库的权限,你将看到一个授权页面。有关如何在 `devcontainer.json` 文件中指定此权限的详细信息,请参阅“[管理对 codespace 中其他存储库的访问](/codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces)”。 单击 {% octicon "chevron-down" aria-label="The expand down icon" %} 查看请求权限的详细信息。 ![预生成的授权页面的屏幕截图](/assets/images/help/codespaces/prebuild-authorization-page.png) - 单击“授权并继续”,授予这些权限来创建预生成。 另外,可以单击“在未经授权的情况下继续”,但如果这样做,从生成的预生成创建的 codespace 可能无法正常工作。 + 单击“授权并继续”,授予这些权限来创建预生成。另外,可以单击“在未经授权的情况下继续”,但如果这样做,从生成的预生成创建的 codespace 可能无法正常工作。 {% note %} diff --git a/translations/zh-CN/data/reusables/codespaces/rebuild-reason.md b/translations/zh-CN/data/reusables/codespaces/rebuild-reason.md index c6a1186fff9f..4a73c4518178 100644 --- a/translations/zh-CN/data/reusables/codespaces/rebuild-reason.md +++ b/translations/zh-CN/data/reusables/codespaces/rebuild-reason.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147060992" --- -在代码空间内进行重建可确保在将更改提交到仓库之前,更改能够按预期工作。 如果某些问题导致了故障,您将进入带有恢复容器的代码空间中,您可以从该容器进行重建以继续调整容器。 +在代码空间内进行重建可确保在将更改提交到仓库之前,更改能够按预期工作。如果某些问题导致了故障,您将进入带有恢复容器的代码空间中,您可以从该容器进行重建以继续调整容器。 diff --git a/translations/zh-CN/data/reusables/codespaces/restrict-port-visibility.md b/translations/zh-CN/data/reusables/codespaces/restrict-port-visibility.md index 99adb5da62a4..8112ba72f398 100644 --- a/translations/zh-CN/data/reusables/codespaces/restrict-port-visibility.md +++ b/translations/zh-CN/data/reusables/codespaces/restrict-port-visibility.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "147061536" --- -组织所有者可以限制公开或在组织内提供转发端口的能力。 有关详细信息,请参阅“[限制转发端口的可见性](/codespaces/managing-codespaces-for-your-organization/restricting-the-visibility-of-forwarded-ports)”。 +组织所有者可以限制公开或在组织内提供转发端口的能力。有关详细信息,请参阅“[限制转发端口的可见性](/codespaces/managing-codespaces-for-your-organization/restricting-the-visibility-of-forwarded-ports)”。 diff --git a/translations/zh-CN/data/reusables/codespaces/review-pr.md b/translations/zh-CN/data/reusables/codespaces/review-pr.md index 676554ba141e..9957cd4cd780 100644 --- a/translations/zh-CN/data/reusables/codespaces/review-pr.md +++ b/translations/zh-CN/data/reusables/codespaces/review-pr.md @@ -7,11 +7,11 @@ ms.lasthandoff: 09/05/2022 ms.locfileid: "145066982" --- 1. 在代码空间中打开拉取请求,如“[打开拉取请求](/codespaces/developing-in-codespaces/using-codespaces-for-pull-requests#opening-a-pull-request-in-codespaces)”中所述。 -2. 在活动栏中,单击“GitHub 拉取请求”视图。 仅当在代码空间中打开拉取请求时,才会显示此视图。 +2. 在活动栏中,单击“GitHub 拉取请求”视图。仅当在代码空间中打开拉取请求时,才会显示此视图。 ![用于在代码空间中打开 PR 的选项](/assets/images/help/codespaces/github-pr-view.png) 3. 若要查看特定文件,请单击侧栏中的“打开文件”图标。 ![用于在代码空间中打开 PR 的选项](/assets/images/help/codespaces/changes-in-files.png) -4. 若要添审阅注释,请单击行号旁边的 + 图标。 键入审阅注释,然后单击“开始审阅”。 +4. 若要添审阅注释,请单击行号旁边的 + 图标。键入审阅注释,然后单击“开始审阅”。 ![用于在代码空间中打开 PR 的选项](/assets/images/help/codespaces/start-review.png) 5. 添加完审阅注释后,你可以从侧栏中选择提交评论、批准更改或请求更改。 ![用于在代码空间中打开 PR 的选项](/assets/images/help/codespaces/submit-review.png) diff --git a/translations/zh-CN/data/reusables/codespaces/secret-precedence.md b/translations/zh-CN/data/reusables/codespaces/secret-precedence.md index 72c8046fc763..a6cd08c68298 100644 --- a/translations/zh-CN/data/reusables/codespaces/secret-precedence.md +++ b/translations/zh-CN/data/reusables/codespaces/secret-precedence.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "147881954" --- -如果具有相同名称的机密存在于多个级别,则级别最低的机密优先。 例如,如果组织级别密码的名称与仓库级别的密码相同,则仓库级别的密码优先。 +如果具有相同名称的机密存在于多个级别,则级别最低的机密优先。例如,如果组织级别密码的名称与仓库级别的密码相同,则仓库级别的密码优先。 diff --git a/translations/zh-CN/data/reusables/codespaces/secrets-naming.md b/translations/zh-CN/data/reusables/codespaces/secrets-naming.md index 5fe493b4ad65..9caeb636acb5 100644 --- a/translations/zh-CN/data/reusables/codespaces/secrets-naming.md +++ b/translations/zh-CN/data/reusables/codespaces/secrets-naming.md @@ -8,7 +8,7 @@ ms.locfileid: "145130208" --- 以下规则适用于密码名称: -* 密钥名称只能包含字母数字字符(`[a-z]`、`[A-Z]`、`[0-9]`)或下划线 (`_`)。 不允许空格。 +* 密钥名称只能包含字母数字字符(`[a-z]`、`[A-Z]`、`[0-9]`)或下划线 (`_`)。不允许空格。 * 机密名称不得以 `GITHUB_` 前缀开头。 * 密码名称不能以数字开头。 * 机密名称不区分大小写。 diff --git a/translations/zh-CN/data/reusables/codespaces/setup-custom-devcontainer.md b/translations/zh-CN/data/reusables/codespaces/setup-custom-devcontainer.md index 051877527d1f..386e445c392f 100644 --- a/translations/zh-CN/data/reusables/codespaces/setup-custom-devcontainer.md +++ b/translations/zh-CN/data/reusables/codespaces/setup-custom-devcontainer.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/12/2022 ms.locfileid: "147060294" --- -若要将存储库设置为使用自定义开发容器,需要创建一个或多个 `devcontainer.json` 文件。 可以在 {% data variables.product.prodname_vscode %} 中从模板中添加这些文件,也可以自行编写。 有关开发容器配置的详细信息,请参阅“[开发容器简介](/codespaces/setting-up-your-codespace/configuring-codespaces-for-your-project)”。 +若要将存储库设置为使用自定义开发容器,需要创建一个或多个 `devcontainer.json` 文件。可以在 {% data variables.product.prodname_vscode %} 中从模板中添加这些文件,也可以自行编写。有关开发容器配置的详细信息,请参阅“[开发容器简介](/codespaces/setting-up-your-codespace/configuring-codespaces-for-your-project)”。 diff --git a/translations/zh-CN/data/reusables/codespaces/source-control-commit-changes.md b/translations/zh-CN/data/reusables/codespaces/source-control-commit-changes.md index 2307c2e992aa..a5b0d5ffb59c 100644 --- a/translations/zh-CN/data/reusables/codespaces/source-control-commit-changes.md +++ b/translations/zh-CN/data/reusables/codespaces/source-control-commit-changes.md @@ -7,7 +7,7 @@ ms.lasthandoff: 09/10/2022 ms.locfileid: "145129978" --- {% data reusables.codespaces.source-control-display-dark %} -1. 若要暂存更改,请单击已更改文件旁边的 +,如果你更改了多个文件并希望全部暂存,请单击“更改”旁边的按钮 。 +1. 若要暂存更改,请单击已更改文件旁边的 +,如果你更改了多个文件并希望全部暂存,请单击“更改”旁边的按钮。 ![突出显示的暂存按钮的源代码管理侧栏](/assets/images/help/codespaces/codespaces-commit-stage.png) 1. 输入提交消息,描述您所做的更改。 ![包含提交消息的源代码管理侧栏](/assets/images/help/codespaces/codespaces-commit-commit-message.png) diff --git a/translations/zh-CN/data/reusables/codespaces/source-control-pull-request.md b/translations/zh-CN/data/reusables/codespaces/source-control-pull-request.md index 036e4e9fdc50..97c812da3d5c 100644 --- a/translations/zh-CN/data/reusables/codespaces/source-control-pull-request.md +++ b/translations/zh-CN/data/reusables/codespaces/source-control-pull-request.md @@ -8,6 +8,6 @@ ms.locfileid: "145129973" --- 1. 提交存储库本地副本的更改后,单击“创建拉取请求”图标。 ![突出显示暂存按钮的源代码控制侧边栏](/assets/images/help/codespaces/codespaces-commit-pr-button.png) -1. 检查作为合并来源的本地分支和仓库以及作为合并目标的远程分支和仓库是否正确。 然后为拉取请求提供标题和描述。 +1. 检查作为合并来源的本地分支和仓库以及作为合并目标的远程分支和仓库是否正确。然后为拉取请求提供标题和描述。 ![突出显示暂存按钮的源代码控制侧边栏](/assets/images/help/codespaces/codespaces-commit-pr.png) 1. 单击“创建”。 diff --git a/translations/zh-CN/data/reusables/codespaces/use-visual-studio-features.md b/translations/zh-CN/data/reusables/codespaces/use-visual-studio-features.md index f1ff167d50e7..2a57eedf802e 100644 --- a/translations/zh-CN/data/reusables/codespaces/use-visual-studio-features.md +++ b/translations/zh-CN/data/reusables/codespaces/use-visual-studio-features.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145148726" --- -使用 {% data variables.product.prodname_vscode_shortname %} 在 codespace 中开发时,你可以编辑代码、调试和使用 Git 命令。 有关详细信息,请参阅 [{% data variables.product.prodname_vscode_shortname %} 文档](https://code.visualstudio.com/docs)。 +使用 {% data variables.product.prodname_vscode_shortname %} 在 codespace 中开发时,你可以编辑代码、调试和使用 Git 命令。有关详细信息,请参阅 [{% data variables.product.prodname_vscode_shortname %} 文档](https://code.visualstudio.com/docs)。 diff --git a/translations/zh-CN/data/reusables/codespaces/vscode-settings-order.md b/translations/zh-CN/data/reusables/codespaces/vscode-settings-order.md index ced5bc5a3146..9c0648ffe111 100644 --- a/translations/zh-CN/data/reusables/codespaces/vscode-settings-order.md +++ b/translations/zh-CN/data/reusables/codespaces/vscode-settings-order.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "147876134" --- -配置 {% data variables.product.prodname_vscode_shortname %} 的编辑器设置时,有三个可用的范围:工作区、远程 [Codespaces] 和用户 。 如果某个设置在多个范围内定义,则优先顺序依次为“工作区”设置、“远程 [Codespaces]”、“用户” 。 +配置 {% data variables.product.prodname_vscode_shortname %} 的编辑器设置时,有三个可用的范围:工作区、远程 [Codespaces] 和用户。如果某个设置在多个范围内定义,则优先顺序依次为“工作区”设置、“远程 [Codespaces]”、“用户” 。 diff --git a/translations/zh-CN/data/reusables/command_line/provide-an-access-token.md b/translations/zh-CN/data/reusables/command_line/provide-an-access-token.md index d54a71437c40..49f46865a804 100644 --- a/translations/zh-CN/data/reusables/command_line/provide-an-access-token.md +++ b/translations/zh-CN/data/reusables/command_line/provide-an-access-token.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129947" --- -{% ifversion fpt or ghec %}如果要访问使用 SAML SSO 的组织,在进行身份验证之前,还必须授权个人访问令牌访问该组织。 有关详细信息,请参阅“[关于使用 SAML 单一登录进行身份验证](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)”和“[授权用于 SAML 单一登录的个人访问令牌](/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on)。”{% endif %} +{% ifversion fpt or ghec %}如果要访问使用 SAML SSO 的组织,在进行身份验证之前,还必须授权个人访问令牌访问该组织。有关详细信息,请参阅“[关于使用 SAML 单一登录进行身份验证](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)”和“[授权用于 SAML 单一登录的个人访问令牌](/github/authenticating-to-github/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on)。”{% endif %} diff --git a/translations/zh-CN/data/reusables/command_line/start_ssh_agent.md b/translations/zh-CN/data/reusables/command_line/start_ssh_agent.md index 3b27e0ee608d..257bef05ec32 100644 --- a/translations/zh-CN/data/reusables/command_line/start_ssh_agent.md +++ b/translations/zh-CN/data/reusables/command_line/start_ssh_agent.md @@ -13,4 +13,4 @@ ms.locfileid: "145129943" > Agent pid 59566 ``` - 根据您的环境,您可能需要使用不同的命令。 例如,在启动 ssh-agent 之前,你可能需要通过运行 `sudo -s -H` 根访问,或者可能需要使用 `exec ssh-agent bash` 或 `exec ssh-agent zsh` 运行 ssh-agent。 + 根据您的环境,您可能需要使用不同的命令。例如,在启动 ssh-agent 之前,你可能需要通过运行 `sudo -s -H` 根访问,或者可能需要使用 `exec ssh-agent bash` 或 `exec ssh-agent zsh` 运行 ssh-agent。 diff --git a/translations/zh-CN/data/reusables/command_line/use_with_support_only.md b/translations/zh-CN/data/reusables/command_line/use_with_support_only.md index e618b43116a6..449cf92a4307 100644 --- a/translations/zh-CN/data/reusables/command_line/use_with_support_only.md +++ b/translations/zh-CN/data/reusables/command_line/use_with_support_only.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129937" --- -在没有来自 [{% data variables.contact.enterprise_support %}](/enterprise/admin/guides/enterprise-support/) 的指导下,请勿使用此命令。 不正确的使用可能造成损坏或数据丢失。 +在没有来自 [{% data variables.contact.enterprise_support %}](/enterprise/admin/guides/enterprise-support/) 的指导下,请勿使用此命令。不正确的使用可能造成损坏或数据丢失。 diff --git a/translations/zh-CN/data/reusables/commits/about-commits.md b/translations/zh-CN/data/reusables/commits/about-commits.md index 32439463eee1..b83851c61b3b 100644 --- a/translations/zh-CN/data/reusables/commits/about-commits.md +++ b/translations/zh-CN/data/reusables/commits/about-commits.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145129935" --- -类似于保存已经编辑的文件,提交会记录对分支中一个或多个文件的更改。 Git 将为每个提交分配唯一的 ID,称为 SHA 或哈希,用于识别: +类似于保存已经编辑的文件,提交会记录对分支中一个或多个文件的更改。Git 将为每个提交分配唯一的 ID,称为 SHA 或哈希,用于识别: - 具体的更改 - 进行更改的时间 diff --git a/translations/zh-CN/data/reusables/community/report-content.md b/translations/zh-CN/data/reusables/community/report-content.md index 7b8d73f7a72c..80f76f06d150 100644 --- a/translations/zh-CN/data/reusables/community/report-content.md +++ b/translations/zh-CN/data/reusables/community/report-content.md @@ -6,9 +6,9 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/12/2022 ms.locfileid: "145129929" --- -1. 你可能会看到“向存储库管理员报告”或“向 {% data variables.product.prodname_dotcom %} 支持报告滥用情况”的选项 。 如果没有,请跳至下一步。 +1. 你可能会看到“向存储库管理员报告”或“向 {% data variables.product.prodname_dotcom %} 支持报告滥用情况”的选项。如果没有,请跳至下一步。 - 要向 {% data variables.product.prodname_dotcom %} 支持报告内容,请单击“向 {% data variables.product.prodname_dotcom %} 支持报告滥用情况”。 - - 要向存储库维护员报告内容,请使用“选择原因”下拉菜单选择原因,然后单击“向存储库管理员报告” 。 您的报告已提交。 + - 要向存储库维护员报告内容,请使用“选择原因”下拉菜单选择原因,然后单击“向存储库管理员报告” 。您的报告已提交。 ![“报告内容”模式](/assets/images/help/repository/report-content-modal.png) 2. 完成“报告内容”表单,然后单击“发送请求”。 ![“报告内容”表单](/assets/images/help/repository/report-content-to-support-form.png) diff --git a/translations/zh-CN/data/reusables/community/tools-for-moderating.md b/translations/zh-CN/data/reusables/community/tools-for-moderating.md index a6f1106e1097..68829a43f7e5 100644 --- a/translations/zh-CN/data/reusables/community/tools-for-moderating.md +++ b/translations/zh-CN/data/reusables/community/tools-for-moderating.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145129926" --- -当您的社区发生破坏行为时,{% data variables.product.prodname_dotcom %} 提供应用行为守则及缓和冲突的工具。 例如,您可以锁定对话来平息激烈的交锋。 有关详细信息,请参阅“[缓和评论和对话](/communities/moderating-comments-and-conversations)”。 +当您的社区发生破坏行为时,{% data variables.product.prodname_dotcom %} 提供应用行为守则及缓和冲突的工具。例如,您可以锁定对话来平息激烈的交锋。有关详细信息,请参阅“[缓和评论和对话](/communities/moderating-comments-and-conversations)”。 diff --git a/translations/zh-CN/data/reusables/copilot/alternative-suggestions.md b/translations/zh-CN/data/reusables/copilot/alternative-suggestions.md index 94787e2b6ced..02c64eb1fd2e 100644 --- a/translations/zh-CN/data/reusables/copilot/alternative-suggestions.md +++ b/translations/zh-CN/data/reusables/copilot/alternative-suggestions.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/12/2022 ms.locfileid: "147079555" --- -对于任何给定的输入,{% data variables.product.prodname_copilot %} 可以提供多个建议。 可以选择要使用的建议,或拒绝所有建议。 +对于任何给定的输入,{% data variables.product.prodname_copilot %} 可以提供多个建议。可以选择要使用的建议,或拒绝所有建议。 diff --git a/translations/zh-CN/data/reusables/copilot/copilot-prerequisites.md b/translations/zh-CN/data/reusables/copilot/copilot-prerequisites.md index fa77e0882bdd..b2560849d8dc 100644 --- a/translations/zh-CN/data/reusables/copilot/copilot-prerequisites.md +++ b/translations/zh-CN/data/reusables/copilot/copilot-prerequisites.md @@ -7,4 +7,4 @@ ms.lasthandoff: 09/11/2022 ms.locfileid: "147881946" --- - {% data variables.product.prodname_copilot %} 供经过验证的学生和开放源代码维护者免费使用。 -- 如果你不是学生或开放源代码维护者,可以在一次性 60 天试用版中免费试用 {% data variables.product.prodname_copilot %}。 免费试用后,需要付费订阅才能继续使用。 必须提供账单信息才能开始免费试用。 有关详细信息,请参阅“[关于 {% data variables.product.prodname_copilot %} 的计费](/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)”。 +- 如果你不是学生或开放源代码维护者,可以在一次性 60 天试用版中免费试用 {% data variables.product.prodname_copilot %}。免费试用后,需要付费订阅才能继续使用。必须提供账单信息才能开始免费试用。有关详细信息,请参阅“[关于 {% data variables.product.prodname_copilot %} 的计费](/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)”。 diff --git a/translations/zh-CN/data/reusables/copilot/dotcom-settings.md b/translations/zh-CN/data/reusables/copilot/dotcom-settings.md index 29edf89d54c4..218adbfac087 100644 --- a/translations/zh-CN/data/reusables/copilot/dotcom-settings.md +++ b/translations/zh-CN/data/reusables/copilot/dotcom-settings.md @@ -8,19 +8,19 @@ ms.locfileid: "147419743" --- ## 在 {% data variables.product.prodname_dotcom_the_website %} 上配置 {% data variables.product.prodname_copilot %} 设置 -在拥有处于活动状态的 {% data variables.product.prodname_copilot %} 试用版或订阅后,可以在 {% data variables.product.prodname_dotcom %} 上的 [{% data variables.product.prodname_copilot %} 设置](https://github.com/settings/copilot)中为你的个人帐户调整 {% data variables.product.prodname_copilot %} 设置。 无论在何处使用 {% data variables.product.prodname_copilot %},这些设置都适用。 可以配置 {% data variables.product.prodname_copilot %} 提供的建议,以及 {% data variables.product.company_short %} 使用你的遥测数据的方式。 +在拥有处于活动状态的 {% data variables.product.prodname_copilot %} 试用版或订阅后,可以在 {% data variables.product.prodname_dotcom %} 上的 [{% data variables.product.prodname_copilot %} 设置](https://github.com/settings/copilot)中为你的个人帐户调整 {% data variables.product.prodname_copilot %} 设置。无论在何处使用 {% data variables.product.prodname_copilot %},这些设置都适用。可以配置 {% data variables.product.prodname_copilot %} 提供的建议,以及 {% data variables.product.company_short %} 使用你的遥测数据的方式。 ## 启用或禁用重复检测 -{% data variables.product.prodname_copilot %} 包含筛选器,该筛选器用于检测与 {% data variables.product.prodname_dotcom %} 上的公共代码匹配的代码建议。 可以选择启用或禁用筛选器。 启用筛选器后,{% data variables.product.prodname_copilot %} 会根据 {% data variables.product.prodname_dotcom %} 上的公共代码检查代码建议及其周围约 150 个字符的代码。 如果存在匹配或接近匹配,不会向你显示建议。 +{% data variables.product.prodname_copilot %} 包含筛选器,该筛选器用于检测与 {% data variables.product.prodname_dotcom %} 上的公共代码匹配的代码建议。可以选择启用或禁用筛选器。启用筛选器后,{% data variables.product.prodname_copilot %} 会根据 {% data variables.product.prodname_dotcom %} 上的公共代码检查代码建议及其周围约 150 个字符的代码。如果存在匹配或接近匹配,不会向你显示建议。 {% data reusables.user-settings.access_settings %} {% data reusables.user-settings.copilot-settings %} -1. 在“与公共代码匹配的建议”下,选择下拉菜单,然后单击“允许”以允许与公共代码匹配的建议,或单击“阻止”以阻止与公共代码匹配的建议 。 +1. 在“与公共代码匹配的建议”下,选择下拉菜单,然后单击“允许”以允许与公共代码匹配的建议,或单击“阻止”以阻止与公共代码匹配的建议。 ![重复检测选项的屏幕截图](/assets/images/help/copilot/duplication-detection.png) {% data reusables.copilot.save-settings %} ## 启用或禁用遥测 -通过调整你的用户设置,你可以选择代码片段是否由 GitHub 收集和保留,并进一步通过 Microsoft 和 OpenAI 进行处理和共享。 有关 {% data variables.product.prodname_copilot %} 可能根据你的遥测设置收集的数据的更多信息,请参阅“[{% data variables.product.company_short %} 附加产品和功能条款](/free-pro-team@latest/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot)”以及“[{% data variables.product.prodname_copilot %} 隐私常见问题解答”](https://github.com/features/copilot/#faq-privacy)。 +通过调整你的用户设置,你可以选择代码片段是否由 GitHub 收集和保留,并进一步通过 Microsoft 和 OpenAI 进行处理和共享。有关 {% data variables.product.prodname_copilot %} 可能根据你的遥测设置收集的数据的更多信息,请参阅“[{% data variables.product.company_short %} 附加产品和功能条款](/free-pro-team@latest/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot)”以及“[{% data variables.product.prodname_copilot %} 隐私常见问题解答”](https://github.com/features/copilot/#faq-privacy)。 {% data reusables.user-settings.access_settings %} {% data reusables.user-settings.copilot-settings %} 1. 若要允许或阻止 {% data variables.product.prodname_dotcom %} 使用你的遥测数据,请选择或取消选择“允许 {% data variables.product.prodname_dotcom %} 使用我的代码片段进行产品改进”。 diff --git a/translations/zh-CN/data/reusables/copilot/enabling-disabling-in-jetbrains.md b/translations/zh-CN/data/reusables/copilot/enabling-disabling-in-jetbrains.md index 918517849f47..dca8d48c5284 100644 --- a/translations/zh-CN/data/reusables/copilot/enabling-disabling-in-jetbrains.md +++ b/translations/zh-CN/data/reusables/copilot/enabling-disabling-in-jetbrains.md @@ -8,9 +8,9 @@ ms.locfileid: "147079785" --- ## 启用或禁用 {% data variables.product.prodname_copilot %} -可从 JetBrains 启用或禁用 {% data variables.product.prodname_copilot %}。 JetBrains 窗口底部面板中的 {% data variables.product.prodname_copilot %} 状态图标指示 {% data variables.product.prodname_copilot %} 是启用还是禁用。 启用后,将突出显示图标。 禁用后,图标灰显。 +可从 JetBrains 启用或禁用 {% data variables.product.prodname_copilot %}。JetBrains 窗口底部面板中的 {% data variables.product.prodname_copilot %} 状态图标指示 {% data variables.product.prodname_copilot %} 是启用还是禁用。启用后,将突出显示图标。禁用后,图标灰显。 1. 若要启用或禁用 {% data variables.product.prodname_copilot %},请单击 JetBrains 窗口底部面板中的状态图标。 ![JetBrains 中状态图标的屏幕截图](/assets/images/help/copilot/status-icon-jetbrains.png) -2. 如果要禁用 {% data variables.product.prodname_copilot %},JetBrains 将询问是要全局禁用该功能,还是要禁用当前正在编辑的文件的语言。 若要全局禁用,请单击“禁用完成”。 也可单击当前正在编辑的文件语言的禁用完成。 +2. 如果要禁用 {% data variables.product.prodname_copilot %},JetBrains 将询问是要全局禁用该功能,还是要禁用当前正在编辑的文件的语言。若要全局禁用,请单击“禁用完成”。也可单击当前正在编辑的文件语言的禁用完成。 ![全局或为当前语言禁用 {% data variables.product.prodname_copilot %} 的选项的屏幕截图](/assets/images/help/copilot/disable-copilot-global-or-langugage-jetbrains.png) diff --git a/translations/zh-CN/data/reusables/copilot/enabling-or-disabling-in-vsc.md b/translations/zh-CN/data/reusables/copilot/enabling-or-disabling-in-vsc.md index 85550ff9689f..e9ad77d749bc 100644 --- a/translations/zh-CN/data/reusables/copilot/enabling-or-disabling-in-vsc.md +++ b/translations/zh-CN/data/reusables/copilot/enabling-or-disabling-in-vsc.md @@ -8,7 +8,7 @@ ms.locfileid: "147079574" --- ## 启用或禁用 {% data variables.product.prodname_copilot %} -可以在 {% data variables.product.prodname_vscode %} 中启用或禁用 {% data variables.product.prodname_copilot %}。 {% data variables.product.prodname_vscode %} 窗口底部面板中的 {% data variables.product.prodname_copilot %} 状态图标指示 {% data variables.product.prodname_copilot %} 是启用还是禁用。 启用后,图标的背景色将与状态栏颜色相匹配。 禁用后,图标的背景色将与状态栏颜色形成对比。 +可以在 {% data variables.product.prodname_vscode %} 中启用或禁用 {% data variables.product.prodname_copilot %}。 {% data variables.product.prodname_vscode %} 窗口底部面板中的 {% data variables.product.prodname_copilot %} 状态图标指示 {% data variables.product.prodname_copilot %} 是启用还是禁用。启用后,图标的背景色将与状态栏颜色相匹配。禁用后,图标的背景色将与状态栏颜色形成对比。 1. 若要启用或禁用 {% data variables.product.prodname_copilot %},请单击 {% data variables.product.prodname_vscode %} 窗口底部面板中的状态图标。 ![{% data variables.product.prodname_vscode %} 中状态图标的屏幕截图](/assets/images/help/copilot/status-icon-visual-studio-code.png) diff --git a/translations/zh-CN/data/reusables/copilot/enabling-or-disabling-vs.md b/translations/zh-CN/data/reusables/copilot/enabling-or-disabling-vs.md index fa349fdb411e..b149be6e7b41 100644 --- a/translations/zh-CN/data/reusables/copilot/enabling-or-disabling-vs.md +++ b/translations/zh-CN/data/reusables/copilot/enabling-or-disabling-vs.md @@ -8,7 +8,7 @@ ms.locfileid: "147079894" --- ## 启用或禁用 {% data variables.product.prodname_copilot %} -{% data variables.product.prodname_vs %} 窗口底部面板中的 {% data variables.product.prodname_copilot %} 状态图标指示 {% data variables.product.prodname_copilot %} 启用还是禁用。 启用后,图标的背景色将与状态栏颜色相匹配。 禁用后,将有一条对角线穿过它。 +{% data variables.product.prodname_vs %} 窗口底部面板中的 {% data variables.product.prodname_copilot %} 状态图标指示 {% data variables.product.prodname_copilot %} 启用还是禁用。启用后,图标的背景色将与状态栏颜色相匹配。禁用后,将有一条对角线穿过它。 1. 若要启用或禁用 {% data variables.product.prodname_copilot %},请单击 {% data variables.product.prodname_vs %} 窗口底部面板中的 {% data variables.product.prodname_copilot %} 图标。 ![Visual Studio 中编辑器边距的屏幕截图,其中突出显示 GitHub Copilot 图标](/assets/images/help/copilot/editor-margin-visual-studio.png) diff --git a/translations/zh-CN/data/reusables/copilot/install-copilot-in-neovim.md b/translations/zh-CN/data/reusables/copilot/install-copilot-in-neovim.md index 95b6c83b8d7b..94fc9a77d071 100644 --- a/translations/zh-CN/data/reusables/copilot/install-copilot-in-neovim.md +++ b/translations/zh-CN/data/reusables/copilot/install-copilot-in-neovim.md @@ -6,5 +6,5 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147079817" --- -1. 若要在 Neovim 中使用 {% data variables.product.prodname_copilot %},请安装 {% data variables.product.prodname_copilot %} 插件。 可以从插件管理器中安装此插件,也可以直接安装此插件。 - - 如果使用 vim-plug 或 packer.nvim 等插件管理器,请使用插件管理器安装 `github/copilot.vim`。 有关详细信息,请参阅插件管理器的文档。 例如,可以查看 [vim-plug](https://github.com/junegunn/vim-plug) 或 [packer.nvim](https://github.com/wbthomason/packer.nvim) 的文档。 +1. 若要在 Neovim 中使用 {% data variables.product.prodname_copilot %},请安装 {% data variables.product.prodname_copilot %} 插件。可以从插件管理器中安装此插件,也可以直接安装此插件。 + - 如果使用 vim-plug 或 packer.nvim 等插件管理器,请使用插件管理器安装 `github/copilot.vim`。有关详细信息,请参阅插件管理器的文档。例如,可以查看 [vim-plug](https://github.com/junegunn/vim-plug) 或 [packer.nvim](https://github.com/wbthomason/packer.nvim) 的文档。 diff --git a/translations/zh-CN/data/reusables/copilot/procedural-intro.md b/translations/zh-CN/data/reusables/copilot/procedural-intro.md index 1c9c9d067110..0d0a04b78c8b 100644 --- a/translations/zh-CN/data/reusables/copilot/procedural-intro.md +++ b/translations/zh-CN/data/reusables/copilot/procedural-intro.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147079810" --- -{% data variables.product.prodname_copilot %} 在编写代码时提供 AI 对程序员的自动完成样式的建议。 有关详细信息,请参阅“[关于 {% data variables.product.prodname_copilot %}](/copilot/overview-of-github-copilot/about-github-copilot)”。 +{% data variables.product.prodname_copilot %} 在编写代码时提供 AI 对程序员的自动完成样式的建议。有关详细信息,请参阅“[关于 {% data variables.product.prodname_copilot %}](/copilot/overview-of-github-copilot/about-github-copilot)”。 diff --git a/translations/zh-CN/data/reusables/copilot/signup-procedure.md b/translations/zh-CN/data/reusables/copilot/signup-procedure.md index b0a6d60b5742..7b3fe582bb67 100644 --- a/translations/zh-CN/data/reusables/copilot/signup-procedure.md +++ b/translations/zh-CN/data/reusables/copilot/signup-procedure.md @@ -22,4 +22,4 @@ ms.locfileid: "147079826" ![带有“保存并开始”按钮的 GitHub Copilot 设置屏幕截图](/assets/images/help/copilot/copilot-signup-preferences.png) - 可以稍后通过返回到 {% data variables.product.prodname_copilot %} 设置来更改这些首选项。 有关详细信息,请参阅“[在 Visual Studio Code 中配置 GitHub Copilot](/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code#configuring-github-copilot-settings-on-githubcom)”。 + 可以稍后通过返回到 {% data variables.product.prodname_copilot %} 设置来更改这些首选项。有关详细信息,请参阅“[在 Visual Studio Code 中配置 GitHub Copilot](/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code#configuring-github-copilot-settings-on-githubcom)”。 diff --git a/translations/zh-CN/data/reusables/copilot/suggestions-new-tab.md b/translations/zh-CN/data/reusables/copilot/suggestions-new-tab.md index 20c4703f0210..52a5977b38f6 100644 --- a/translations/zh-CN/data/reusables/copilot/suggestions-new-tab.md +++ b/translations/zh-CN/data/reusables/copilot/suggestions-new-tab.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147079765" --- -你可能不想获得 {% data variables.product.prodname_copilot %} 提供的任何初始建议。 可以使用键盘快捷方式来提示 {% data variables.product.prodname_copilot %} 在新选项卡中显示多个建议。 +你可能不想获得 {% data variables.product.prodname_copilot %} 提供的任何初始建议。可以使用键盘快捷方式来提示 {% data variables.product.prodname_copilot %} 在新选项卡中显示多个建议。 diff --git a/translations/zh-CN/data/reusables/dependabot/about-the-dependency-graph.md b/translations/zh-CN/data/reusables/dependabot/about-the-dependency-graph.md index 10f5024327de..40112dfd1b60 100644 --- a/translations/zh-CN/data/reusables/dependabot/about-the-dependency-graph.md +++ b/translations/zh-CN/data/reusables/dependabot/about-the-dependency-graph.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "147885546" --- -依赖项关系图是存储在存储库{% ifversion dependency-submission-api %} 中的清单和锁定文件的摘要,以及所有提交给使用依赖项提交 API(beta 版){% endif %} 的存储库的依赖关系。 对于每个存储库,它显示{% ifversion fpt or ghec %}: +依赖项关系图是存储在存储库{% ifversion dependency-submission-api %} 中的清单和锁定文件的摘要,以及所有提交给使用依赖项提交 API(beta 版){% endif %} 的存储库的依赖关系。对于每个存储库,它显示{% ifversion fpt or ghec %}: - 依赖项、它依赖的生态系统和包 - 依赖项、依赖于它的仓库和包{% else %} 依赖项,即它所依赖的生态系统和包。 {% data variables.product.product_name %} 不计算有关依赖项、存储库和依赖于存储库的包的信息。{% endif %} diff --git a/translations/zh-CN/data/reusables/dependabot/automated-tests-note.md b/translations/zh-CN/data/reusables/dependabot/automated-tests-note.md index 01742fb83af9..6c1e9869d07f 100644 --- a/translations/zh-CN/data/reusables/dependabot/automated-tests-note.md +++ b/translations/zh-CN/data/reusables/dependabot/automated-tests-note.md @@ -8,6 +8,6 @@ ms.locfileid: "145129914" --- {% note %} -注意:最好制定自动测试和验收流程,以便在合并拉取请求之前执行检查。 如果建议的升级版本包含额外的功能,或者更改会中断您的项目代码,这种做法尤其重要。 有关持续集成的详细信息,请参阅“[关于持续集成](/actions/building-and-testing-code-with-continuous-integration/about-continuous-integration)”。 +注意:最好制定自动测试和验收流程,以便在合并拉取请求之前执行检查。如果建议的升级版本包含额外的功能,或者更改会中断您的项目代码,这种做法尤其重要。有关持续集成的详细信息,请参阅“[关于持续集成](/actions/building-and-testing-code-with-continuous-integration/about-continuous-integration)”。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates-onboarding.md b/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates-onboarding.md index 81684c526736..e75f474b5581 100644 --- a/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates-onboarding.md +++ b/translations/zh-CN/data/reusables/dependabot/beta-security-and-version-updates-onboarding.md @@ -10,7 +10,7 @@ ms.locfileid: "145129911" {% note %} -注意:Dependabot 安全更新和版本更新目前可用于 {% data variables.product.prodname_ghe_cloud %},其测试版可用于 {% data variables.product.prodname_ghe_server %} 3.3。 有关如何启用 Dependabot 更新的说明,请[联系帐户管理团队](https://enterprise.github.com/contact)。 +注意:Dependabot 安全更新和版本更新目前可用于 {% data variables.product.prodname_ghe_cloud %},其测试版可用于 {% data variables.product.prodname_ghe_server %} 3.3。有关如何启用 Dependabot 更新的说明,请[联系帐户管理团队](https://enterprise.github.com/contact)。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/dependabot/default-labels.md b/translations/zh-CN/data/reusables/dependabot/default-labels.md index 3bc58ee542b0..80ce7bec35a7 100644 --- a/translations/zh-CN/data/reusables/dependabot/default-labels.md +++ b/translations/zh-CN/data/reusables/dependabot/default-labels.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145129898" --- -默认情况下,{% data variables.product.prodname_dependabot %} 会提出所有带有 `dependencies` 标签的拉取请求。 如果定义了多个包管理器,{% data variables.product.prodname_dependabot %} 在每个拉取请求上都会包含一个附加标签。 这表示拉取请求将更新的语言或生态系统,例如:`java` 表示 Gradle 更新,`submodules` 表示 git 子模块。 {% data variables.product.prodname_dependabot %} 将根据需要自动在您的仓库中创建这些默认标签。 +默认情况下,{% data variables.product.prodname_dependabot %} 会提出所有带有 `dependencies` 标签的拉取请求。如果定义了多个包管理器,{% data variables.product.prodname_dependabot %} 在每个拉取请求上都会包含一个附加标签。这表示拉取请求将更新的语言或生态系统,例如:`java` 表示 Gradle 更新,`submodules` 表示 git 子模块。 {% data variables.product.prodname_dependabot %} 将根据需要自动在您的仓库中创建这些默认标签。 diff --git a/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md b/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md index f3010d3af99f..cfef9831eb11 100644 --- a/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md +++ b/translations/zh-CN/data/reusables/dependabot/dependabot-alerts-dependency-graph-enterprise.md @@ -6,5 +6,5 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129893" --- -{% ifversion ghes or ghae %} 企业所有者可以为企业配置 {% ifversion ghes %}依赖项关系图和 {% endif %}{% data variables.product.prodname_dependabot_alerts %}。 有关详细信息,请参阅 {% ifversion ghes %}“[为企业启用依赖项关系图](/admin/code-security/managing-supply-chain-security-for-your-enterprise/enabling-the-dependency-graph-for-your-enterprise)和 {% endif %}“[为企业启用 {% data variables.product.prodname_dependabot %} ](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)”。 +{% ifversion ghes or ghae %} 企业所有者可以为企业配置 {% ifversion ghes %}依赖项关系图和 {% endif %}{% data variables.product.prodname_dependabot_alerts %}。有关详细信息,请参阅 {% ifversion ghes %}“[为企业启用依赖项关系图](/admin/code-security/managing-supply-chain-security-for-your-enterprise/enabling-the-dependency-graph-for-your-enterprise)和 {% endif %}“[为企业启用 {% data variables.product.prodname_dependabot %} ](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)”。 {% endif %} diff --git a/translations/zh-CN/data/reusables/dependabot/dependabot-tos.md b/translations/zh-CN/data/reusables/dependabot/dependabot-tos.md index 92823743b38d..3e59dac3eb2f 100644 --- a/translations/zh-CN/data/reusables/dependabot/dependabot-tos.md +++ b/translations/zh-CN/data/reusables/dependabot/dependabot-tos.md @@ -7,5 +7,5 @@ ms.lasthandoff: 09/11/2022 ms.locfileid: "147884849" --- {% ifversion fpt %} {% data variables.product.prodname_dependabot %} 和所有相关功能受 [{% data variables.product.prodname_dotcom %} 服务条款](/free-pro-team@latest/github/site-policy/github-terms-of-service)约束。 -{% elsif ghec %} {% data variables.product.prodname_dependabot %} 和所有相关功能均受许可协议约束。 有关详细信息,请参阅“[{% data variables.product.company_short %} 企业客户条款](https://github.com/enterprise-legal)”。 +{% elsif ghec %} {% data variables.product.prodname_dependabot %} 和所有相关功能均受许可协议约束。有关详细信息,请参阅“[{% data variables.product.company_short %} 企业客户条款](https://github.com/enterprise-legal)”。 {% endif %} diff --git a/translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md b/translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md index f55c568d3559..a6e8073c67f7 100644 --- a/translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md +++ b/translations/zh-CN/data/reusables/dependabot/enterprise-enable-dependabot.md @@ -10,7 +10,7 @@ ms.locfileid: "145129889" {% note %} -注意:站点管理员必须先为 {% data variables.product.product_location %} 设置 {% data variables.product.prodname_dependabot_updates %},然后你才能使用此功能。 有关详细信息,请参阅“[为企业启用 {% data variables.product.prodname_dependabot %}](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)”。 +注意:站点管理员必须先为 {% data variables.product.product_location %} 设置 {% data variables.product.prodname_dependabot_updates %},然后你才能使用此功能。有关详细信息,请参阅“[为企业启用 {% data variables.product.prodname_dependabot %}](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise)”。 {% endnote %} diff --git a/translations/zh-CN/data/reusables/dependabot/ghes-ghae-enabling-dependency-graph.md b/translations/zh-CN/data/reusables/dependabot/ghes-ghae-enabling-dependency-graph.md index 166ef5ac7812..444ffdd6f072 100644 --- a/translations/zh-CN/data/reusables/dependabot/ghes-ghae-enabling-dependency-graph.md +++ b/translations/zh-CN/data/reusables/dependabot/ghes-ghae-enabling-dependency-graph.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/12/2022 ms.locfileid: "147887671" --- -如果依赖项关系图在系统中不可用,则企业所有者可以启用依赖项关系图。 有关详细信息,请参阅“[为企业启用依赖项关系图](/admin/code-security/managing-supply-chain-security-for-your-enterprise/enabling-the-dependency-graph-for-your-enterprise)”。 +如果依赖项关系图在系统中不可用,则企业所有者可以启用依赖项关系图。有关详细信息,请参阅“[为企业启用依赖项关系图](/admin/code-security/managing-supply-chain-security-for-your-enterprise/enabling-the-dependency-graph-for-your-enterprise)”。 diff --git a/translations/zh-CN/data/reusables/dependabot/initial-updates.md b/translations/zh-CN/data/reusables/dependabot/initial-updates.md index ec43eca7f605..0052cb52e2ad 100644 --- a/translations/zh-CN/data/reusables/dependabot/initial-updates.md +++ b/translations/zh-CN/data/reusables/dependabot/initial-updates.md @@ -6,8 +6,8 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129886" --- -首次启用版本更新时,您可能有很多过时的依赖项,其中一些可能为许多落后于最新版本的版本。 {% data variables.product.prodname_dependabot %} 将在其启用后立即检查过时的依赖项。 根据您配置更新的清单文件的数量,您可能会在添加配置文件后几分钟内看到新的版本更新拉取请求。 {% data variables.product.prodname_dependabot %} 也会在配置文件后续更改时运行更新。 +首次启用版本更新时,您可能有很多过时的依赖项,其中一些可能为许多落后于最新版本的版本。 {% data variables.product.prodname_dependabot %} 将在其启用后立即检查过时的依赖项。根据您配置更新的清单文件的数量,您可能会在添加配置文件后几分钟内看到新的版本更新拉取请求。 {% data variables.product.prodname_dependabot %} 也会在配置文件后续更改时运行更新。 -{% data variables.product.prodname_dependabot %} 也可在更新失败后更改清单文件时创建拉取请求。 这是因为对清单的更改,例如删除导致更新失败的依赖项,可能会导致新触发的更新成功。 +{% data variables.product.prodname_dependabot %} 也可在更新失败后更改清单文件时创建拉取请求。这是因为对清单的更改,例如删除导致更新失败的依赖项,可能会导致新触发的更新成功。 -为使拉取请求保持可管理和易于审查,{% data variables.product.prodname_dependabot %} 最多提出五个拉取请求,以便开始将依赖项更新至最新版本。 如果您在下次预定的更新之前先合并了这些拉取请求,剩余的拉取请求将在下次更新时打开,最多不超过此限。 可以通过设置[`open-pull-requests-limit`配置选项](/github/administering-a-repository/configuration-options-for-dependency-updates#open-pull-requests-limit)来更改打开的拉取请求的最大数量。 +为使拉取请求保持可管理和易于审查,{% data variables.product.prodname_dependabot %} 最多提出五个拉取请求,以便开始将依赖项更新至最新版本。如果您在下次预定的更新之前先合并了这些拉取请求,剩余的拉取请求将在下次更新时打开,最多不超过此限。可以通过设置[`open-pull-requests-limit`配置选项](/github/administering-a-repository/configuration-options-for-dependency-updates#open-pull-requests-limit)来更改打开的拉取请求的最大数量。 diff --git a/translations/zh-CN/data/reusables/dependabot/private-dependencies-note.md b/translations/zh-CN/data/reusables/dependabot/private-dependencies-note.md index 2e5b822937a3..64c3e8072b16 100644 --- a/translations/zh-CN/data/reusables/dependabot/private-dependencies-note.md +++ b/translations/zh-CN/data/reusables/dependabot/private-dependencies-note.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129878" --- -在运行安全性或版本更新时,有些生态系统必须能够解决来自其来源的所有依赖项,以验证版本更新是否成功。 如果清单或锁定文件包含任何私有依赖项,{% data variables.product.prodname_dependabot %} 必须能够访问这些依赖项所在的位置。 组织所有者可以授予 {% data variables.product.prodname_dependabot %} 访问包含同一个组织内项目依赖项的私有仓库. 有关详细信息,请参阅“[管理组织的安全和分析设置](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private-dependencies)”。 你可以在存储库的 dependabot.yml 配置文件中配置对专用注册表的访问。 有关详细信息,请参阅“[dependabot.yml 文件的配置选项](/github/administering-a-repository/configuration-options-for-dependency-updates#configuration-options-for-private-registries)”。 +在运行安全性或版本更新时,有些生态系统必须能够解决来自其来源的所有依赖项,以验证版本更新是否成功。如果清单或锁定文件包含任何私有依赖项,{% data variables.product.prodname_dependabot %} 必须能够访问这些依赖项所在的位置。组织所有者可以授予 {% data variables.product.prodname_dependabot %} 访问包含同一个组织内项目依赖项的私有仓库。有关详细信息,请参阅“[管理组织的安全和分析设置](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private-dependencies)”。你可以在存储库的 dependabot.yml 配置文件中配置对专用注册表的访问。有关详细信息,请参阅“[dependabot.yml 文件的配置选项](/github/administering-a-repository/configuration-options-for-dependency-updates#configuration-options-for-private-registries)”。 diff --git a/translations/zh-CN/data/reusables/dependabot/private-dependencies.md b/translations/zh-CN/data/reusables/dependabot/private-dependencies.md index a4b71526dc89..f7747b3472aa 100644 --- a/translations/zh-CN/data/reusables/dependabot/private-dependencies.md +++ b/translations/zh-CN/data/reusables/dependabot/private-dependencies.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145129875" --- -目前,{% data variables.product.prodname_dependabot_version_updates %} 不支持包含任何私有 git 依赖项或私有 git 注册表的清单或锁定文件。 这是因为,在运行版本更新时,{% data variables.product.prodname_dependabot %} 必须能够解决来自其源的所有依赖项,以验证版本更新是否成功。 +目前,{% data variables.product.prodname_dependabot_version_updates %} 不支持包含任何私有 git 依赖项或私有 git 注册表的清单或锁定文件。这是因为,在运行版本更新时,{% data variables.product.prodname_dependabot %} 必须能够解决来自其源的所有依赖项,以验证版本更新是否成功。 diff --git a/translations/zh-CN/data/reusables/dependabot/pull-request-introduction.md b/translations/zh-CN/data/reusables/dependabot/pull-request-introduction.md index f1adf30d4af2..a1b25cb6b17b 100644 --- a/translations/zh-CN/data/reusables/dependabot/pull-request-introduction.md +++ b/translations/zh-CN/data/reusables/dependabot/pull-request-introduction.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129874" --- -{% data variables.product.prodname_dependabot %} 提出拉取请求,以更新依赖项。 {% data variables.product.prodname_dependabot %} 可能会针对版本更新和/或安全更新提出拉取请求,具体取决于存储库的配置方式。 您可以按与任何其他拉取请求相同的方式管理这些拉取请求,但也有一些额外的可用命令。 有关启用 {% data variables.product.prodname_dependabot %} 依赖项更新的信息,请参阅[配置 {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/configuring-dependabot-security-updates) 和[启用和禁用 {% data variables.product.prodname_dependabot %} 版本更新](/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/enabling-and-disabling-version-updates)。 +{% data variables.product.prodname_dependabot %} 提出拉取请求,以更新依赖项。 {% data variables.product.prodname_dependabot %} 可能会针对版本更新和/或安全更新提出拉取请求,具体取决于存储库的配置方式。您可以按与任何其他拉取请求相同的方式管理这些拉取请求,但也有一些额外的可用命令。有关启用 {% data variables.product.prodname_dependabot %} 依赖项更新的信息,请参阅[配置 {% data variables.product.prodname_dependabot_security_updates %}](/github/managing-security-vulnerabilities/configuring-dependabot-security-updates) 和[启用和禁用 {% data variables.product.prodname_dependabot %} 版本更新](/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/enabling-and-disabling-version-updates)。 diff --git a/translations/zh-CN/data/reusables/dependabot/pull-request-security-vs-version-updates.md b/translations/zh-CN/data/reusables/dependabot/pull-request-security-vs-version-updates.md index 1be0a518cdaa..b611f2a3f692 100644 --- a/translations/zh-CN/data/reusables/dependabot/pull-request-security-vs-version-updates.md +++ b/translations/zh-CN/data/reusables/dependabot/pull-request-security-vs-version-updates.md @@ -9,4 +9,4 @@ ms.locfileid: "145129872" 当 {% data variables.product.prodname_dependabot %} 提出拉取请求时,这些拉取请求可以是安全更新或版本更新: - {% data variables.product.prodname_dependabot_security_updates %} 是自动拉取请求,可帮助你更新已知漏洞的信赖项。 -- {% data variables.product.prodname_dependabot_version_updates %} 是自动拉取请求,即使它们没有任何漏洞,也会保持更新依赖项。 要检查版本更新的状态,请依次导航到仓库的 Insights(见解)选项卡、Dependency Graph(依赖关系图)、{% data variables.product.prodname_dependabot %}。 +- {% data variables.product.prodname_dependabot_version_updates %} 是自动拉取请求,即使它们没有任何漏洞,也会保持更新依赖项。要检查版本更新的状态,请依次导航到仓库的 Insights(见解)选项卡、Dependency Graph(依赖关系图)、{% data variables.product.prodname_dependabot %}。 diff --git a/translations/zh-CN/data/reusables/dependabot/result-discrepancy.md b/translations/zh-CN/data/reusables/dependabot/result-discrepancy.md index fb7487bf2a5e..b9a9541c7ec5 100644 --- a/translations/zh-CN/data/reusables/dependabot/result-discrepancy.md +++ b/translations/zh-CN/data/reusables/dependabot/result-discrepancy.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/12/2022 ms.locfileid: "147887839" --- -{% data variables.product.product_name %} 报告的依赖项检测结果可能不同于其他工具返回的结果。 这是有原因的,它有助于了解 {% data variables.product.prodname_dotcom %} 如何确定项目的依赖项。 +{% data variables.product.product_name %} 报告的依赖项检测结果可能不同于其他工具返回的结果。这是有原因的,它有助于了解 {% data variables.product.prodname_dotcom %} 如何确定项目的依赖项。 diff --git a/translations/zh-CN/data/reusables/dependabot/supported-package-managers.md b/translations/zh-CN/data/reusables/dependabot/supported-package-managers.md index 68680a69b8bb..1c492de0800b 100644 --- a/translations/zh-CN/data/reusables/dependabot/supported-package-managers.md +++ b/translations/zh-CN/data/reusables/dependabot/supported-package-managers.md @@ -37,17 +37,17 @@ yarn | `npm` | v1 | **✓** | **✓** | | {% tip %} -提示:对于包管理器(如 `pipenv` 和 `poetry`),需要使用 `pip` YAML 值。 例如,如果使用 `poetry` 来管理 Python 依赖项,并且希望让 {% data variables.product.prodname_dependabot %} 监视新版本的依赖项清单文件,请在 dependabot.yml 文件中使用 `package-ecosystem: "pip"`。 +提示:对于包管理器(如 `pipenv` 和 `poetry`),需要使用 `pip` YAML 值。例如,如果使用 `poetry` 来管理 Python 依赖项,并且希望让 {% data variables.product.prodname_dependabot %} 监视新版本的依赖项清单文件,请在 dependabot.yml 文件中使用 `package-ecosystem: "pip"`。 {% endtip %} -[1] {% data variables.product.prodname_dependabot %} 不运行 Gradle,但支持对以下文件的更新:`build.gradle`、`build.gradle.kts`(针对 Kotlin 项目),以及通过 `apply` 声明包含在内且文件名中带有 `dependencies` 的文件。 请注意,`apply` 不支持 `apply to`、递归或高级语法(例如,Kotlin 的 `apply` 和 `mapOf`,由属性定义的文件名)。 +[1] {% data variables.product.prodname_dependabot %} 不运行 Gradle,但支持对以下文件的更新:`build.gradle`、`build.gradle.kts`(针对 Kotlin 项目),以及通过 `apply` 声明包含在内且文件名中带有 `dependencies` 的文件。请注意,`apply` 不支持 `apply to`、递归或高级语法(例如,Kotlin 的 `apply` 和 `mapOf`,由属性定义的文件名)。 [2] {% data variables.product.prodname_dependabot %} 不运行 Maven,但支持对 `pom.xml` 文件的更新。 [3] {% data variables.product.prodname_dependabot %} 不运行 NuGet CLI,但支持直到版本 4.8 的大多数功能。 -{% ifversion fpt or ghec or ghes > 3.4 %} [4] {% ifversion ghes = 3.5 %}`pub` 支持目前为 beta 版本。 任何已知限制都可能会发生变化。 请注意 {% data variables.product.prodname_dependabot %}: +{% ifversion fpt or ghec or ghes > 3.4 %} [4] {% ifversion ghes = 3.5 %}`pub` 支持目前为 beta 版本。任何已知限制都可能会发生变化。请注意 {% data variables.product.prodname_dependabot %}: - 不支持更新 `pub` 的 git 依赖项。 - 当尝试更新到的版本被忽略时,即使早期版本可用,也不会执行更新。 diff --git a/translations/zh-CN/data/reusables/dependabot/version-updates-for-actions.md b/translations/zh-CN/data/reusables/dependabot/version-updates-for-actions.md index 24893bebf337..eea2def03ac4 100644 --- a/translations/zh-CN/data/reusables/dependabot/version-updates-for-actions.md +++ b/translations/zh-CN/data/reusables/dependabot/version-updates-for-actions.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145129868" --- -您也可以为添加到工作流程的操作启用 {% data variables.product.prodname_dependabot_version_updates %}。 有关详细信息,请参阅“[使用 {% data variables.product.prodname_dependabot %} 使操作保持最新状态](/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot)”。 +您也可以为添加到工作流程的操作启用 {% data variables.product.prodname_dependabot_version_updates %}。有关详细信息,请参阅“[使用 {% data variables.product.prodname_dependabot %} 使操作保持最新状态](/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot)”。 diff --git a/translations/zh-CN/data/reusables/dependency-review/dependency-review-action-overview.md b/translations/zh-CN/data/reusables/dependency-review/dependency-review-action-overview.md index ddf6b85363e3..22f989f17131 100644 --- a/translations/zh-CN/data/reusables/dependency-review/dependency-review-action-overview.md +++ b/translations/zh-CN/data/reusables/dependency-review/dependency-review-action-overview.md @@ -6,6 +6,6 @@ ms.contentlocale: zh-CN ms.lasthandoff: 07/13/2022 ms.locfileid: "147079781" --- -{% data variables.product.prodname_dependency_review_action %} 扫描拉取请求中的依赖项更改,如果有任何新的依赖项存在已知漏洞,则会引发错误。 API 终结点支持此操作,该终结点比较两个修订之间的依赖关系,并报告任何差异。 +{% data variables.product.prodname_dependency_review_action %} 扫描拉取请求中的依赖项更改,如果有任何新的依赖项存在已知漏洞,则会引发错误。API 终结点支持此操作,该终结点比较两个修订之间的依赖关系,并报告任何差异。 有关操作和 API 终结点的详细信息,请参阅 API 文档中的“[关于依赖项审查](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-reinforcement)”和“[依赖项审查](/rest/dependency-graph/dependency-review)”。 diff --git a/translations/zh-CN/data/reusables/dependency-review/feature-overview.md b/translations/zh-CN/data/reusables/dependency-review/feature-overview.md index ed567a420e44..75165d1b5730 100644 --- a/translations/zh-CN/data/reusables/dependency-review/feature-overview.md +++ b/translations/zh-CN/data/reusables/dependency-review/feature-overview.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129855" --- -依赖项审查帮助您了解依赖项变化以及这些变化在每个拉取请求中的安全影响。 它提供了一个易于理解的依赖项变化视图,多差异显示在拉取请求的“Files Changed(更改的文件)”选项卡上。 依赖项审查告知您: +依赖项审查帮助您了解依赖项变化以及这些变化在每个拉取请求中的安全影响。它提供了一个易于理解的依赖项变化视图,多差异显示在拉取请求的“Files Changed(更改的文件)”选项卡上。依赖项审查告知您: - 哪些依赖项连同发行日期一起添加、删除或更新。 - 有多少项目使用这些组件。 - 这些依赖项的漏洞数据。 diff --git a/translations/zh-CN/data/reusables/dependency-submission/about-dependency-submission.md b/translations/zh-CN/data/reusables/dependency-submission/about-dependency-submission.md index d75ebdb6299f..33bffadb45ee 100644 --- a/translations/zh-CN/data/reusables/dependency-submission/about-dependency-submission.md +++ b/translations/zh-CN/data/reusables/dependency-submission/about-dependency-submission.md @@ -6,8 +6,8 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/12/2022 ms.locfileid: "147079552" --- -使用依赖项提交 API,可以提交项目的依赖项。 这使你可以将依赖项(如编译或生成软件时解析的依赖项)添加到 {% data variables.product.prodname_dotcom %} 的依赖项关系图功能,从而更全面地了解项目的所有依赖项。 +使用依赖项提交 API,可以提交项目的依赖项。这使你可以将依赖项(如编译或生成软件时解析的依赖项)添加到 {% data variables.product.prodname_dotcom %} 的依赖项关系图功能,从而更全面地了解项目的所有依赖项。 -依赖项关系图显示你使用 API 提交的任何依赖项,以及从存储库中的清单或锁定文件(例如 `package-lock.json` JavaScript 项目中的文件)标识的任何依赖项。 若要详细了解如何查看依赖项关系图,请参阅“[探索存储库的依赖项](/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository#viewing-the-dependency-graph)”。 +依赖项关系图显示你使用 API 提交的任何依赖项,以及从存储库中的清单或锁定文件(例如 `package-lock.json` JavaScript 项目中的文件)标识的任何依赖项。若要详细了解如何查看依赖项关系图,请参阅“[探索存储库的依赖项](/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository#viewing-the-dependency-graph)”。 -提交的依赖项将收到 {% data variables.product.prodname_dependabot_alerts %} 和 {% data variables.product.prodname_dependabot_security_updates %} 以处理任何已知的漏洞。 你只会收到来自 {% data variables.product.prodname_advisory_database %} [支持的生态系统](https://github.com/github/advisory-database#supported-ecosystems)之一的依赖项的 {% data variables.product.prodname_dependabot_alerts %}。 提交的依赖项将不会显示在依赖项评审或组织的依赖项见解中。 +提交的依赖项将收到 {% data variables.product.prodname_dependabot_alerts %} 和 {% data variables.product.prodname_dependabot_security_updates %} 以处理任何已知的漏洞。你只会收到来自 {% data variables.product.prodname_advisory_database %} [支持的生态系统](https://github.com/github/advisory-database#supported-ecosystems)之一的依赖项的 {% data variables.product.prodname_dependabot_alerts %}。提交的依赖项将不会显示在依赖项评审或组织的依赖项见解中。 diff --git a/translations/zh-CN/data/reusables/dependency-submission/dependency-submission-link.md b/translations/zh-CN/data/reusables/dependency-submission/dependency-submission-link.md index 6fc8c818dbe9..6574b6f07cd8 100644 --- a/translations/zh-CN/data/reusables/dependency-submission/dependency-submission-link.md +++ b/translations/zh-CN/data/reusables/dependency-submission/dependency-submission-link.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147079809" --- -此外,可以使用依赖项提交 API(beta 版本)从所选择的包管理器或生态系统提交依赖项,即使该生态系统不受清单或锁定文件分析的依赖关系图支持。 依赖项关系图将显示按生态系统分组的提交依赖项,但与从清单或锁定文件解析的依赖项是分开的。 有关依赖项提交 API 的详细信息,请参阅“[使用依赖项提交 API](/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api)”。 +此外,可以使用依赖项提交 API(beta 版本)从所选择的包管理器或生态系统提交依赖项,即使该生态系统不受清单或锁定文件分析的依赖关系图支持。依赖项关系图将显示按生态系统分组的提交依赖项,但与从清单或锁定文件解析的依赖项是分开的。有关依赖项提交 API 的详细信息,请参阅“[使用依赖项提交 API](/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api)”。 diff --git a/translations/zh-CN/data/reusables/desktop/2fa-in-browser.md b/translations/zh-CN/data/reusables/desktop/2fa-in-browser.md index 097346069fd9..d8604521ecc8 100644 --- a/translations/zh-CN/data/reusables/desktop/2fa-in-browser.md +++ b/translations/zh-CN/data/reusables/desktop/2fa-in-browser.md @@ -7,7 +7,7 @@ ms.lasthandoff: 09/10/2022 ms.locfileid: "145129853" --- 1. 如果已为 {% data variables.product.prodname_dotcom %} 配置双重身份验证 (2FA),请执行以下操作之一: - - 如果通过 SMS 设置 2FA,则从 SMS 消息检索 2FA 代码 。 + - 如果通过 SMS 设置 2FA,则从 SMS 消息检索 2FA 代码。 - 如果使用 TOTP 应用程序设置 2FA,则生成 2FA 代码。 然后在 {% data variables.product.prodname_dotcom %} 的提示中输入你的 2FA 代码,然后单击“验证”。 diff --git a/translations/zh-CN/data/reusables/desktop/click-discard-files.md b/translations/zh-CN/data/reusables/desktop/click-discard-files.md index 40077d0eaa26..7535e935be13 100644 --- a/translations/zh-CN/data/reusables/desktop/click-discard-files.md +++ b/translations/zh-CN/data/reusables/desktop/click-discard-files.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145129831" --- -1. 单击“放弃更改”或“放弃所选更改”以放弃对一个或多个文件的更改,或单击“放弃所有更改”以放弃自上次提交后对所有文件的更改 。 +1. 单击“放弃更改”或“放弃所选更改”以放弃对一个或多个文件的更改,或单击“放弃所有更改”以放弃自上次提交后对所有文件的更改。 diff --git a/translations/zh-CN/data/reusables/desktop/cloning-location-tab.md b/translations/zh-CN/data/reusables/desktop/cloning-location-tab.md index 7fa76364c274..f4d3c5c1eafc 100644 --- a/translations/zh-CN/data/reusables/desktop/cloning-location-tab.md +++ b/translations/zh-CN/data/reusables/desktop/cloning-location-tab.md @@ -6,7 +6,7 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129814" --- -1. 单击与要克隆的仓库位置对应的选项卡。 也可以单击 URL 手动输入存储库位置。 +1. 单击与要克隆的仓库位置对应的选项卡。也可以单击 URL 手动输入存储库位置。 {% mac %} diff --git a/translations/zh-CN/data/reusables/desktop/commit-message.md b/translations/zh-CN/data/reusables/desktop/commit-message.md index 923dddd50a1d..501c70aed42c 100644 --- a/translations/zh-CN/data/reusables/desktop/commit-message.md +++ b/translations/zh-CN/data/reusables/desktop/commit-message.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129811" --- -1. 在更改列表底部的 Summary(摘要)字段中,键入一条简短、有意义的提交消息。 您也可以在 Description(说明)字段中添加关于更改的更多信息(可选) 。 +1. 在更改列表底部的 Summary(摘要)字段中,键入一条简短、有意义的提交消息。您也可以在 Description(说明)字段中添加关于更改的更多信息(可选) 。 diff --git a/translations/zh-CN/data/reusables/desktop/commit-some-desc.md b/translations/zh-CN/data/reusables/desktop/commit-some-desc.md index a4f9c4ae4758..4d56265af374 100644 --- a/translations/zh-CN/data/reusables/desktop/commit-some-desc.md +++ b/translations/zh-CN/data/reusables/desktop/commit-some-desc.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145129809" --- -要将“一个或多个文件中的所有更改”添加到单个提交中,请取消选中不想包含的文件旁边的复选框,只保留要包含在提交中的文件。 在选择文件后使用 `Spacebar` 或 `Enter` 键可切换复选框状态。 +要将“一个或多个文件中的所有更改”添加到单个提交中,请取消选中不想包含的文件旁边的复选框,只保留要包含在提交中的文件。在选择文件后使用 `Spacebar` 或 `Enter` 键可切换复选框状态。 diff --git a/translations/zh-CN/data/reusables/desktop/launch-desktop-from-command-line.md b/translations/zh-CN/data/reusables/desktop/launch-desktop-from-command-line.md index 07cfc5555973..61430a332e91 100644 --- a/translations/zh-CN/data/reusables/desktop/launch-desktop-from-command-line.md +++ b/translations/zh-CN/data/reusables/desktop/launch-desktop-from-command-line.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129773" --- -要对最近打开的存储库启动 {% data variables.product.prodname_desktop %},请键入 `github`。 要对特定存储库启动 {% data variables.product.prodname_desktop %},请键入 `github`,后跟该存储库的路径。 +要对最近打开的存储库启动 {% data variables.product.prodname_desktop %},请键入 `github`。要对特定存储库启动 {% data variables.product.prodname_desktop %},请键入 `github`,后跟该存储库的路径。 diff --git a/translations/zh-CN/data/reusables/desktop/protected-branches.md b/translations/zh-CN/data/reusables/desktop/protected-branches.md index f911f6807b34..6428d5120c1a 100644 --- a/translations/zh-CN/data/reusables/desktop/protected-branches.md +++ b/translations/zh-CN/data/reusables/desktop/protected-branches.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129752" --- -仓库管理员可对分支启用保护。 如果您处理的是受保护分支,将无法删除或强制推送到该分支。 在分支可以合并之前,仓库管理员可以另外启用其他受保护分支设置来实施特定的工作流程。 有关详细信息,请参阅“[关于受保护的分支](/articles/about-protected-branches)”。 +仓库管理员可对分支启用保护。如果您处理的是受保护分支,将无法删除或强制推送到该分支。在分支可以合并之前,仓库管理员可以另外启用其他受保护分支设置来实施特定的工作流程。有关详细信息,请参阅“[关于受保护的分支](/articles/about-protected-branches)”。 diff --git a/translations/zh-CN/data/reusables/desktop/resolve-merge-conflicts.md b/translations/zh-CN/data/reusables/desktop/resolve-merge-conflicts.md index 4b9a4caf9dfd..5bdf0f3db064 100644 --- a/translations/zh-CN/data/reusables/desktop/resolve-merge-conflicts.md +++ b/translations/zh-CN/data/reusables/desktop/resolve-merge-conflicts.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129749" --- -1. 使用文本编辑器、命令行或其他工具(根据您的偏好)解决任何合并冲突。 有关详细信息,请参阅“[解决合并冲突](/github/collaborating-with-issues-and-pull-requests/addressing-merge-conflicts)”。 +1. 使用文本编辑器、命令行或其他工具(根据您的偏好)解决任何合并冲突。有关详细信息,请参阅“[解决合并冲突](/github/collaborating-with-issues-and-pull-requests/addressing-merge-conflicts)”。 diff --git a/translations/zh-CN/data/reusables/desktop/retrieve-2fa.md b/translations/zh-CN/data/reusables/desktop/retrieve-2fa.md index 0cad3038322d..b3ce7a8318f9 100644 --- a/translations/zh-CN/data/reusables/desktop/retrieve-2fa.md +++ b/translations/zh-CN/data/reusables/desktop/retrieve-2fa.md @@ -7,7 +7,7 @@ ms.lasthandoff: 09/10/2022 ms.locfileid: "147877221" --- 1. 如果你为 {% data variables.product.prodname_enterprise %} 配置了双重身份验证,请执行以下操作之一: - - 如果通过 SMS 设置 2FA,则从 SMS 消息检索 2FA 代码 。 + - 如果通过 SMS 设置 2FA,则从 SMS 消息检索 2FA 代码。 - 如果使用 TOTP 应用程序设置 2FA,则生成 2FA 代码。 然后在 {% data variables.product.prodname_desktop %} 的提示中输入你的 2FA 代码,然后单击“登录”。 diff --git a/translations/zh-CN/data/reusables/desktop/select-discard-files.md b/translations/zh-CN/data/reusables/desktop/select-discard-files.md index f6b73092a9e2..546ca9189a47 100644 --- a/translations/zh-CN/data/reusables/desktop/select-discard-files.md +++ b/translations/zh-CN/data/reusables/desktop/select-discard-files.md @@ -6,5 +6,5 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145129733" --- -1. 在已更改文件的列表中,选择要放弃自上次提交后更改的文件。 要选择多个文件,请单击 `shift` 并单击要放弃更改的文件范围。 +1. 在已更改文件的列表中,选择要放弃自上次提交后更改的文件。要选择多个文件,请单击 `shift` 并单击要放弃更改的文件范围。 ![选择要放弃更改的多个文件](/assets/images/help/desktop/select-multiple-files-discard.png) diff --git a/translations/zh-CN/data/reusables/developer-site/limit_workflow_to_activity_types.md b/translations/zh-CN/data/reusables/developer-site/limit_workflow_to_activity_types.md index eb927fe989bf..97f249baec41 100644 --- a/translations/zh-CN/data/reusables/developer-site/limit_workflow_to_activity_types.md +++ b/translations/zh-CN/data/reusables/developer-site/limit_workflow_to_activity_types.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "146332038" --- -默认情况下,所有活动类型都会触发在此事件上运行的工作流。 你可以使用 `types` 关键词将工作流运行限制为特定活动类型。 有关详细信息,请参阅“[{% data variables.product.prodname_actions %} 的工作流语法](/articles/workflow-syntax-for-github-actions#onevent_nametypes)”。 +默认情况下,所有活动类型都会触发在此事件上运行的工作流。你可以使用 `types` 关键词将工作流运行限制为特定活动类型。有关详细信息,请参阅“[{% data variables.product.prodname_actions %} 的工作流语法](/articles/workflow-syntax-for-github-actions#onevent_nametypes)”。 diff --git a/translations/zh-CN/data/reusables/developer-site/pull_request_forked_repos_link.md b/translations/zh-CN/data/reusables/developer-site/pull_request_forked_repos_link.md index eeac4d8008c3..609d073ef52a 100644 --- a/translations/zh-CN/data/reusables/developer-site/pull_request_forked_repos_link.md +++ b/translations/zh-CN/data/reusables/developer-site/pull_request_forked_repos_link.md @@ -8,15 +8,15 @@ ms.locfileid: "145129709" --- #### 存储库分支中的工作流 -默认情况下,工作流不在存储库分支中运行。 必须在存储库分支的“操作”选项卡中启用 GitHub Actions。 +默认情况下,工作流不在存储库分支中运行。必须在存储库分支的“操作”选项卡中启用 GitHub Actions。 -{% data reusables.actions.forked-secrets %} `GITHUB_TOKEN` 在存储库分支中具有只读权限。 有关详细信息,请参阅“[使用 GITHUB_TOKEN 进行身份验证](/actions/configuring-and-managing-workflows/authenticating-with-the-github_token)”。 +{% data reusables.actions.forked-secrets %} `GITHUB_TOKEN` 在存储库分支中具有只读权限。有关详细信息,请参阅“[使用 GITHUB_TOKEN 进行身份验证](/actions/configuring-and-managing-workflows/authenticating-with-the-github_token)”。 #### 复刻的仓库的拉取请求事件 -对于从存储库分支到基础存储库的拉取请求,{% data variables.product.product_name %} 会将 `pull_request`、`issue_comment`、`pull_request_review_comment`、`pull_request_review` 和 `pull_request_target` 事件发送到基础存储库。 存储库分支上不会发生拉取请求事件。 +对于从存储库分支到基础存储库的拉取请求,{% data variables.product.product_name %} 会将 `pull_request`、`issue_comment`、`pull_request_review_comment`、`pull_request_review` 和 `pull_request_target` 事件发送到基础存储库。存储库分支上不会发生拉取请求事件。 -{% ifversion fpt or ghec %} 当参与者第一次向公共存储库提交拉取请求时,拥有写入权限的维护者可能需要审核拉取请求上运行的工作流。 有关详细信息,请参阅“[审核公共分支中的工作流运行](/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)”。 +{% ifversion fpt or ghec %} 当参与者第一次向公共存储库提交拉取请求时,拥有写入权限的维护者可能需要审核拉取请求上运行的工作流。有关详细信息,请参阅“[审核公共分支中的工作流运行](/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)”。 {% endif %} {% note %} diff --git a/translations/zh-CN/data/reusables/discussions/about-announcement-format.md b/translations/zh-CN/data/reusables/discussions/about-announcement-format.md index 59fcf5c3049c..7c2555e00750 100644 --- a/translations/zh-CN/data/reusables/discussions/about-announcement-format.md +++ b/translations/zh-CN/data/reusables/discussions/about-announcement-format.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "147881665" --- -维护者可以使用通知格式的类别来分享信息、发布或事件。 为了使这些类别的讨论集中于重要的更新,只有拥有维护或管理权限的人才可创建新的讨论,但任何人都可以评论和回复。 +维护者可以使用通知格式的类别来分享信息、发布或事件。为了使这些类别的讨论集中于重要的更新,只有拥有维护或管理权限的人才可创建新的讨论,但任何人都可以评论和回复。 diff --git a/translations/zh-CN/data/reusables/discussions/about-categories-and-formats.md b/translations/zh-CN/data/reusables/discussions/about-categories-and-formats.md index 76d2b3293bf0..12aaa27dc230 100644 --- a/translations/zh-CN/data/reusables/discussions/about-categories-and-formats.md +++ b/translations/zh-CN/data/reusables/discussions/about-categories-and-formats.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145129707" --- -所有讨论都必须在类别中创建。 对于存储库讨论,由对存储库具有维护权限或管理员权限的人员定义该存储库中讨论的类别。 对于组织讨论,由对源存储库具有维护权限或管理员权限的人员定义该组织中讨论的类别。 每个类别都有一个格式:开放式讨论、问答或公告。 +所有讨论都必须在类别中创建。对于存储库讨论,由对存储库具有维护权限或管理员权限的人员定义该存储库中讨论的类别。对于组织讨论,由对源存储库具有维护权限或管理员权限的人员定义该组织中讨论的类别。每个类别都有一个格式:开放式讨论、问答或公告。 diff --git a/translations/zh-CN/data/reusables/discussions/about-organization-discussions.md b/translations/zh-CN/data/reusables/discussions/about-organization-discussions.md index b807dff2b244..7f000794c375 100644 --- a/translations/zh-CN/data/reusables/discussions/about-organization-discussions.md +++ b/translations/zh-CN/data/reusables/discussions/about-organization-discussions.md @@ -6,8 +6,8 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "147409585" --- -启用组织讨论时,你将选择组织中的存储库作为组织讨论的源存储库。 可以使用现有存储库或专门创建存储库来保存组织讨论。 讨论将同时显示在组织的讨论页上,以及源存储库的讨论页上。 +启用组织讨论时,你将选择组织中的存储库作为组织讨论的源存储库。可以使用现有存储库或专门创建存储库来保存组织讨论。讨论将同时显示在组织的讨论页上,以及源存储库的讨论页上。 -参与或管理组织中讨论的权限基于源存储库中的权限。 例如,用户需要对源存储库具有写入权限才能删除组织讨论。 这与用户在存储库中需要写入权限才能删除存储库讨论的方式相同。 +参与或管理组织中讨论的权限基于源存储库中的权限。例如,用户需要对源存储库具有写入权限才能删除组织讨论。这与用户在存储库中需要写入权限才能删除存储库讨论的方式相同。 -随时可以更改源存储库。 如果更改源存储库,则讨论不会传输到新的源存储库。 +随时可以更改源存储库。如果更改源存储库,则讨论不会传输到新的源存储库。 diff --git a/translations/zh-CN/data/reusables/discussions/edit-category-details.md b/translations/zh-CN/data/reusables/discussions/edit-category-details.md index cb979e08fc81..58f367a5c964 100644 --- a/translations/zh-CN/data/reusables/discussions/edit-category-details.md +++ b/translations/zh-CN/data/reusables/discussions/edit-category-details.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145129691" --- -编辑类别的表情符号、标题、说明和讨论格式。 有关讨论格式的详细信息,请参阅“[关于讨论](/discussions/collaborating-with-your-community-using-discussions/about-discussions)”。 +编辑类别的表情符号、标题、说明和讨论格式。有关讨论格式的详细信息,请参阅“[关于讨论](/discussions/collaborating-with-your-community-using-discussions/about-discussions)”。 diff --git a/translations/zh-CN/data/reusables/discussions/marking-a-comment-as-an-answer.md b/translations/zh-CN/data/reusables/discussions/marking-a-comment-as-an-answer.md index 699cedd170c0..f2f5fa830843 100644 --- a/translations/zh-CN/data/reusables/discussions/marking-a-comment-as-an-answer.md +++ b/translations/zh-CN/data/reusables/discussions/marking-a-comment-as-an-answer.md @@ -6,13 +6,13 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "147877218" --- -如果讨论属于接受答案的类别,您可以将讨论中的评论标记为讨论的答案。 有关详细信息,请参阅“[关于讨论](/discussions/collaborating-with-your-community-using-discussions/about-discussions#about-categories-and-formats-for-discussions)”。 +如果讨论属于接受答案的类别,您可以将讨论中的评论标记为讨论的答案。有关详细信息,请参阅“[关于讨论](/discussions/collaborating-with-your-community-using-discussions/about-discussions#about-categories-and-formats-for-discussions)”。 当您将问题标记为答案时,{% data variables.product.product_name %} 将突出显示注释和对评论的回复,以帮助访问者快速找到答案。 ![评论标记为讨论的答案](/assets/images/help/discussions/comment-marked-as-answer.png) -您不能将评论回复标记为讨论的答案。 您也不能将最小化的评论标记为讨论的答案。 +您不能将评论回复标记为讨论的答案。您也不能将最小化的评论标记为讨论的答案。 {% data reusables.discussions.navigate-to-repo-or-org %} {% data reusables.discussions.discussions-tab %} 1. 在讨论列表中,单击要标记为已回答的未回答讨论。 diff --git a/translations/zh-CN/data/reusables/discussions/you-can-label-discussions.md b/translations/zh-CN/data/reusables/discussions/you-can-label-discussions.md index 5ac4f8e76082..dee09b31f6a4 100644 --- a/translations/zh-CN/data/reusables/discussions/you-can-label-discussions.md +++ b/translations/zh-CN/data/reusables/discussions/you-can-label-discussions.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145101086" --- -为了更精细地组织讨论,您可以应用标签。 例如,您可以使用标签来表示讨论的状态,以提高分类效率。 每个仓库都有一组用于议题、拉取请求和讨论的共享标签。 有关详细信息,请参阅“[管理标签](/github/managing-your-work-on-github/managing-labels)”。 +为了更精细地组织讨论,您可以应用标签。例如,您可以使用标签来表示讨论的状态,以提高分类效率。每个仓库都有一组用于议题、拉取请求和讨论的共享标签。有关详细信息,请参阅“[管理标签](/github/managing-your-work-on-github/managing-labels)”。 diff --git a/translations/zh-CN/data/reusables/discussions/you-can-use-discussions.md b/translations/zh-CN/data/reusables/discussions/you-can-use-discussions.md index 96be0970a94e..5c0c43ca87ea 100644 --- a/translations/zh-CN/data/reusables/discussions/you-can-use-discussions.md +++ b/translations/zh-CN/data/reusables/discussions/you-can-use-discussions.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145101084" --- -您可以使用 {% data variables.product.prodname_discussions %} 来提问和回答问题、共享信息、发布公告以及进行或参与有关项目的对话。 有关详细信息,请参阅“[关于讨论](/discussions/collaborating-with-your-community-using-discussions/about-discussions)”。 +您可以使用 {% data variables.product.prodname_discussions %} 来提问和回答问题、共享信息、发布公告以及进行或参与有关项目的对话。有关详细信息,请参阅“[关于讨论](/discussions/collaborating-with-your-community-using-discussions/about-discussions)”。 diff --git a/translations/zh-CN/data/reusables/docs/you-can-read-docs-for-your-product.md b/translations/zh-CN/data/reusables/docs/you-can-read-docs-for-your-product.md index 2d5bb137f6f4..386286d9c667 100644 --- a/translations/zh-CN/data/reusables/docs/you-can-read-docs-for-your-product.md +++ b/translations/zh-CN/data/reusables/docs/you-can-read-docs-for-your-product.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145101083" --- -可阅读反映 {% data variables.product.product_name %} 可用功能的文档。 有关详细信息,请参阅“[关于 {% data variables.product.prodname_docs %} 的版本](/get-started/learning-about-github/about-versions-of-github-docs)”。 +可阅读反映 {% data variables.product.product_name %} 可用功能的文档。有关详细信息,请参阅“[关于 {% data variables.product.prodname_docs %} 的版本](/get-started/learning-about-github/about-versions-of-github-docs)”。 diff --git a/translations/zh-CN/data/reusables/dotcom_billing/actions-packages-storage.md b/translations/zh-CN/data/reusables/dotcom_billing/actions-packages-storage.md index 3c4abc03537e..c1cd75400fc0 100644 --- a/translations/zh-CN/data/reusables/dotcom_billing/actions-packages-storage.md +++ b/translations/zh-CN/data/reusables/dotcom_billing/actions-packages-storage.md @@ -6,5 +6,5 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145101068" --- -1. 在“用于操作和包的存储”下,查看用于 {% data variables.product.prodname_actions %} 和 {% data variables.product.prodname_registry %} 的存储使用详情。 存储使用数据每小时同步一次。 +1. 在“用于操作和包的存储”下,查看用于 {% data variables.product.prodname_actions %} 和 {% data variables.product.prodname_registry %} 的存储使用详情。存储使用数据每小时同步一次。 ![存储使用情况的详细信息](/assets/images/help/billing/actions-packages-storage.png) diff --git a/translations/zh-CN/data/reusables/dotcom_billing/choose_org_plan.md b/translations/zh-CN/data/reusables/dotcom_billing/choose_org_plan.md index d74424142e17..353b20df71ab 100644 --- a/translations/zh-CN/data/reusables/dotcom_billing/choose_org_plan.md +++ b/translations/zh-CN/data/reusables/dotcom_billing/choose_org_plan.md @@ -6,5 +6,5 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145101054" --- -1. 在“Compare plans(比较计划)”下,您可以比较每个计划的功能。 根据当前计划以及你选择的计划,单击“升级到团队”或“升级到企业” 。 +1. 在“Compare plans(比较计划)”下,您可以比较每个计划的功能。根据当前计划以及你选择的计划,单击“升级到团队”或“升级到企业” 。 ![比较计划和升级](/assets/images/help/billing/settings-compare-and-upgrade-plans.png) diff --git a/translations/zh-CN/data/reusables/dotcom_billing/coupon-expires.md b/translations/zh-CN/data/reusables/dotcom_billing/coupon-expires.md index c1e42f4509ce..077a732a9c31 100644 --- a/translations/zh-CN/data/reusables/dotcom_billing/coupon-expires.md +++ b/translations/zh-CN/data/reusables/dotcom_billing/coupon-expires.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145101045" --- -如果您使用优惠券支付订阅费用,当优惠券到期时,您的支付方式将收取订阅的全部费用。 如果你没有保存的支付方式,如果你的帐户是个人帐户,将被降级为 {% data variables.product.prodname_free_user %},如果是组织,将被降级为 {% data variables.product.prodname_free_team %}。 +如果您使用优惠券支付订阅费用,当优惠券到期时,您的支付方式将收取订阅的全部费用。如果你没有保存的支付方式,如果你的帐户是个人帐户,将被降级为 {% data variables.product.prodname_free_user %},如果是组织,将被降级为 {% data variables.product.prodname_free_team %}。 diff --git a/translations/zh-CN/data/reusables/dotcom_billing/download_receipt.md b/translations/zh-CN/data/reusables/dotcom_billing/download_receipt.md index 035b28c86966..b0849397872f 100644 --- a/translations/zh-CN/data/reusables/dotcom_billing/download_receipt.md +++ b/translations/zh-CN/data/reusables/dotcom_billing/download_receipt.md @@ -6,5 +6,5 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/11/2022 ms.locfileid: "145101043" --- -1. 在“Payment history(付款历史记录)”下,审查您过去的付款。 若要下载特定付款的收据,请单击 {% octicon "download" aria-label="The download icon" %}。 +1. 在“Payment history(付款历史记录)”下,审查您过去的付款。若要下载特定付款的收据,请单击 {% octicon "download" aria-label="The download icon" %}。 ![“下载收据”按钮](/assets/images/help/settings/settings-download-receipt.png) diff --git a/translations/zh-CN/data/reusables/dotcom_billing/lfs-data.md b/translations/zh-CN/data/reusables/dotcom_billing/lfs-data.md index d9d2996bc2ea..31b2aa9147ed 100644 --- a/translations/zh-CN/data/reusables/dotcom_billing/lfs-data.md +++ b/translations/zh-CN/data/reusables/dotcom_billing/lfs-data.md @@ -6,6 +6,6 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145101026" --- -1. 在“{% data variables.large_files.product_name_short %} 数据”下查看您的带宽和存储使用详情。 若要按存储库查看组织的 LFS 数据使用情况,请单击“存储”和“带宽”旁边的箭头。 +1. 在“{% data variables.large_files.product_name_short %} 数据”下查看您的带宽和存储使用详情。若要按存储库查看组织的 LFS 数据使用情况,请单击“存储”和“带宽”旁边的箭头。 ![Git LFS 数据使用详情](/assets/images/help/billing/lfs-data.png) diff --git a/translations/zh-CN/data/reusables/dotcom_billing/remove_payment_info.md b/translations/zh-CN/data/reusables/dotcom_billing/remove_payment_info.md index cac9d755a869..d0b6cb59489a 100644 --- a/translations/zh-CN/data/reusables/dotcom_billing/remove_payment_info.md +++ b/translations/zh-CN/data/reusables/dotcom_billing/remove_payment_info.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/10/2022 ms.locfileid: "145100990" --- -1. 通过单击“移除信用卡”或“移除 PayPal 帐户”确认更改 。 +1. 通过单击“移除信用卡”或“移除 PayPal 帐户”确认更改。 diff --git a/translations/zh-CN/data/reusables/dotcom_billing/switch-legacy-billing.md b/translations/zh-CN/data/reusables/dotcom_billing/switch-legacy-billing.md index 857da34a6899..cefd2b9a3534 100644 --- a/translations/zh-CN/data/reusables/dotcom_billing/switch-legacy-billing.md +++ b/translations/zh-CN/data/reusables/dotcom_billing/switch-legacy-billing.md @@ -6,4 +6,4 @@ ms.contentlocale: zh-CN ms.lasthandoff: 09/05/2022 ms.locfileid: "145100985" --- -如果组织使用旧的按仓库结算方案,您可以随时切换到按用户定价。 升级到按用户定价后,您将无法切换回仓库定价。 +如果组织使用旧的按仓库结算方案,您可以随时切换到按用户定价。升级到按用户定价后,您将无法切换回仓库定价。