From f2a3329895a2ce7b8655cc45a1cf7055da47c90e Mon Sep 17 00:00:00 2001 From: Xujiayao Date: Sun, 18 Jan 2026 22:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AF=AD=E8=A8=80=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/main/resources/lang/en_us.yml | 13 +++++++------ core/src/main/resources/lang/zh_cn.yml | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/core/src/main/resources/lang/en_us.yml b/core/src/main/resources/lang/en_us.yml index 0e340445..4f3adaa4 100644 --- a/core/src/main/resources/lang/en_us.yml +++ b/core/src/main/resources/lang/en_us.yml @@ -30,10 +30,10 @@ commands: main: init: - info_minecraft_env: "Initializing DMCC {} in a Minecraft environment." - info_standalone_env: "Initializing DMCC {} in a Standalone environment." - reload_prompt: "Please correct the errors mentioned above, then run \"/dmcc reload\"." - restart_prompt: "Please correct the errors mentioned above, then restart DMCC." + info_minecraft_env: "Initializing DMCC in a Minecraft environment..." + info_standalone_env: "Initializing DMCC in a Standalone environment..." + minecraft_reload_prompt: "Please correct the errors mentioned above, then run \"/dmcc reload\"." + standalone_reload_prompt: "Please correct the errors mentioned above, then reload DMCC." success: "DMCC initialized successfully!" failed: "An error occurred during DMCC initialization." shutdown: @@ -43,7 +43,7 @@ main: discord: manager: - token_missing: "Discord bot token is not set in the config file!" + token_missing: "Discord bot token is not set in the config file." init_interrupted: "Discord bot initialization was interrupted." waiting_ready: "Waiting for JDA to be ready. This may take a while... (should be within 1 minute)" ready: "Discord bot is ready. Logged in as tag: \"{}\"" @@ -73,7 +73,7 @@ utils: not_found: "Configuration file not found or is empty." creating: "Creating a default one at \"{}\"." edit_prompt: "Please edit \"{}\" before reloading DMCC." - mode_mismatch: "Mode mismatch detected!" + mode_mismatch: "Mode mismatch detected." mode_mismatch_detail: "The expected mode is \"{}\" (from mode.yml or environment), but config.yml is for \"{}\"." backup_prompt: "Please backup and delete your existing config.yml to allow DMCC to generate a new and correct one." validation_failed: "Validation of config.yml failed." @@ -99,3 +99,4 @@ utils: custom_edit_prompt: "If you wish to customize messages, please edit \"{}\" and reload DMCC." custom_validation_failed: "Validation of custom message config failed." custom_load_failed: "Failed to load custom messages." + fully_loaded: "DMCC language resources fully loaded!" diff --git a/core/src/main/resources/lang/zh_cn.yml b/core/src/main/resources/lang/zh_cn.yml index 2627bc32..7c6a38d3 100644 --- a/core/src/main/resources/lang/zh_cn.yml +++ b/core/src/main/resources/lang/zh_cn.yml @@ -30,10 +30,10 @@ commands: main: init: - info_minecraft_env: "正在 Minecraft 环境中初始化 DMCC {}。" - info_standalone_env: "正在独立环境中初始化 DMCC {}。" - reload_prompt: "请更正上述错误,然后运行 \"/dmcc reload\"。" - restart_prompt: "请更正上述错误,然后重新启动 DMCC。" + info_minecraft_env: "正在 Minecraft 环境中初始化 DMCC..." + info_standalone_env: "正在独立环境中初始化 DMCC..." + minecraft_reload_prompt: "请更正上述错误,然后运行 \"/dmcc reload\"。" + standalone_reload_prompt: "请更正上述错误,然后重新加载 DMCC。" success: "DMCC 初始化成功!" failed: "DMCC 初始化期间发生错误。" shutdown: @@ -43,7 +43,7 @@ main: discord: manager: - token_missing: "配置文件中未设置 Discord 机器人令牌!" + token_missing: "配置文件中未设置 Discord 机器人令牌。" init_interrupted: "Discord 机器人初始化被中断。" waiting_ready: "正在等待 JDA 就绪。这可能需要一段时间...(理应在 1 分钟以内)" ready: "Discord 机器人已就绪。登录标签为:\"{}\"" @@ -73,7 +73,7 @@ utils: not_found: "配置文件未找到或为空。" creating: "正在于 \"{}\" 创建默认文件。" edit_prompt: "请在重新加载 DMCC 之前编辑 \"{}\"。" - mode_mismatch: "检测到模式不匹配!" + mode_mismatch: "检测到模式不匹配。" mode_mismatch_detail: "期望的模式是 \"{}\"(来自 mode.yml 或环境),但 config.yml 是针对 \"{}\" 的。" backup_prompt: "请备份并删除现有的 config.yml,以便 DMCC 生成新的正确文件。" validation_failed: "config.yml 验证失败。" @@ -99,3 +99,4 @@ utils: custom_edit_prompt: "如果你希望自定义消息,请编辑 \"{}\" 并重新加载 DMCC。" custom_validation_failed: "自定义消息配置验证失败。" custom_load_failed: "加载自定义消息失败。" + fully_loaded: "DMCC 语言资源已完全加载!"