mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 19:45:14 +00:00
免去replacing_lang
This commit is contained in:
parent
6964443629
commit
b150f4db11
3 changed files with 0 additions and 3 deletions
|
|
@ -44,7 +44,6 @@ public class ConfigManager {
|
|||
if (!Files.exists(CONFIG_FILE_PATH) || Files.size(CONFIG_FILE_PATH) == 0) {
|
||||
LOGGER.warn(I18nManager.getDmccTranslation("utils.config.config.not_found"));
|
||||
LOGGER.info(I18nManager.getDmccTranslation("utils.config.config.creating", CONFIG_FILE_PATH));
|
||||
LOGGER.info(I18nManager.getDmccTranslation("utils.config.config.replacing_lang", I18nManager.getLanguage()));
|
||||
LOGGER.info(I18nManager.getDmccTranslation("utils.config.config.edit_prompt", CONFIG_FILE_PATH));
|
||||
|
||||
try (InputStream inputStream = ConfigManager.class.getResourceAsStream(configTemplatePath)) {
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ utils:
|
|||
config:
|
||||
not_found: "Configuration file not found or is empty."
|
||||
creating: "Creating a default one at \"{}\"."
|
||||
replacing_lang: "Replacing language setting in config file to \"{}\"."
|
||||
edit_prompt: "Please edit \"{}\" before reloading DMCC."
|
||||
mode_mismatch: "Mode mismatch detected."
|
||||
mode_mismatch_detail: "The expected mode is \"{}\" (from mode.yml or environment), but config.yml is for \"{}\"."
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ utils:
|
|||
config:
|
||||
not_found: "配置文件未找到或为空。"
|
||||
creating: "正在于 \"{}\" 创建默认文件。"
|
||||
replacing_lang: "正在将配置文件中的语言设置替换为 \"{}\"。"
|
||||
edit_prompt: "请在重新加载 DMCC 之前编辑 \"{}\"。"
|
||||
mode_mismatch: "检测到模式不匹配。"
|
||||
mode_mismatch_detail: "期望的模式是 \"{}\"(来自 mode.yml 或环境),但 config.yml 是针对 \"{}\" 的。"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue