mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-06 15:52:03 +00:00
添加多语言日志
This commit is contained in:
@@ -38,6 +38,20 @@ argument.parse.failure.aggregate.missing: "<red>Missing component '<arg:0>'</red
|
||||
argument.parse.failure.aggregate.failure: "<red>Invalid component '<arg:0>': <arg:1></red>"
|
||||
argument.parse.failure.either: "<red>Could not resolve <arg:1> or <arg:2> from '<arg:0>'</red>"
|
||||
argument.parse.failure.namedtextcolor: "<red>'<arg:0>' is not a named text color</red>"
|
||||
info.pack.load: "Loaded pack: <arg:0>. Default namespace: <arg:1>"
|
||||
info.resource.load: "Loaded <arg:0> in <arg:1>ms (<arg:2>)"
|
||||
info.resource_pack.start: "Generating resource pack..."
|
||||
info.resource_pack.generate: "Generated resource pack in <arg:0>ms"
|
||||
info.resource_pack.validate: "Validated resource pack in <arg:0>ms"
|
||||
info.resource_pack.optimize: "Optimized resource pack in <arg:0>ms"
|
||||
info.resource_pack.optimize.json: "> Optimizing json files..."
|
||||
info.resource_pack.optimize.texture: "> Optimizing textures..."
|
||||
info.resource_pack.optimize.result: "□ Before/After/Ratio: <arg:0> KB/<arg:1> KB/<arg:2>%"
|
||||
info.resource_pack.create: "Created resource pack zip in <arg:0>ms"
|
||||
info.resource_pack.upload: "Completed uploading resource pack"
|
||||
info.host.self.netty_server: "Netty HTTP server started on port: <arg:0>"
|
||||
info.host.cache.load: "[<arg:0>] Loaded cached resource pack metadata"
|
||||
info.compatibility: "[Compatibility] <arg:0> hooked"
|
||||
command.reload.config.success: "<white>Configs reloaded in <green><arg:0></green> ms.</white> <gray>(Async: <arg:1>ms | Sync: <arg:2>ms)</gray>"
|
||||
command.reload.config.failure: "<red>Config reload failed. Check console logs.</red>"
|
||||
command.reload.pack.success: "<white>Resource pack reloaded in <green><arg:0></green> ms.</white>"
|
||||
|
||||
@@ -38,6 +38,20 @@ argument.parse.failure.aggregate.missing: "<red>缺少组件 '<arg:0>'</red>"
|
||||
argument.parse.failure.aggregate.failure: "<red>无效的组件 '<arg:0>': <arg:1></red>"
|
||||
argument.parse.failure.either: "<red>无法从 '<arg:0>' 解析 <arg:1> 或 <arg:2></red>"
|
||||
argument.parse.failure.namedtextcolor: "<red>'<arg:0>' 不是颜色代码</red>"
|
||||
info.pack.load: "已加载包: <arg:0>. 默认命名空间: <arg:1>"
|
||||
info.resource.load: "加载 <arg:0> 耗时 <arg:1>ms (<arg:2>)"
|
||||
info.resource_pack.start: "正在开始生成资源包..."
|
||||
info.resource_pack.generate: "生成资源包耗时 <arg:0>ms"
|
||||
info.resource_pack.validate: "验证资源包耗时 <arg:0>ms"
|
||||
info.resource_pack.optimize: "优化资源包耗时 <arg:0>ms"
|
||||
info.resource_pack.optimize.json: "> 正在优化json文件..."
|
||||
info.resource_pack.optimize.texture: "> 正在优化贴图文件..."
|
||||
info.resource_pack.optimize.result: "□ 优化前/优化后/比例: <arg:0> KB/<arg:1> KB/<arg:2>%"
|
||||
info.resource_pack.create: "创建资源包文件耗时 <arg:0>ms"
|
||||
info.resource_pack.upload: "资源包上传完成"
|
||||
info.host.self.netty_server: "Netty HTTP 服务已在端口 <arg:0> 开启"
|
||||
info.host.cache.load: "[<arg:0>] 已加载缓存的资源包元数据"
|
||||
info.compatibility: "[兼容性] 已挂钩 <arg:0>"
|
||||
command.reload.config.success: "<white>重新加载配置完成. 耗时 <green><arg:0></green> 毫秒</white> <gray>(异步: <arg:1>ms | 同步: <arg:2>ms)</gray>"
|
||||
command.reload.config.failure: "<red>重新加载配置失败, 请检查控制台日志</red>"
|
||||
command.reload.pack.success: "<white>资源包重新加载完成. 耗时 <green><arg:0></green> 毫秒</white>"
|
||||
|
||||
Reference in New Issue
Block a user