From f99f82fbff07d746f569a15864af290c6dea598e Mon Sep 17 00:00:00 2001 From: Xujiayao Date: Wed, 11 Mar 2026 19:02:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=A4=E9=94=80=EF=BC=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/main/resources/lang/en_us.yml | 14 +++++++------- core/src/main/resources/lang/zh_cn.yml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/core/src/main/resources/lang/en_us.yml b/core/src/main/resources/lang/en_us.yml index 38620371..b82790b3 100644 --- a/core/src/main/resources/lang/en_us.yml +++ b/core/src/main/resources/lang/en_us.yml @@ -9,7 +9,7 @@ # ================================================== terminal: - started: "Interactive terminal started! Type \"help\" for a list of available commands." + started: "Interactive terminal started. Type \"help\" for a list of available commands." unknown_command: "Unknown command: \"{}\". Type \"help\" for a list of available commands." input_closed: "Terminal input stream closed. Shutting down terminal manager." @@ -106,7 +106,7 @@ commands: success: "Log file \"{}\" retrieved successfully!" list_failed: "Failed to list log files." read_failed: "Failed to read log file: {}" - saved_to_cache: "Log file saved to: {}!" + saved_to_cache: "Log file saved to: {}" save_failed: "Failed to save log file to cache: {}" terminal_not_supported: "Retrieving log files in terminal is not supported. Please access the \"./logs\" directory directly." stats: @@ -193,7 +193,7 @@ server: discord_init_failed: "Failed to initialize Discord Manager. Aborting DMCC Server startup." startup_interrupted: "DMCC Server startup was interrupted." network: - listening: "DMCC Server is now listening on port {}!" + listening: "DMCC Server is now listening on port {}." bind_failed: "Failed to bind to port {}." reject: "Rejected DMCC Client \"{}\" connection. Reason: {}" auth_success: "DMCC Client authenticated: \"{}\"" @@ -223,7 +223,7 @@ client: utils: config: mode: - set: "Operating mode set to \"{}\"!" + set: "Operating mode set to \"{}\"." not_found: "Mode configuration file not found or is empty." creating: "Creating a default one at \"{}\"." edit_prompt: "Please edit \"{}\" before reloading DMCC." @@ -288,13 +288,13 @@ linking: minecraft: translations: - loaded: "Loaded {}/{} Minecraft \"{}\" translations!" + loaded: "Loaded {}/{} Minecraft \"{}\" translations." init_failed: "Failed to initialize Minecraft translations." key_not_found: "Translation not found for key: \"{}\", returning key as-is." - cache_loaded: "Loaded Minecraft \"{}\" translations from cache for version {}!" + cache_loaded: "Loaded Minecraft \"{}\" translations from cache for version {}." cache_read_failed: "Failed to read cached Minecraft translations, will attempt to re-download." downloading: "Downloading Minecraft \"{}\" translations for version {}..." - downloaded: "Downloaded and cached Minecraft \"{}\" translations, file size: {} bytes!" + downloaded: "Downloaded and cached Minecraft \"{}\" translations, file size: {} bytes" download_failed: "Failed to download or cache Minecraft \"{}\" translations for version {}." official_load_failed: "Unexpected error while loading official Minecraft translations." mod_load_failed: "Failed to load translations from mod JAR." diff --git a/core/src/main/resources/lang/zh_cn.yml b/core/src/main/resources/lang/zh_cn.yml index 1e4a14e2..bc170a92 100644 --- a/core/src/main/resources/lang/zh_cn.yml +++ b/core/src/main/resources/lang/zh_cn.yml @@ -9,7 +9,7 @@ # ================================================== terminal: - started: "交互式终端已启动!输入 \"help\" 查看可用命令列表。" + started: "交互式终端已启动。输入 \"help\" 查看可用命令列表。" unknown_command: "未知命令:\"{}\"。输入 \"help\" 查看可用命令列表。" input_closed: "终端输入流已关闭。正在关闭终端管理器。" @@ -106,7 +106,7 @@ commands: success: "已成功获取日志文件 \"{}\"!" list_failed: "列出日志文件失败。" read_failed: "读取日志文件失败:{}" - saved_to_cache: "日志文件已保存到:{}!" + saved_to_cache: "日志文件已保存到:{}" save_failed: "保存日志文件到缓存失败:{}" terminal_not_supported: "在终端中获取日志文件不受支持。请直接访问 \"./logs\" 目录。" stats: @@ -193,7 +193,7 @@ server: discord_init_failed: "初始化 Discord 管理器失败。正在中止 DMCC 服务端启动。" startup_interrupted: "DMCC 服务端启动被中断。" network: - listening: "DMCC 服务端正在监听端口 {}!" + listening: "DMCC 服务端正在监听端口 {}。" bind_failed: "无法绑定端口 {}。" reject: "拒绝与 DMCC 客户端 \"{}\" 连接。原因:{}" auth_success: "DMCC 客户端连接成功:\"{}\"" @@ -223,7 +223,7 @@ client: utils: config: mode: - set: "运行模式已设置为 \"{}\"!" + set: "运行模式已设置为 \"{}\"。" not_found: "模式配置文件未找到或为空。" creating: "正在于 \"{}\" 创建默认文件。" edit_prompt: "请在重新加载 DMCC 之前编辑 \"{}\"。" @@ -288,13 +288,13 @@ linking: minecraft: translations: - loaded: "已加载 {}/{} 条 Minecraft \"{}\" 翻译!" + loaded: "已加载 {}/{} 条 Minecraft \"{}\" 翻译。" init_failed: "初始化 Minecraft 翻译失败。" key_not_found: "未找到键的翻译:\"{}\",将按原样返回键。" - cache_loaded: "已从缓存加载版本 {1} 的 Minecraft \"{0}\" 翻译!" + cache_loaded: "已从缓存加载版本 {1} 的 Minecraft \"{0}\" 翻译。" cache_read_failed: "读取缓存的 Minecraft 翻译失败,将尝试重新下载。" downloading: "正在下载 Minecraft 版本 {1} 的 \"{0}\" 翻译..." - downloaded: "已下载并缓存 Minecraft \"{}\" 翻译,文件大小:{} 字节!" + downloaded: "已下载并缓存 Minecraft \"{}\" 翻译,文件大小:{} 字节" download_failed: "下载或缓存 Minecraft 版本 {1} 的 \"{0}\" 翻译失败。" official_load_failed: "加载官方 Minecraft 翻译时发生意外错误。" mod_load_failed: "无法从模组 JAR 加载翻译。"