diff --git a/src/main/java/emu/grasscutter/command/CommandMap.java b/src/main/java/emu/grasscutter/command/CommandMap.java index 05c099bcb..198c1a935 100644 --- a/src/main/java/emu/grasscutter/command/CommandMap.java +++ b/src/main/java/emu/grasscutter/command/CommandMap.java @@ -156,7 +156,7 @@ public final class CommandMap { CommandHandler.sendTranslatedMessage(player, targetPlayer.isOnline()? "commands.execution.set_target_online" : "commands.execution.set_target_offline", targetUidStr); } } catch (NumberFormatException e) { - CommandHandler.sendTranslatedMessage(player, "commands.execution.uid_error"); + CommandHandler.sendTranslatedMessage(player, "commands.generic.invalid.uid"); } } return; @@ -183,7 +183,7 @@ public final class CommandMap { } break; } catch (NumberFormatException e) { - CommandHandler.sendTranslatedMessage(player, "commands.execution.uid_error"); + CommandHandler.sendTranslatedMessage(player, "commands.generic.invalid.uid"); return; } } diff --git a/src/main/java/emu/grasscutter/command/commands/CoopCommand.java b/src/main/java/emu/grasscutter/command/commands/CoopCommand.java index c8961340e..86de192bc 100644 --- a/src/main/java/emu/grasscutter/command/commands/CoopCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/CoopCommand.java @@ -31,7 +31,7 @@ public final class CoopCommand implements CommandHandler { } break; } catch (NumberFormatException ignored) { - CommandHandler.sendMessage(sender, translate(sender, "commands.execution.uid_error")); + CommandHandler.sendMessage(sender, translate(sender, "commands.generic.invalid.uid")); return; } default: diff --git a/src/main/resources/languages/en-US.json b/src/main/resources/languages/en-US.json index b3094fde9..18c81aa44 100644 --- a/src/main/resources/languages/en-US.json +++ b/src/main/resources/languages/en-US.json @@ -81,12 +81,9 @@ } }, "execution": { - "uid_error": "Invalid UID.", "player_exist_error": "Player not found.", "player_offline_error": "Player is not online.", - "item_id_error": "Invalid item ID.", "item_player_exist_error": "Invalid item or UID.", - "entity_id_error": "Invalid entity ID.", "player_exist_offline_error": "Player not found or is not online.", "argument_error": "Invalid arguments.", "clear_target": "Target cleared.", diff --git a/src/main/resources/languages/fr-FR.json b/src/main/resources/languages/fr-FR.json index 332937c39..4fa2f1e27 100644 --- a/src/main/resources/languages/fr-FR.json +++ b/src/main/resources/languages/fr-FR.json @@ -81,12 +81,9 @@ } }, "execution": { - "uid_error": "UID invalide.", "player_exist_error": "Joueur introuvable.", "player_offline_error": "Le joueur n'est pas connecté.", - "item_id_error": "ID de l'objet invalide.", "item_player_exist_error": "UID ou objet invalide.", - "entity_id_error": "ID de l'entité invalide.", "player_exist_offline_error": "Le joueur est introuvable ou n'est pas connecté.", "argument_error": "Arguments invalides.", "clear_target": "Cible réinitialisée.", diff --git a/src/main/resources/languages/pl-PL.json b/src/main/resources/languages/pl-PL.json index 6ecc02d27..6999a0f15 100644 --- a/src/main/resources/languages/pl-PL.json +++ b/src/main/resources/languages/pl-PL.json @@ -75,12 +75,9 @@ } }, "execution": { - "uid_error": "Błędne UID.", "player_exist_error": "Gracz nie znaleziony.", "player_offline_error": "Gracz nie jest online.", - "item_id_error": "Błędne ID przedmiotu.", "item_player_exist_error": "Błędny przedmiot lub UID.", - "entity_id_error": "Błędne ID obiektu.", "player_exist_offline_error": "Gracz nie znaleziony lub jest offline.", "argument_error": "Błędne argumenty.", "clear_target": "Cel wyczyszczony.", diff --git a/src/main/resources/languages/ru-RU.json b/src/main/resources/languages/ru-RU.json index 88df53cc3..e0e823269 100644 --- a/src/main/resources/languages/ru-RU.json +++ b/src/main/resources/languages/ru-RU.json @@ -81,12 +81,9 @@ } }, "execution": { - "uid_error": "Некорректный UID.", "player_exist_error": "Игрок не найден.", "player_offline_error": "Игрок не в сети.", - "item_id_error": "Некорректный ID предмета.", "item_player_exist_error": "Некорректный предмет или UID.", - "entity_id_error": "Некорректный ID сущности.", "player_exist_offline_error": "Игрок не был найден или не в сети.", "argument_error": "Некорректные аргументы.", "clear_target": "Цель была удалена.", diff --git a/src/main/resources/languages/zh-CN.json b/src/main/resources/languages/zh-CN.json index 1e2b56bda..31b523d37 100644 --- a/src/main/resources/languages/zh-CN.json +++ b/src/main/resources/languages/zh-CN.json @@ -81,12 +81,9 @@ } }, "execution": { - "uid_error": "无效的UID。", "player_exist_error": "玩家不存在。", "player_offline_error": "玩家已离线。", - "item_id_error": "无效的物品ID。", "item_player_exist_error": "无效的物品/玩家UID。", - "entity_id_error": "无效的实体ID。", "player_exist_offline_error": "玩家不存在或已离线。", "argument_error": "无效的参数。", "clear_target": "目标已清除。", diff --git a/src/main/resources/languages/zh-TW.json b/src/main/resources/languages/zh-TW.json index faa61ed5d..7ea2c9c38 100644 --- a/src/main/resources/languages/zh-TW.json +++ b/src/main/resources/languages/zh-TW.json @@ -80,12 +80,9 @@ } }, "execution": { - "uid_error": "無效的UID。", "player_exist_error": "用戶不存在。", "player_offline_error": "玩家已離線。", - "item_id_error": "無效的物品ID。.", "item_player_exist_error": "無效的物品/玩家UID。", - "entity_id_error": "無效的實體ID。", "player_exist_offline_error": "玩家不存在或已離線。", "argument_error": "無效的參數。", "clear_target": "目標已清除.",