From ef9d96b6d83cd0c65de5530a14a64eda8fcfc7d1 Mon Sep 17 00:00:00 2001 From: Tesutarin <105267106+Tesutarin@users.noreply.github.com> Date: Sat, 11 Jun 2022 11:11:52 +0800 Subject: [PATCH] Language: Update translation --- src/main/resources/languages/en-US.json | 9 +++--- src/main/resources/languages/pl-PL.json | 2 +- src/main/resources/languages/zh-CN.json | 37 ++++++++++++------------- src/main/resources/languages/zh-TW.json | 8 +++--- 4 files changed, 27 insertions(+), 29 deletions(-) diff --git a/src/main/resources/languages/en-US.json b/src/main/resources/languages/en-US.json index 14e2b7b6c..254c0b20b 100644 --- a/src/main/resources/languages/en-US.json +++ b/src/main/resources/languages/en-US.json @@ -185,10 +185,9 @@ "description": "Keep your endurance to the maximum." }, "unlimitenergy": { - "usage": "unlimitenergy [targetUID] [on | off | toggle ]", - "success": "unlimitenergy is now %s for %s.", - "description": "Use the element does not waste energy in unlimitenergy on", - "config_error": "Command is disable,because energyUsage is false in config.json." + "success": "UnlimitEnergy is now %s for %s.", + "config_error": "Command is disabled, because energyUsage is false in config.json.", + "description": "Use the element does not waste energy" }, "heal": { "success": "All characters have been healed.", @@ -369,7 +368,7 @@ "description": "Change the player's position" }, "weather": { - "usage": "Usage: weather \nWeather types: '0: None, 1: Sunny, 2: Cloudy, 3: Rain, 4: Thunderstorm, 5: Snow, 6: Mist'", + "usage": "Usage: weather \nWeather types 0: None, 1: Sunny, 2: Cloudy, 3: Rain, 4: Thunderstorm, 5: Snow, 6: Mist", "success": "Changed climate type to %s with weather type %s.", "invalid_id": "Invalid ID.", "description": "Changes the weather" diff --git a/src/main/resources/languages/pl-PL.json b/src/main/resources/languages/pl-PL.json index d4bb73c49..3dea9591a 100644 --- a/src/main/resources/languages/pl-PL.json +++ b/src/main/resources/languages/pl-PL.json @@ -291,7 +291,7 @@ "success": "Przeteleportowano %s do %s, %s, %s w scenie %s" }, "weather": { - "usage": "Użycie: weather \nWeather types: '0: None, 1: Sunny, 2: Cloudy, 3: Rain, 4: Thunderstorm, 5: Snow, 6: Mist'", + "usage": "Użycie: weather \nWeather types 0: None, 1: Sunny, 2: Cloudy, 3: Rain, 4: Thunderstorm, 5: Snow, 6: Mist", "success": "Changed climate type to %s with weather type %s.", "invalid_id": "Błędne ID." }, diff --git a/src/main/resources/languages/zh-CN.json b/src/main/resources/languages/zh-CN.json index 47d58f482..cd5c3c801 100644 --- a/src/main/resources/languages/zh-CN.json +++ b/src/main/resources/languages/zh-CN.json @@ -14,7 +14,7 @@ "general_error": "[Dispatch] 加载 keystore 文件时发生错误!", "password_error": "[Dispatch] 加载 keystore 失败。正在尝试使用 keystore 默认密码...", "no_keystore_error": "[Dispatch] 未找到 SSL 证书!已降级到 HTTP 模式", - "default_password": "[Dispatch] 成功加载 keystore 默认密码。请考虑将 config.json 的默认密码设置为 123456" + "default_password": "[Dispatch] 成功加载 keystore 默认密码。请考虑将 config.json 中的默认密码设置为 123456" }, "authentication": { "default_unable_to_verify": "[Authentication] 称为 verifyUser 的方法在默认验证程序中不可用" @@ -25,10 +25,10 @@ "login_attempt": "[Dispatch] 客户端 %s 正在尝试登录", "login_success": "[Dispatch] 客户端 %s 已登录,UID 为 %s", "login_max_player_limit": "[Dispatch] 客户端 %s 登录失败:在线人数已满", - "login_token_attempt": "[Dispatch] 客户端 %s 正在尝试使用 token 登录", - "login_token_error": "[Dispatch] 客户端 %s 使用 token 登录失败", + "login_token_attempt": "[Dispatch] 客户端 %s 正在尝试通过 token 登录", + "login_token_error": "[Dispatch] 客户端 %s 通过 token 登录失败", "login_token_success": "[Dispatch] 客户端 %s 已通过 token 登录,UID 为 %s", - "combo_token_success": "[Dispatch] 客户端 %s 交换 token 成功", + "combo_token_success": "[Dispatch] 客户端 %s 成功交换 token", "combo_token_error": "[Dispatch] 客户端 %s 交换 token 失败", "account_login_create_success": "[Dispatch] 客户端 %s 登录失败:已注册 UID 为 %s 的账号", "account_login_create_error": "[Dispatch] 客户端 %s 登录失败:账号创建失败", @@ -53,7 +53,7 @@ "create_resources": "正在创建 resources 目录...", "resources_error": "请将 BinOutput 和 ExcelBinOutput 复制到 resources 目录。", "version": "Grasscutter 版本:%s-%s", - "game_version": "游戏版本: %s" + "game_version": "游戏版本:%s" } }, "commands": { @@ -137,7 +137,7 @@ "coop": { "usage": "用法:coop [指定玩家UID]", "success": "已强制传送 %s 到 %s 的世界。", - "description": "强制传送指定玩家到他人的世界" + "description": "强制传送指定玩家到他人的世界。如果没有指定玩家,则会使你进入多人游戏模式" }, "enter_dungeon": { "usage": "用法:enterdungeon <秘境ID>", @@ -153,16 +153,6 @@ "invalid_amount_or_playerId": "无效的数量/玩家ID。", "description": "给予所有物品" }, - "nostamina": { - "success": "NoStamina 已设为 %s。[用户:%s]", - "description": "保持你的体力处于最高状态" - }, - "unlimitenergy": { - "usage": "用法:unlimitenergy [目标玩家] [on | off | toggle ]", - "success": "unlimitEnergy 已设为 %s。[用户:%s]", - "description": "使用元素爆发不消耗能量", - "config_error": "当前命令不可用,需要在config.json中配置 energyUsage : true 才可生效" - }, "giveArtifact": { "usage": "用法:giveart|gart [玩家] <圣遗物ID> <主词条ID> [<副词条ID>[,<强化次数>]]... [等级]", "id_error": "无效的圣遗物ID。", @@ -187,9 +177,18 @@ "description": "给予指定物品" }, "godmode": { - "success": "上帝模式已设为 %s。[用户:%s]", + "success": "Godmode 已设为 %s。[用户:%s]", "description": "防止你受到伤害" }, + "nostamina": { + "success": "NoStamina 已设为 %s。[用户:%s]", + "description": "保持你的体力处于最高状态" + }, + "unlimitenergy": { + "success": "UnlimitEnergy 已设为 %s。[用户:%s]", + "config_error": "命令不可用。因为 config.json 中 energyUsage 为 false", + "description": "使用元素爆发而不消耗能量" + }, "heal": { "success": "已治疗所有角色。", "description": "治疗当前队伍的角色" @@ -369,7 +368,7 @@ "description": "改变指定玩家的位置" }, "weather": { - "usage": "用法:weather <气候类型(天气ID)> <天气类型(气候ID)>\n天气类型:'0: 无, 1: 晴天, 2: 多云, 3: 雨, 4: 雷雨, 5: 雪, 6: 雾'", + "usage": "用法:weather <气候类型(天气ID)> <天气类型(气候ID)>\n天气类型 0: 无, 1: 晴天, 2: 多云, 3: 雨, 4: 雷雨, 5: 雪, 6: 雾", "success": "已更改气候类型为 %s,天气类型为 %s。", "invalid_id": "无效的ID。", "description": "更改天气" @@ -390,7 +389,7 @@ }, "unlocktower": { "success": "解锁完成。", - "description": "解锁深境螺旋的所有层" + "description": "解锁全部深境螺旋" } }, "gacha": { diff --git a/src/main/resources/languages/zh-TW.json b/src/main/resources/languages/zh-TW.json index c7c9a6c88..59d980fe9 100644 --- a/src/main/resources/languages/zh-TW.json +++ b/src/main/resources/languages/zh-TW.json @@ -52,8 +52,8 @@ "run_mode_help": "伺服器運行模式必須為 HYBRID 或者 DISPATCH_ONLY 或者 GAME_ONLY。Grasscutter 啟動失敗...", "create_resources": "正在建立 resources 資料夾...", "resources_error": "請將 BinOutput 和 ExcelBinOutput 複製到 resources 資料夾。", - "version": "Grasscutter版本: %s-%s", - "game_version": "游戏版本: %s" + "version": "Grasscutter版本:%s-%s", + "game_version": "游戏版本:%s" } }, "commands": { @@ -368,8 +368,8 @@ "description": "將玩家的位置傳送到你所指定的座標。" }, "weather": { - "usage": "用法:weather <氣候型別(天氣ID)> <天氣型別(氣候ID)>\n天氣型別:'0: 無, 1: 晴天, 2: 多雲, 3: 雨, 4: 雷雨, 5: 雪, 6: 霧'", - "success": "已將當前氣候型別設定為 %s,天氣型別為 %s。", + "usage": "用法:weather <氣候型別(天氣ID)> <天氣型別(氣候ID)>\n天氣型別 0: 無, 1: 晴天, 2: 多雲, 3: 雨, 4: 雷雨, 5: 雪, 6: 霧", + "success": "已將當前氣候型別設定為 %s,天氣型別則為 %s。", "invalid_id": "無效的ID。", "description": "更改目前的天氣。" },