Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新:更多翻译、修正、文档 #459

Merged
merged 15 commits into from
Sep 7, 2024
Merged
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: 获取插件用法 (本仓库)
url: https://github.com/UnrealMultiple/TShockPlugin?tab=readme-ov-file#%E5%B7%B2%E6%94%B6%E9%9B%86%E6%8F%92%E4%BB%B6
Expand Down
40 changes: 19 additions & 21 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -1,49 +1,47 @@
name: 请求新功能
description: 提交一个本仓库插件BUG
title: '[建议] '
name: 请求新功能 | Request New Feature
description: 提交一个本仓库插件BUG | Submit a bug for this repository plugin
title: '[建议|Suggestion] '
labels: suggest
body:
- type: markdown
attributes:
value: |
很高兴你能提交新的功能,为了能够更好的描述功能,请你填写下面的表格捏
很高兴你能提交新的功能,为了能够更好的描述功能,请你填写下面的表格捏 | We are glad you are submitting a new feature. To better describe the feature, please fill out the form below.
- type: checkboxes
id: read-first-issue
attributes:
label: 已阅须知
description: 我已经阅读发ISSUE必看
label: 已阅须知 | Read the guidelines
description: 我已经阅读发ISSUE必看 | I have read the guidelines for submitting an issue
options:
- label: 是
- label: 是 | Yes
required: true
- type: checkboxes
id: read2
attributes:
label: 功能有益
description: 我已确我提交的功能对大部分服主有益
label: 功能有益 | Feature is beneficial
description: 我已确我提交的功能对大部分服主有益 | I confirm that the feature I am submitting is beneficial to most server owners
options:
- label: 是
- label: 是 | Yes
required: true

- type: input
id: plugin-name
attributes:
label: 插件名字
description: 建议的插件
label: 插件名字 | Plugin Name
description: 建议的插件 | Suggested plugin
placeholder: CaiBotPlugin
validations:
required: true


- type: textarea
id: how-reproduce
attributes:
label: 需要什么功能?
description: 详细的说说你的功能
label: 需要什么功能? | What feature do you need?
description: 详细的说说你的功能 | Describe your feature in detail
placeholder: |
1. 新命令: /slap Cai 给Cai来一巴掌
2. 导出人物存档的功能
3. 给玩家加一个聊天前缀用来显示金币数,比如:[114514]
1. 新命令: /slap Cai 给Cai来一巴掌 | New command: /slap Cai to slap Cai
2. 导出人物存档的功能 | Function to export character saves
3. 给玩家加一个聊天前缀用来显示金币数,比如:[114514] | Add a chat prefix for players to display the number of coins, e.g., [114514]
validations:
required: true


68 changes: 34 additions & 34 deletions .github/ISSUE_TEMPLATE/report_bug.yaml
Original file line number Diff line number Diff line change
@@ -1,94 +1,94 @@
name: 报告BUG
description: 提交一个本仓库插件BUG
name: 报告BUG | Report a Bug
description: 提交一个本仓库插件BUG | Submit a bug for this repository plugin
title: '[BUG] '
labels: bug
body:
- type: markdown
attributes:
value: |
很高兴你能提交新的Bug,为了能够更好的解决问题,请你填写下面的表格捏
很高兴你能提交新的Bug,为了能够更好的解决问题,请你填写下面的表格捏 | We are glad you are submitting a new bug. To better solve the problem, please fill out the form below.
- type: checkboxes
id: read-first-issue
attributes:
label: 已阅须知
description: 我已经阅读发ISSUE必看
label: 已阅须知 | Read the guidelines
description: 我已经阅读发ISSUE必看 | I have read the guidelines for submitting an issue
options:
- label: 是
- label: 是 | Yes
required: true
- type: checkboxes
id: read3
attributes:
label: BUG可复现
description: 我已确保我复现BUG的方法可用
label: BUG可复现 | Bug is reproducible
description: 我已确保我复现BUG的方法可用 | I confirm that the method to reproduce the bug is valid
options:
- label: 是
- label: 是 | Yes
required: true
- type: checkboxes
id: read4
attributes:
label: 插件最新
description: 我已确保我的插件是最新版本
label: 插件最新 | Plugin is up-to-date
description: 我已确保我的插件是最新版本 | I confirm that my plugin is the latest version
options:
- label: 是
- label: 是 | Yes
required: true

- type: input
id: plugin-name
attributes:
label: 插件名字
description: 出问题的插件
label: 插件名字 | Plugin Name
description: 出问题的插件 | Plugin with the issue
placeholder: CaiBotPlugin
validations:
required: true

- type: dropdown
id: system
attributes:
label: 系统
label: 系统 | System
options:
- Windows
- Linux
- Mac
- 手机
- 手机 | Mobile
validations:
required: true

- type: textarea
id: what-happened
attributes:
label: 发生了什么?
description: 填写对问题的描述
label: 发生了什么? | What happened?
description: 填写对问题的描述 | Describe the issue
placeholder: |
输入/slap Cai 结果给Koko打了一巴掌
输入/slap Cai 结果给Koko打了一巴掌 | Entered /slap Cai and ended up slapping Koko
validations:
required: true
- type: textarea
id: how-reproduce
attributes:
label: 如何复现
description: 填写应当如何操作才会让BUG出现
label: 如何复现 | How to reproduce
description: 填写应当如何操作才会让BUG出现 | Describe the steps to reproduce the bug
placeholder: |
1. 输入/slap Cai
2. 然后打了Koko
1. 输入/slap Cai | 1. Enter /slap Cai
2. 然后打了Koko | 2. Then slapped Koko
3. xxx
validations:
required: true

- type: textarea
id: what-expected
attributes:
label: 期望的结果?
description: 填写如果你觉得插件正常,会出现的结果
label: 期望的结果? | Expected result?
description: 填写如果你觉得插件正常,会出现的结果 | Describe the expected result if the plugin works correctly
placeholder: |
输入/slap Cai 会打Cai一巴掌
输入/slap Cai 会打Cai一巴掌 | Entering /slap Cai will slap Cai
validations:
required: true

- type: textarea
id: text-log
attributes:
label: 文本日志
description: tshock文本日志的不正常、报错部分
label: 文本日志 | Text log
description: tshock文本日志的不正常、报错部分 | Abnormal or error parts of the tshock text log
render: shell
placeholder: |
2024-07-17 11:34:58 - Utils: INFO: Server执行了/slap Cai。
Expand All @@ -114,8 +114,8 @@ body:
- type: textarea
id: console-log
attributes:
label: 控制台日志
description: 在控制台的报错截图或文本,没有请忽略
label: 控制台日志 | Console log
description: 在控制台的报错截图或文本,没有请忽略 | In the console’s error screenshots or text, ignore if none.
render: shell
placeholder: |
Server执行了/slap Cai。
Expand Down
Loading
Loading