mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 21:56:09 +00:00
Deduplicate some translation keys
This commit is contained in:
parent
dcd3c696ea
commit
371acb9ba5
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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:
|
||||
|
@ -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.",
|
||||
|
@ -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.",
|
||||
|
@ -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.",
|
||||
|
@ -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": "Цель была удалена.",
|
||||
|
@ -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": "目标已清除。",
|
||||
|
@ -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": "目標已清除.",
|
||||
|
Loading…
Reference in New Issue
Block a user