From 66b642ef06e5bf32fb43497c0909dfbb110e5f28 Mon Sep 17 00:00:00 2001 From: Tesutarin <105267106+Tesutarin@users.noreply.github.com> Date: Fri, 3 Jun 2022 20:46:20 +0800 Subject: [PATCH] Language: Update translation --- .../java/emu/grasscutter/command/commands/SpawnCommand.java | 2 +- src/main/resources/languages/en-US.json | 2 +- src/main/resources/languages/zh-CN.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/emu/grasscutter/command/commands/SpawnCommand.java b/src/main/java/emu/grasscutter/command/commands/SpawnCommand.java index 7547e8c6b..7bf320383 100644 --- a/src/main/java/emu/grasscutter/command/commands/SpawnCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/SpawnCommand.java @@ -23,7 +23,7 @@ import java.util.Random; import static emu.grasscutter.Configuration.*; import static emu.grasscutter.utils.Language.translate; -@Command(label = "spawn", usage = "spawn [amount] [level(monster only)] (monster only, optional)", permission = "server.spawn", permissionTargeted = "server.spawn.others", description = "commands.spawn.description") +@Command(label = "spawn", usage = "spawn [amount] [level(monster only)] [ (monster only, optional)]", permission = "server.spawn", permissionTargeted = "server.spawn.others", description = "commands.spawn.description") public final class SpawnCommand implements CommandHandler { @Override diff --git a/src/main/resources/languages/en-US.json b/src/main/resources/languages/en-US.json index d9e1f3fa4..8097ae424 100644 --- a/src/main/resources/languages/en-US.json +++ b/src/main/resources/languages/en-US.json @@ -304,7 +304,7 @@ "description": "Sets your world level (Relog to see proper effects)" }, "spawn": { - "usage": "Usage: spawn [amount] [level(monster only)] (monster only, optional)", + "usage": "Usage: spawn [amount] [level(monster only)] [ (monster only, optional)]", "success": "Spawned %s of %s.", "limit_reached": "Scene spawn limit reached. Spawning %s entities instead.", "description": "Spawns an entity near you" diff --git a/src/main/resources/languages/zh-CN.json b/src/main/resources/languages/zh-CN.json index 22023cdf7..ede2b48b9 100644 --- a/src/main/resources/languages/zh-CN.json +++ b/src/main/resources/languages/zh-CN.json @@ -47,7 +47,7 @@ "shutdown": "正在关闭...", "done": "加载完成!输入 \"help\" 查看命令列表", "error": "发生了一个错误。", - "welcome": "欢迎使用 Grasscutter!珍惜这段美妙的旅途吧!", + "welcome": "欢迎使用 Grasscutter!", "run_mode_error": "无效的服务器运行模式:%s。", "run_mode_help": "服务器运行模式必须为 'HYBRID'(混合)、'DISPATCH_ONLY'(仅 Dispatch) 或 'GAME_ONLY'(仅游戏)。Grasscutter 启动失败...", "create_resources": "正在创建 resources 目录...", @@ -103,7 +103,7 @@ "account": { "modify": "修改用户账号", "invalid": "无效的UID。", - "exists": "账号已存在。", + "exists": "具有此用户名和/或 UID 的账号已存在。", "create": "已创建 UID 为 %s 的账号。", "delete": "账号已删除。", "no_account": "账号不存在。", @@ -304,7 +304,7 @@ "description": "设置世界等级,执行命令后需重新登录以生效" }, "spawn": { - "usage": "用法:spawn <实体ID> [数量] [等级(仅怪物)]", + "usage": "用法:spawn <实体ID> [数量] [等级(仅怪物)] [ (仅怪物, 可选)]", "success": "已生成 %s 个 %s。", "limit_reached": "场景中的生成数量已达上限。已替代为生成 %s 个实体。", "description": "在你附近生成实体"