Skip to content

Commit 391d3cf

Browse files
authored
chore: 更新CI中英文翻译 (#907)
* chore: 更新CI中英文翻译 * chore: 将issue自动关闭日期增加到15天
1 parent bd4eca3 commit 391d3cf

File tree

5 files changed

+20
-15
lines changed

5 files changed

+20
-15
lines changed

.github/workflows/issue-close-require.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,19 @@ jobs:
1313
with:
1414
actions: 'close-issues'
1515
labels: '🤔 Need Reproduce'
16-
inactive-day: 7
16+
inactive-day: 15
1717
body: |
18-
由于该 issue 被标记为需要复现,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。(Cause this issue was labeled as ‘need reproduce’ but received no replay in 7 days, it was going to be closed now. If you have any questions, feel free to comment.)
18+
由于该 issue 被标记为需要复现,却 15 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
19+
20+
Since the issue was labeled as "need reproduce" but no response was received for 15 days. Now close the issue. If you have any questions, feel free to comment.
1921
2022
- name: Needs more info
2123
uses: actions-cool/issues-helper@main
2224
with:
2325
actions: 'close-issues'
2426
labels: '👀 need more info'
25-
inactive-day: 7
27+
inactive-day: 15
2628
body: |
27-
由于该 issue 被标记为需要复现,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。(Cause this issue was labeled as ‘need reproduce’ but received no replay in 7 days, it was going to be closed now. If you have any questions, feel free to comment.)
29+
由于该 issue 被标记为需要复现,却 15 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
30+
31+
Since the issue was labeled as "need reproduce" but no response was received for 15 days. Now close the issue. If you have any questions, feel free to comment.

.github/workflows/issue-labeled.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
token: ${{ secrets.GITHUB_TOKEN }}
1818
issue-number: ${{ github.event.issue.number }}
1919
body: |
20-
你好 @${{ github.event.issue.user.login }},请提供一个可以在线访问的链接, 或者使用 [codesandbox](https://codesandbox.io/s/29zle) 并详细说明复现步骤, 7天内未回复issue自动关闭
20+
你好 @${{ github.event.issue.user.login }},请提供一个可以在线访问的链接, 或者 [codesandbox](https://codesandbox.io/s/29zle) 示例并详细说明复现步骤, 15 天内未回复issue自动关闭
2121
22-
Hello, @${{ github.event.issue.user.login }}, please provide an accessible link or use [codesandbox](https://codesandbox.io/s/29zle) to describe the step. It will be closed if we receive no replay in 7 days.
22+
Hello, @${{ github.event.issue.user.login }}, please provide an accessible link or [codesandbox](https://codesandbox.io/s/29zle) usage to describe the reproduction steps. The issue will be closed without any replay within 15 days.
2323
2424
- name: Need more info
2525
if: github.event.label.name == '👀 need more info'
@@ -31,7 +31,7 @@ jobs:
3131
body: |
3232
你好 @${{ github.event.issue.user.login }},你所提供的信息不足于我们排查问题, 请完善 issue 描述, 提供 gif, 截图等方式, 详细说明复现步骤, 感谢配合, 谢谢!
3333
34-
Hello, @${{ github.event.issue.user.login }}, the information you provided is not enough for us to trace the problem. Please complete the issue description, provide gifs, screenshots, etc. and explain the reproduction steps in detail. Thank you so much for being so cooperative!
34+
Hello, @${{ github.event.issue.user.login }}, the information you provided is not enough for us to troubleshoot the problem. Please complete the issue description, provide gifs, screenshots, etc. And explain the reproduction steps in detail. Thanks so much for your cooperation!
3535
3636
- name: Invalid
3737
if: github.event.label.name == '⛔ invalid'
@@ -43,7 +43,7 @@ jobs:
4343
body: |
4444
你好 @${{ github.event.issue.user.login }},请按照 issue 模板填写相关信息, 方便大家高效沟通。
4545
46-
Hello @${{ github.event.issue.user.login }}, please fill in the relevant information according to the issue template, so that everyone can communicate efficiently. Thank you so much!
46+
Hello @${{ github.event.issue.user.login }}, please fill in the relevant information according to the issue template to facilitate communication efficiently. Thanks so much!
4747
4848
- name: Enhancement
4949
if: github.event.label.name == '⚡ enhancement'
@@ -67,7 +67,7 @@ jobs:
6767
body: |
6868
你好 @${{ github.event.issue.user.login }},很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.
6969
70-
Hello, @${{ github.event.issue.user.login }}, We are very sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the subsequent change logs.
70+
Hello, @${{ github.event.issue.user.login }}, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.
7171
7272
- name: Usage
7373
if: github.event.label.name == '🙀 usage' || github.event.label.name == '❔question'
@@ -79,7 +79,7 @@ jobs:
7979
body: |
8080
你好 @${{ github.event.issue.user.login }},Issue 板块是用于 bug 反馈与需求讨论的地方。你可以试着在 [antv s2 discussions](https://github.com/antvis/S2/discussions) 新开一个 discussion,选择 `🙏Q&A` 类别进行提问, 我们会及时进行解答, 感谢你的理解。
8181
82-
Hello, @${{ github.event.issue.user.login }}. The Issue section is used for bug feedback and requirement discussion. You can try to open a new discussion in [antv s2 discussions](https://github.com/antvis/S2/discussions), choose the `🙏Q&A` category to ask questions, we will answer in time. Thank you so much for being so understanding.
82+
Hello, @${{ github.event.issue.user.login }}. The Issue section is used for bug feedback and requirement discussion. You could open a new discussion in [antv s2 discussions](https://github.com/antvis/S2/discussions), choose the `🙏Q&A` category to ask questions. We will answer in time. Thanks so much for your understanding.
8383
8484
- name: Accepted
8585
if: github.event.label.name == '✅ accepted'
@@ -91,4 +91,4 @@ jobs:
9191
body: |
9292
你好 @${{ github.event.issue.user.login }},经过我们的反复讨论, 你的需求现已被采纳, 我们会排期开发, 请关注后续发布日志.
9393
94-
Hello, @${{ github.event.issue.user.login }}, After our repeated discussion, your feature request have been accepted, we will schedule the development, please pay attention to the subsequent release log
94+
Hello, @${{ github.event.issue.user.login }}, your feature request have been accepted After our repeated discussion. We will schedule the development, please pay attention to the follow-up release logs

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ jobs:
4444
token: ${{ secrets.GITHUB_TOKEN }}
4545
body: |
4646
你好, @${{ github.event.pull_request.user.login }} CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复
47-
Hello, @${{ github.event.pull_request.user.login }} CI run failed, please click the [Details] button try to fixed it.
47+
48+
Hello, @${{ github.event.pull_request.user.login }} CI run failed, please click the [Details] button for detailed log information and fix it.
4849
<!-- Created by actions-cool/maintain-one-comment -->
4950
emojis: 'eyes'
5051
body-include: '<!-- Created by actions-cool/maintain-one-comment -->'

.github/workflows/pr-labeled.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
body: |
1919
你好 @${{ github.event.pull_request.user.login }},感谢你的贡献, 为了让代码更健壮, 请补充相应单元测试, 如果有API改动, 请修改 [相应的文档](https://github.com/antvis/S2/tree/master/s2-site)
2020
21-
Hello, @${{ github.event.pull_request.user.login }}, Thank you for your contribution. In order to make the code more robust, please supplement the corresponding unit tests, if there are API changes, please edit the [docs](https://github.com/antvis/S2/tree/master/s2-site).
21+
Hello, @${{ github.event.pull_request.user.login }}, Thanks for your contribution. In order to make the code more robust, please add the corresponding unit tests, and update the [docs](https://github.com/antvis/S2/tree/master/s2-site) if there are API changes.
2222
2323
- name: Need more info
2424
if: github.event.label.name == '👀 need more info'
@@ -30,4 +30,4 @@ jobs:
3030
body: |
3131
你好 @${{ github.event.pull_request.user.login }},感谢你的贡献, 请根据模板完善 PR 描述, 说明其改动目的和类型, 以便于我们可以更好的进行 Code Review
3232
33-
Hello, @${{ github.event.pull_request.user.login }}, Thank you for your contribution. Please improve the PR description according to the template, and explain the purpose and type of change, so that we can conduct a better Code Review.
33+
Hello, @${{ github.event.pull_request.user.login }}, Thanks for your contribution. Please improve the PR description based on the template, and explain the purpose and type of changes for a better Code Review.

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
body: |
4646
你好, @${{ github.event.pull_request.user.login }} CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。
4747
48-
Hello, @${{ github.event.pull_request.user.login }} CI run failed, please click the [Details] button try to fixed it.
48+
Hello, @${{ github.event.pull_request.user.login }} CI run failed, please click the [Details] button for detailed log information and fix it.
4949
<!-- Created by actions-cool/maintain-one-comment -->
5050
emojis: 'eyes'
5151
body-include: '<!-- Created by actions-cool/maintain-one-comment -->'

0 commit comments

Comments
 (0)