优化语言文件

This commit is contained in:
Xujiayao 2026-01-18 22:03:00 +08:00
parent ce610367d5
commit f2a3329895
2 changed files with 14 additions and 12 deletions

View file

@ -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!"

View file

@ -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 语言资源已完全加载!"