Skip to content

Commit 1367af2

Browse files
authored
New translation batch for cn (github#28844)
* Add crowdin translations * Run script/i18n/homogenize-frontmatter.js * Run script/i18n/lint-translation-files.js --check rendering * run script/i18n/reset-files-with-broken-liquid-tags.js --language=cn * run script/i18n/reset-known-broken-translation-files.js * Check in cn CSV report
1 parent 9490d1b commit 1367af2

24 files changed

Lines changed: 698 additions & 687 deletions

File tree

‎translations/log/cn-resets.csv‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ translations/zh-CN/content/codespaces/troubleshooting/troubleshooting-your-conne
190190
translations/zh-CN/content/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam.md,broken liquid tags
191191
translations/zh-CN/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md,broken liquid tags
192192
translations/zh-CN/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md,broken liquid tags
193+
translations/zh-CN/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio-code.md,broken liquid tags
193194
translations/zh-CN/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio.md,broken liquid tags
195+
translations/zh-CN/content/copilot/quickstart.md,broken liquid tags
194196
translations/zh-CN/content/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/adding-an-existing-project-to-github-using-github-desktop.md,broken liquid tags
195197
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/configuring-and-customizing-github-desktop/about-git-large-file-storage-and-github-desktop.md,broken liquid tags
196198
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/installing-and-authenticating-to-github-desktop/about-connections-to-github.md,broken liquid tags

‎translations/zh-CN/content/actions/automating-builds-and-tests/building-and-testing-java-with-gradle.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Validate Gradle wrapper
7070
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
7171
- name: Build with Gradle
72-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
72+
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
7373
with:
7474
arguments: build
7575
```
@@ -105,7 +105,7 @@ steps:
105105
- name: Validate Gradle wrapper
106106
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
107107
- name: Run the Gradle package task
108-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
108+
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
109109
with:
110110
arguments: -b ci.gradle package
111111
```
@@ -136,7 +136,7 @@ steps:
136136
- name: Validate Gradle wrapper
137137
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
138138
- name: Build with Gradle
139-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
139+
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
140140
with:
141141
arguments: build
142142
- uses: {% data reusables.actions.action-upload-artifact %}

‎translations/zh-CN/content/actions/publishing-packages/publishing-java-packages-with-gradle.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
- name: Validate Gradle wrapper
9797
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
9898
- name: Publish package
99-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
99+
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
100100
with:
101101
arguments: publish
102102
env:
@@ -167,7 +167,7 @@ jobs:
167167
- name: Validate Gradle wrapper
168168
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
169169
- name: Publish package
170-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
170+
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
171171
with:
172172
arguments: publish
173173
env:
@@ -246,7 +246,7 @@ jobs:
246246
- name: Validate Gradle wrapper
247247
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
248248
- name: Publish package
249-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
249+
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
250250
with:
251251
arguments: publish
252252
env: {% raw %}

‎translations/zh-CN/content/actions/using-github-hosted-runners/about-github-hosted-runners.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ jobs:
8888

8989
Windows 和 Linux 虚拟机的硬件规格:
9090
- 2 核 CPU
91-
- 7 GB RAM 内存
92-
- 14 GB SSD 硬盘空间
91+
- 7 GB of RAM
92+
- 14 GB of SSD space
9393

9494
MacOS 虚拟机的硬件规格:
9595
- 3 核 CPU
96-
- 14 GB RAM 内存
97-
- 14 GB SSD 硬盘空间
96+
- 14 GB of RAM
97+
- 14 GB of SSD space
9898

9999
{% data reusables.actions.supported-github-runners %}
100100

‎translations/zh-CN/content/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription.md‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
11
---
2-
title: Managing your GitHub Copilot subscription
3-
intro: 'Set up your {% data variables.product.prodname_copilot %} trial and manage your subscription.'
2+
title: 管理您的 GitHub Copilot 订阅
3+
intro: '设置 {% data variables.product.prodname_copilot %} 试用版并管理订阅。'
44
versions:
55
feature: copilot
66
type: how_to
77
topics:
88
- Copilot
9-
shortTitle: Your GitHub Copilot subscription
9+
shortTitle: 您的 GitHub Copilot 订阅
1010
---
1111

12-
## Setting up a trial of {% data variables.product.prodname_copilot %}
12+
## 设置 {% data variables.product.prodname_copilot %} 的试用版
1313

1414
{% data reusables.copilot.signup-procedure %}
1515

16-
## Modifying your {% data variables.product.prodname_copilot %} subscription
16+
## 修改 {% data variables.product.prodname_copilot %} 订阅
1717

1818
{% data reusables.user-settings.access_settings %}
1919
{% data reusables.user-settings.billing_plans %}
20-
1. In the "{% data variables.product.prodname_copilot %}" section, select the **Edit** dropdown.
21-
- If you are on a monthly billing cycle, select **Change to yearly billing**.
22-
- If you are on a yearly billing cycle, select **Change to monthly billing**. ![Screenshot of GitHub Copilot section on billing page with edit dropdown emphasized](/assets/images/help/copilot/copilot-settings-edit-dropdown.png)
20+
1. 在“{% data variables.product.prodname_copilot %}”部分中,选择 **Edit(编辑)**下拉列表。
21+
- 如果您处于按月计费周期,请选择 **Change to yearly billing(更改为按年计费)**。
22+
- 如果您处于年度计费周期,请选择 **Change to monthly billing(更改为按月计费)**。 ![计费页面上 GitHub Copilot 部分的屏幕截图,突出显示了编辑下拉列表](/assets/images/help/copilot/copilot-settings-edit-dropdown.png)
2323

2424

25-
## Canceling your {% data variables.product.prodname_copilot %} subscription
25+
## 取消 {% data variables.product.prodname_copilot %} 订阅
2626

27-
You can cancel your {% data variables.product.prodname_copilot %} subscription at any time. If you cancel during your 60 day trial, you won't be charged. If you do not cancel your {% data variables.product.prodname_copilot %} subscription before the end of the 60 day trial, you will be charged according to the billing cycle you selected when setting up the trial.
27+
您可以随时取消 {% data variables.product.prodname_copilot %} 订阅。 如果您在 60 天试用期内取消,则不会向您收取费用。 如果您在 60 天试用期结束前未取消 {% data variables.product.prodname_copilot %} 订阅,我们将根据您在设置试用期时选择的计费周期向您收费。
2828

2929
{% data reusables.user-settings.access_settings %}
3030
{% data reusables.user-settings.billing_plans %}
31-
1. In the "{% data variables.product.prodname_copilot %}" section, select the **Edit** dropdown.
32-
- If you have a paid subscription, click **Cancel {% data variables.product.prodname_copilot %}**.
31+
1. 在“{% data variables.product.prodname_copilot %}”部分中,选择 **Edit(编辑)**下拉列表。
32+
- 如果您有付费订阅,请单击“ **取消 {% data variables.product.prodname_copilot %}**”。
3333

34-
![Screenshot of GitHub Copilot section on billing page with cancel GitHub Copilot option emphasized](/assets/images/help/copilot/copilot-billing-edit-dropdown.png)
34+
![计费页面上 GitHub Copilot 部分的屏幕截图,突出显示了取消 GitHub Copilot 选项](/assets/images/help/copilot/copilot-billing-edit-dropdown.png)
3535

36-
- If you are within your 60 day trial period, click **Cancel trial**. ![Screenshot of GitHub Copilot section on billing page with cancel trial option emphasized](/assets/images/help/copilot/copilot-cancel-trial.png)
36+
- 如果您在 60 天试用期内,请单击 **Cancel trial(取消试用)**。 ![计费页面上 GitHub Copilot 部分的屏幕截图,突出显示了取消试用选项](/assets/images/help/copilot/copilot-cancel-trial.png)
3737

38-
2. In the "Cancel {% data variables.product.prodname_copilot %}" modal, click **I understand, cancel {% data variables.product.prodname_copilot %}**
38+
2. 在“取消 {% data variables.product.prodname_copilot %}”模式中,单击**我了解,取消 {% data variables.product.prodname_copilot %}**
3939

40-
![Screenshot of GitHub Copilot cancel modal with I understand, cancel GitHub Copilot button emphasized](/assets/images/help/copilot/copilot-cancel-modal.png)
40+
![包含“我了解”的 GitHub Copilot 取消模式的屏幕截图,强调显示取消 GitHub Copilot 按钮](/assets/images/help/copilot/copilot-cancel-modal.png)
4141

42-
- If you are within your 60 day trial period, click **I understand, cancel {% data variables.product.prodname_copilot %} trial**.
42+
- 如果您在 60 天试用期内,请单击**我了解,取消 {% data variables.product.prodname_copilot %} 试用**。
4343

44-
![Screenshot of GitHub Copilot cancel trial modal with I understand, cancel trial button emphasized](/assets/images/help/copilot/copilot-trial-cancel-modal.png)
44+
![包含“我了解”的 GitHub Copilot 取消模式的屏幕截图,强调显示取消试用按钮](/assets/images/help/copilot/copilot-trial-cancel-modal.png)
4545

4646
## 延伸阅读
4747

‎translations/zh-CN/content/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Configuring automatic deletion of your codespaces
3-
shortTitle: Configure automatic deletion
2+
title: 配置代码空间的自动删除
3+
shortTitle: 配置自动删除
44
intro: 'Unused codespaces are automatically deleted. You can choose how long your stopped codespaces are retained, up to a maximum of 30 days.'
55
product: '{% data reusables.gated-features.codespaces %}'
66
versions:

‎translations/zh-CN/content/codespaces/managing-codespaces-for-your-organization/restricting-the-retention-period-for-codespaces.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The retention period constraint is only applied to codespaces when they are crea
7070

7171
## 删除策略
7272

73-
You can delete a policy at any time. Deleting a policy has no effect on existing codespaces.
73+
您可以随时删除策略。 删除策略对现有代码空间没有影响。
7474

7575
1. 显示“Codespace policies(代码空间策略)”页。 For more information, see "[Adding a policy to set a maximum codespace retention period](#adding-a-policy-to-set-a-maximum-codespace-retention-period)."
7676
1. 单击要删除的策略右侧的删除按钮。

‎translations/zh-CN/content/copilot/configuring-github-copilot/configuring-github-copilot-in-a-jetbrains-ide.md‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Configuring GitHub Copilot in a JetBrains IDE
3-
intro: 'You can enable, configure, and disable {% data variables.product.prodname_copilot %} in a JetBrains IDE.'
2+
title: 在 JetBrains IDE 中配置 GitHub Copilot
3+
intro: '您可以在 JetBrains IDE 中启用、配置和禁用 {% data variables.product.prodname_copilot %}。'
44
product: '{% data reusables.gated-features.copilot %}'
55
topics:
66
- Copilot
@@ -9,28 +9,28 @@ versions:
99
shortTitle: JetBrains
1010
---
1111

12-
## About {% data variables.product.prodname_copilot %} in JetBrains IDEs
12+
## 关于 JetBrains IDE 中的 {% data variables.product.prodname_copilot %}
1313

14-
If you use a Jetbrains IDE, {% data variables.product.prodname_copilot %} can autocomplete code as you type. After installation, you can enable or disable {% data variables.product.prodname_copilot %}, and you can configure advanced settings within your IDE or on {% data variables.product.prodname_dotcom_the_website %}.
14+
如果使用 Jetbrains IDE, {% data variables.product.prodname_copilot %} 可以在键入时自动完成代码。 安装后,可以启用或禁用 {% data variables.product.prodname_copilot %},并且可以在 IDE 中或 {% data variables.product.prodname_dotcom_the_website %} 上配置高级设置。
1515

1616
## 基本要求
1717

18-
To configure {% data variables.product.prodname_copilot %} in a JetBrains IDE, you must install the {% data variables.product.prodname_copilot %} plugin. For more information, see "[Getting started with {% data variables.product.prodname_copilot %} in a JetBrains IDE](/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-a-jetbrains-ide)."
18+
要在 JetBrains IDE 中配置 {% data variables.product.prodname_copilot %} ,必须安装 {% data variables.product.prodname_copilot %} 插件。 更多信息请参阅“[JetBrains IDE中的 {% data variables.product.prodname_copilot %} 使用入门](/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-a-jetbrains-ide)”。
1919

2020
## {% data variables.product.prodname_copilot %} 的键盘快捷键
2121

22-
You can use the default keyboard shortcuts for inline suggestions in your JetBrains IDE when using {% data variables.product.prodname_copilot %}. Alternatively, you can rebind the shortcuts to your preferred keyboard shortcuts for each specific command. For more information on rebinding keyboard shortcuts in your JetBrains IDE, see the JetBrains documentation. For example, you can view the [IntelliJ IDEA](https://www.jetbrains.com/help/idea/mastering-keyboard-shortcuts.html#choose-keymap) documentation.
22+
使用 {% data variables.product.prodname_copilot %} 时,您可以在 JetBrains IDE 中对内联建议使用默认键盘快捷键。 Alternatively, you can rebind the shortcuts to your preferred keyboard shortcuts for each specific command. For more information on rebinding keyboard shortcuts in your JetBrains IDE, see the JetBrains documentation. For example, you can view the [IntelliJ IDEA](https://www.jetbrains.com/help/idea/mastering-keyboard-shortcuts.html#choose-keymap) documentation.
2323

2424
{% mac %}
2525

26-
| 操作 | 快捷键 |
27-
|:-------------------------------------------------------------- |:---------------------------------------------- |
28-
| 接受内联建议 | <kbd>Tab</kbd> |
29-
| 忽略内联建议 | <kbd>Esc</kbd> |
30-
| 显示下一个内联建议 | <kbd>Option (⌥) or Alt</kbd>+<kbd>]</kbd> |
31-
| 显示上一个内联建议 | <kbd>Option (⌥) or Alt</kbd>+<kbd>[</kbd> |
32-
| 触发内联建议 | <kbd>Option (⌥)</kbd>+<kbd>\</kbd> |
33-
| 打开 {% data variables.product.prodname_copilot %} (其他建议在单独的窗格中) | <kbd>Option (⌥) or Alt</kbd>+<kbd>Return</kbd> |
26+
| 操作 | 快捷键 |
27+
|:-------------------------------------------------------------- |:--------------------------------------------- |
28+
| 接受内联建议 | <kbd>Tab</kbd> |
29+
| 忽略内联建议 | <kbd>Esc</kbd> |
30+
| 显示下一个内联建议 | <kbd>Option (⌥) 或 Alt</kbd>+<kbd>]</kbd> |
31+
| 显示上一个内联建议 | <kbd>Option (⌥) 或 Alt</kbd>+<kbd>[</kbd> |
32+
| 触发内联建议 | <kbd>Option (⌥)</kbd>+<kbd>\</kbd> |
33+
| 打开 {% data variables.product.prodname_copilot %} (其他建议在单独的窗格中) | <kbd>Option (⌥) 或 Alt</kbd>+<kbd>Return</kbd> |
3434

3535
{% endmac %}
3636

@@ -62,10 +62,10 @@ You can use the default keyboard shortcuts for inline suggestions in your JetBra
6262

6363
## 启用或禁用 {% data variables.product.prodname_copilot %}
6464

65-
You can enable or disable {% data variables.product.prodname_copilot %} from within your JetBrains IDE. The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the JetBrains window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. 启用后,该图标将突出显示。 禁用后,图标将灰显。
65+
您可以从 JetBrains IDE 中启用或禁用 {% data variables.product.prodname_copilot %}。 The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the JetBrains window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. 启用后,该图标将突出显示。 禁用后,图标将灰显。
6666

6767
1. 要启用或禁用 {% data variables.product.prodname_copilot %},请单击 JetBrains 窗口底部面板中的状态图标。 ![Status icon in JetBrains](/assets/images/help/copilot/status-icon-jetbrains.png)
68-
2. 如果要禁用 {% data variables.product.prodname_copilot %},系统将询问您是要全局禁用它,还是要禁用当前正在编辑的文件的语言。 To disable globally, click **Disable Completions**. Alternatively, click the language-specific button to disable {% data variables.product.prodname_copilot %} for the specified language. ![Disable {% data variables.product.prodname_copilot %} globally or for the current language](/assets/images/help/copilot/disable-copilot-global-or-langugage-jetbrains.png)
68+
2. 如果要禁用 {% data variables.product.prodname_copilot %},系统将询问您是要全局禁用它,还是要禁用当前正在编辑的文件的语言。 要全局禁用,请单击 **Disable Completions(禁用完成)**。 或者,单击特定于语言的按钮以禁用指定语言的 {% data variables.product.prodname_copilot %}。 ![Disable {% data variables.product.prodname_copilot %} globally or for the current language](/assets/images/help/copilot/disable-copilot-global-or-langugage-jetbrains.png)
6969

7070
## Configuring advanced settings for {% data variables.product.prodname_copilot %}
7171

‎translations/zh-CN/content/copilot/configuring-github-copilot/configuring-github-copilot-in-neovim.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Configuring GitHub Copilot in Neovim
3-
intro: 'You can enable, configure, and disable {% data variables.product.prodname_copilot %} in Neovim.'
2+
title: 在 Neovim 中配置 GitHub Copilot
3+
intro: '您可以在 Neovim 中启用、配置和禁用 {% data variables.product.prodname_copilot %}。'
44
product: '{% data reusables.gated-features.copilot %}'
55
versions:
66
feature: copilot
@@ -9,9 +9,9 @@ topics:
99
shortTitle: Neovim
1010
---
1111

12-
## Configuring {% data variables.product.prodname_copilot %} in Neovim
12+
## 在 Neovim 中配置 {% data variables.product.prodname_copilot %}
1313

14-
For guidance on configuring {% data variables.product.prodname_copilot %} in Neovim, invoke the {% data variables.product.prodname_copilot %} documentation in Neovim by running the following command.
14+
有关在 Neovim 中配置 {% data variables.product.prodname_copilot %} 的指南,请通过运行以下命令调用 Neovim 中的 {% data variables.product.prodname_copilot %} 文档。
1515

1616
:help copilot
1717

‎translations/zh-CN/content/copilot/configuring-github-copilot/index.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Configuring GitHub Copilot
3-
shortTitle: Configure GitHub Copilot
4-
intro: 'You can enable, configure, or disable {% data variables.product.prodname_copilot %} in a supported IDE.'
2+
title: 配置 GitHub Copilot
3+
shortTitle: 配置 GitHub Copilot
4+
intro: '您可以在受支持的 IDE 中启用、配置或禁用 {% data variables.product.prodname_copilot %}。'
55
versions:
66
feature: copilot
77
topics:

0 commit comments

Comments
 (0)