From 7f07af53a551e05730319dfe1dd643c747fd96ea Mon Sep 17 00:00:00 2001 From: AnvilDev-bot <310299750+AnvilDev-bot@users.noreply.github.com> Date: Thu, 29 Oct 2026 19:34:32 +0900 Subject: [PATCH 1/2] docs: polish locale text with Gemini Argon (partial batch 1) --- .../assets/middle_key_ping/lang/en_us.json | 16 ++++++++-------- .../ping/client/MiddleKeyPingConfig.java | 8 ++++++-- .../ping/data/MiddleKeyPingLanguageProvider.java | 6 +++--- .../assets/middle_key_ping/lang/zh_cn.json | 6 +++--- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/generated/resources/assets/middle_key_ping/lang/en_us.json b/src/generated/resources/assets/middle_key_ping/lang/en_us.json index 94d9872..25ad0df 100644 --- a/src/generated/resources/assets/middle_key_ping/lang/en_us.json +++ b/src/generated/resources/assets/middle_key_ping/lang/en_us.json @@ -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", diff --git a/src/main/java/dev/anvilcraft/ping/client/MiddleKeyPingConfig.java b/src/main/java/dev/anvilcraft/ping/client/MiddleKeyPingConfig.java index dd55d9c..2810931 100644 --- a/src/main/java/dev/anvilcraft/ping/client/MiddleKeyPingConfig.java +++ b/src/main/java/dev/anvilcraft/ping/client/MiddleKeyPingConfig.java @@ -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; @@ -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; diff --git a/src/main/java/dev/anvilcraft/ping/data/MiddleKeyPingLanguageProvider.java b/src/main/java/dev/anvilcraft/ping/data/MiddleKeyPingLanguageProvider.java index 5e62b7c..3842d6d 100644 --- a/src/main/java/dev/anvilcraft/ping/data/MiddleKeyPingLanguageProvider.java +++ b/src/main/java/dev/anvilcraft/ping/data/MiddleKeyPingLanguageProvider.java @@ -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."); } } diff --git a/src/main/resources/assets/middle_key_ping/lang/zh_cn.json b/src/main/resources/assets/middle_key_ping/lang/zh_cn.json index bfab545..55429f3 100644 --- a/src/main/resources/assets/middle_key_ping/lang/zh_cn.json +++ b/src/main/resources/assets/middle_key_ping/lang/zh_cn.json @@ -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": "警告标点文字颜色" } \ No newline at end of file From bcf5d776fa390cf1909bad2673f6ffb40c4dd002 Mon Sep 17 00:00:00 2001 From: AnvilDev-bot <310299750+AnvilDev-bot@users.noreply.github.com> Date: Fri, 30 Oct 2026 01:52:28 +0900 Subject: [PATCH 2/2] docs: polish reviewed documentation with Gemini Argon --- .github/ISSUE_TEMPLATE/bug_report.yml | 36 +++++++++++----------- .github/ISSUE_TEMPLATE/feature_request.yml | 14 ++++----- .github/ISSUE_TEMPLATE/todo.yml | 8 ++--- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 3d3040e..80c860b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -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 @@ -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 @@ -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 @@ -50,8 +50,8 @@ 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 @@ -59,10 +59,10 @@ body: - 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 @@ -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 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 44e8d20..1f02fd4 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -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 @@ -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 diff --git a/.github/ISSUE_TEMPLATE/todo.yml b/.github/ISSUE_TEMPLATE/todo.yml index 4fc31e0..dba00df 100644 --- a/.github/ISSUE_TEMPLATE/todo.yml +++ b/.github/ISSUE_TEMPLATE/todo.yml @@ -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