Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bug Report - Bug反馈
description: Create a report to help us improve. - 反馈问题,帮助我们改进
name: Bug Report - Bug 反馈
description: Create a report to help us improve. - 反馈问题,帮助我们改进。
title: "[Bug] "
labels:
- 🐛 bug
Expand All @@ -8,8 +8,8 @@ body:
- type: markdown
attributes:
value: |
Before filling in this `issue`, please make sure that there are no similar or duplicate `issues` that have been opened.
填写此 `issue` 前,请先确认已经开启的 `issue` 没有类似或重复的 `issue`。
Before submitting this `issue`, please make sure there are no similar or duplicate `issues` already open.
填写此 `issue` 前,请先确认已开启的 `issue` 中没有类似或重复的 `issue`。

- type: dropdown
id: system
Expand All @@ -27,8 +27,8 @@ body:
attributes:
label: Minecraft Version Details - Minecraft 版本信息
description: |
What version of Minecraft do you use?
你使用的 Minecraft 版本是什么
Which version of Minecraft are you using?
你使用的 Minecraft 版本是什么?
placeholder: Minecraft version
validations:
required: true
Expand All @@ -50,19 +50,19 @@ body:
attributes:
label: Version Details - 版本信息
description: |
What version of Mod do you use?
你使用的 Mod 版本是什么
Which version of the mod are you using?
你使用的模组版本是什么?
placeholder: Mod version
validations:
required: true

- type: textarea
id: exist
attributes:
label: Existing behavior - 现有行为
label: Existing behavior - 当前行为
description: |
Please describe the problem you have encountered carefully.
请仔细描述你所遇到的问题。
Please describe the problem you encountered in detail.
请详细描述你遇到的问题。
validations:
required: true

Expand All @@ -71,25 +71,25 @@ body:
attributes:
label: Expected behavior - 预期行为
description: |
Please describe in detail the results you wish to achieve.
请仔细描述你要得到的结果。
Please describe the expected behavior in detail.
请详细描述你预期的结果。
validations:
required: true

- type: textarea
id: reproduce
attributes:
label: To Reproduce - 复现问题
label: To Reproduce - 复现步骤
description: |
How do you trigger this bug? Please walk us through it step by step.
这个bug是怎么触发的?请详细告诉我们是怎样出现这个情况的。
How do you trigger this bug? Please provide step-by-step instructions.
这个 bug 是怎么触发的?请详细说明复现步骤。
validations:
required: false

- type: checkboxes
id: know
attributes:
label: This issue is unique - 这个issue是唯一的
label: This issue is unique - 此 Issue 是唯一的
options:
- label: I have searched the issue tracker and did not find an issue describing my bug. - 我已经搜索问题追踪器并且没有发现相同的 issue。
- label: I have searched the issue tracker and did not find an issue describing my bug. - 我已搜索问题追踪器,且未找到描述相同问题的 Issue。
required: true
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Feature request - 功能请求
description: Suggest an idea for this project - 为这个项目推荐一个新想法
description: Suggest an idea for this project - 为该项目提出新想法
title: "[Feature] "
labels:
- 🪁 enhancement
Expand All @@ -8,22 +8,22 @@ body:
- type: markdown
attributes:
value: |
Before filling in this `issue`, please make sure that there are no similar or duplicate `issues` that have been opened.
填写此 `issue` 前,请先确认已经开启的 `issue` 没有类似或重复的 `issue`。
Before submitting this `issue`, please make sure there are no similar or duplicate `issues` already open.
填写此 `issue` 前,请先确认已开启的 `issue` 中没有类似或重复的 `issue`。

- type: textarea
attributes:
label: What new features do you want? - 你想要什么新功能?
description: |
What new feature or change you want? How it improves? Please tell us the requirements is with a clear and detailed description, put your screenshots if possible.
你想要什么新功能或者什么改变?这会带来什么提升?请清晰而详细地描述你的需求,如果可以的话最好附带截图。
What new feature or improvement would you like to see, and how would it help? Please describe your request clearly and in detail, and include screenshots if possible.
你想要什么新功能或改进?这会带来什么提升?请清晰、详细地描述你的需求,并尽可能附上截图。
validations:
required: true

- type: checkboxes
id: know
attributes:
label: This issue is unique - 这个issue是唯一的
label: This issue is unique - 此 Issue 是唯一的
options:
- label: I have searched the issue tracker and did not find an issue describing my bug. - 我已经搜索问题追踪器并且没有发现相同的 issue。
- label: I have searched the issue tracker and did not find an issue describing my request. - 我已搜索问题追踪器,且未找到描述相同请求的 Issue。
required: true
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ body:
- type: markdown
attributes:
value: |
这是一个项目内部使用的 `issue` 模板,请不要使用这个模板!
This is an internal `issue` template for a project, please do not use this template!
这是一个仅供项目内部使用的 `issue` 模板,请勿使用!
This is an internal `issue` template for the project. Please do not use it!

- type: input
attributes:
label: Matters to be added to TODO - 将要加入TODO的事项
label: Items to be added to TODO - 要加入 TODO 的事项
validations:
required: true

- type: textarea
attributes:
label: Describe what this TODO will do - 描述这个TODO要做的事情
label: Describe what this TODO entails - 描述该 TODO 的具体内容
validations:
required: false
16 changes: 8 additions & 8 deletions src/generated/resources/assets/middle_key_ping/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"chat.middle_key_ping.enemy": "%s There are enemy here.",
"chat.middle_key_ping.generic": "%s Marks a location.",
"chat.middle_key_ping.enemy": "%s Enemy here.",
"chat.middle_key_ping.generic": "%s Marked a location.",
"chat.middle_key_ping.goto": "%s Go here.",
"chat.middle_key_ping.player": "[%s]",
"chat.middle_key_ping.warning": "%s Be careful here.",
"key.categories.middle_key_ping": "Middle Key Ping",
"key.middle_key_ping.enemy": "Enemy",
"key.middle_key_ping.generic": "Generic",
"key.middle_key_ping.goto": "Goto",
"key.middle_key_ping.goto": "Go To",
"key.middle_key_ping.uniform": "Uniform",
"key.middle_key_ping.warning": "Warning",
"middle_key_ping.configuration.allow_ping_empty": "Allow Ping Empty",
"middle_key_ping.configuration.allow_ping_empty.tooltip": "If set to false, points that are beyond the specified distance or are not selected will not be marked",
"middle_key_ping.configuration.allow_ping_empty": "Allow Pinging Empty Space",
"middle_key_ping.configuration.allow_ping_empty.tooltip": "If disabled, locations beyond the maximum distance or without a target will not be marked.",
"middle_key_ping.configuration.enemy_color": "Enemy Color",
"middle_key_ping.configuration.enemy_text_color": "Enemy Text Color",
"middle_key_ping.configuration.generic_color": "Generic Color",
"middle_key_ping.configuration.generic_text_color": "Generic Text Color",
"middle_key_ping.configuration.goto_color": "Goto Color",
"middle_key_ping.configuration.goto_text_color": "Goto Text Color",
"middle_key_ping.configuration.goto_color": "Go To Color",
"middle_key_ping.configuration.goto_text_color": "Go To Text Color",
"middle_key_ping.configuration.max_ping_count": "Max Ping Count",
"middle_key_ping.configuration.max_ping_distance": "Max Ping Distance",
"middle_key_ping.configuration.max_ping_distance.tooltip": "The maximum distance allowed for the creation of punctuation marks",
"middle_key_ping.configuration.max_ping_distance.tooltip": "The maximum distance allowed for placing pings.",
"middle_key_ping.configuration.section.middle_key_ping.client.toml": "Middle Key Ping Client Configuration",
"middle_key_ping.configuration.section.middle_key_ping.client.toml.title": "Middle Key Ping Client Configuration",
"middle_key_ping.configuration.title": "Middle Key Ping Configuration",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package dev.anvilcraft.ping.client;

import com.google.gson.annotations.SerializedName;
import dev.anvilcraft.lib.v2.config.BoundedDiscrete;
import dev.anvilcraft.lib.v2.config.Comment;
import dev.anvilcraft.lib.v2.config.Config;
Expand All @@ -14,15 +15,18 @@ public class MiddleKeyPingConfig {
public String genericTextColor = "#DDDDDDFF";
public String warningColor = "#FFFF00FF";
public String warningTextColor = "#0000FFFF";
@SerializedName("Go To Color")
public String gotoColor = "#00FF00FF";
@SerializedName("Go To Text Color")
public String gotoTextColor = "#FF00FFFF";
public String enemyColor = "#FF0000FF";
public String enemyTextColor = "#00FFFFFF";

@Comment("If set to false, points that are beyond the specified distance or are not selected will not be marked")
@Comment("If disabled, locations beyond the maximum distance or without a target will not be marked.")
@SerializedName("Allow Pinging Empty Space")
public boolean allowPingEmpty = true;

@Comment("The maximum distance allowed for the creation of punctuation marks")
@Comment("The maximum distance allowed for placing pings.")
@BoundedDiscrete(min = 16, max = 1024)
public int maxPingDistance = 200;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ protected void addTranslations() {
this.add("key.middle_key_ping.uniform", "Uniform");
this.add("key.middle_key_ping.generic", "Generic");
this.add("key.middle_key_ping.warning", "Warning");
this.add("key.middle_key_ping.goto", "Goto");
this.add("key.middle_key_ping.goto", "Go To");
this.add("key.middle_key_ping.enemy", "Enemy");
this.add("key.categories.middle_key_ping", "Middle Key Ping");
this.add("chat.middle_key_ping.player", "[%s]");
this.add("chat.middle_key_ping.generic", "%s Marks a location.");
this.add("chat.middle_key_ping.generic", "%s Marked a location.");
this.add("chat.middle_key_ping.warning", "%s Be careful here.");
this.add("chat.middle_key_ping.goto", "%s Go here.");
this.add("chat.middle_key_ping.enemy", "%s There are enemy here.");
this.add("chat.middle_key_ping.enemy", "%s Enemy here.");
}
}
6 changes: 3 additions & 3 deletions src/main/resources/assets/middle_key_ping/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"middle_key_ping.configuration.max_ping_count": "最大标点数量",
"middle_key_ping.configuration.max_ping_distance": "最大标点距离",
"middle_key_ping.configuration.max_ping_distance.tooltip": "允许创建标点的最大距离",
"middle_key_ping.configuration.section.middle_key_ping.client.toml": "中键标点 客户端配置",
"middle_key_ping.configuration.section.middle_key_ping.client.toml.title": "中键标点 客户端配置",
"middle_key_ping.configuration.title": "中键标点 配置",
"middle_key_ping.configuration.section.middle_key_ping.client.toml": "中键标点客户端配置",
"middle_key_ping.configuration.section.middle_key_ping.client.toml.title": "中键标点客户端配置",
"middle_key_ping.configuration.title": "中键标点配置",
"middle_key_ping.configuration.warning_color": "警告标点颜色",
"middle_key_ping.configuration.warning_text_color": "警告标点文字颜色"
}
Loading