mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 07:37:43 +00:00
Added a directive to fix some minor bugs (#1744)
* Pull request made after merging the latest version * Update src/main/resources/languages/ja-JP.json
This commit is contained in:
parent
2ed4506074
commit
210e9e9732
@ -13,7 +13,8 @@ public final class PositionCommand implements CommandHandler {
|
||||
@Override
|
||||
public void execute(Player sender, Player targetPlayer, List<String> args) {
|
||||
Position pos = targetPlayer.getPosition();
|
||||
Position rot = targetPlayer.getRotation();
|
||||
CommandHandler.sendTranslatedMessage(sender, "commands.position.success",
|
||||
pos.getX(), pos.getY(), pos.getZ(), targetPlayer.getSceneId());
|
||||
pos.getX(), pos.getY(), pos.getZ(), rot.getX(), rot.getY(), rot.getZ(), targetPlayer.getSceneId());
|
||||
}
|
||||
}
|
||||
|
@ -97,7 +97,9 @@ public final class Tools {
|
||||
|
||||
// Write txt files
|
||||
for (int i = 0; i < TextStrings.NUM_LANGUAGES; i++) {
|
||||
final String fileName = "./GM Handbook - %s.txt".formatted(TextStrings.ARR_LANGUAGES[i]);
|
||||
File GMHandbookOutputpath=new File("./GM Handbook");
|
||||
GMHandbookOutputpath.mkdir();
|
||||
final String fileName = "./GM Handbook/GM Handbook - %s.txt".formatted(TextStrings.ARR_LANGUAGES[i]);
|
||||
try (PrintWriter writer = new PrintWriter(new OutputStreamWriter(new FileOutputStream(fileName), StandardCharsets.UTF_8), false)) {
|
||||
writer.write(handbookBuilders.get(i).toString());
|
||||
}
|
||||
|
@ -207,8 +207,8 @@
|
||||
"description": "Grants or removes a permission for a user"
|
||||
},
|
||||
"position": {
|
||||
"success": "Coordinates: %s, %s, %s\nScene ID: %s",
|
||||
"description": "Get coordinates"
|
||||
"success": "Coordinates: %s, %s, %s\nRotation:%s, %s, %s\nScene ID: %s",
|
||||
"description": "Gets position and rotation information"
|
||||
},
|
||||
"quest": {
|
||||
"added": "Quest %s added.",
|
||||
|
@ -207,8 +207,8 @@
|
||||
"description": "Da o quita un permiso a un jugador"
|
||||
},
|
||||
"position": {
|
||||
"success": "Coordenadas: %s, %s, %s\nID del escenario: %s",
|
||||
"description": "Da las coordenadas en el escenario actual"
|
||||
"success": "Coordenadas: %s, %s, %s\nRotación: %s, %s, %s\nID del escenario: %s",
|
||||
"description": "Obtener información sobre ubicación y rotación"
|
||||
},
|
||||
"quest": {
|
||||
"added": "Misión %s añadida.",
|
||||
|
@ -207,8 +207,8 @@
|
||||
"description": "Accorde ou retire une permission a un utilisateur"
|
||||
},
|
||||
"position": {
|
||||
"success": "Coordonées: %s, %s, %s\nID de la scène: %s",
|
||||
"description": "Obtenir vos coordonnées"
|
||||
"success": "Coordonées: %s, %s, %s\nRotatifs:%s, %s, %s\nID de la scène: %s",
|
||||
"description": "Obtient des informations de position et de rotation"
|
||||
},
|
||||
"quest": {
|
||||
"added": "Quête %s ajoutée.",
|
||||
|
@ -207,8 +207,8 @@
|
||||
"description": "ユーザーの権限を付与または削除します"
|
||||
},
|
||||
"position": {
|
||||
"success": "座標: %s、%s、%s\nシーンID: %s",
|
||||
"description": "座標を取得する"
|
||||
"success": "座標:%s、%s、%s\n回転:%s、%s、%s\nシーンID: %s",
|
||||
"description": "位置と回転情報を取得します"
|
||||
},
|
||||
"quest": {
|
||||
"added": "クエスト %s が追加されました。",
|
||||
|
@ -207,8 +207,8 @@
|
||||
"description": "사용자에게 권한을 부여하거나 제거합니다."
|
||||
},
|
||||
"position": {
|
||||
"success": "좌표: %s, %s, %s\nScene ID: %s",
|
||||
"description": "좌표를 출력합니다"
|
||||
"success": "좌표: %s, %s, %s\n회전:%s, %s, %s\nScene ID: %s",
|
||||
"description": "위치 및 회전 정보를 가져옵니다"
|
||||
},
|
||||
"quest": {
|
||||
"added": "%s 퀘스트가 추가되었습니다.",
|
||||
|
@ -207,8 +207,8 @@
|
||||
"description": "Dodaj lub usuń uprawnienia podanego gracza."
|
||||
},
|
||||
"position": {
|
||||
"success": "Koordynaty: (%s, %s, %s).\nID sceny: %s.",
|
||||
"description": "Pokaż gdzie znajduje się dany gracz."
|
||||
"success": "Koordynaty: (%s, %s, %s).\nKrążyć:%s, %s, %s\nID sceny: %s.",
|
||||
"description": "Pobiera informacje o pozycji i obrocie"
|
||||
},
|
||||
"quest": {
|
||||
"added": "Zadanie %s zostało dodane.",
|
||||
|
@ -207,8 +207,8 @@
|
||||
"description": "Acordă sau elimină o permisiune de la un utilizator."
|
||||
},
|
||||
"position": {
|
||||
"success": "Coordonate: %s, %s, %s\nScene ID: %s",
|
||||
"description": "Obțineți coordonatele"
|
||||
"success": "Coordonate: %s, %s, %s\nGravitează:%s, %s, %s\nScene ID: %s",
|
||||
"description": "Obține informații despre poziție și rotație"
|
||||
},
|
||||
"quest": {
|
||||
"added": "Misiunea %s adăugată.",
|
||||
|
@ -207,7 +207,7 @@
|
||||
"description": "Добавляет (add) или удаляет (remove) разрешения у пользователя"
|
||||
},
|
||||
"position": {
|
||||
"success": "Координаты: %s, %s, %s\nID сцены: %s",
|
||||
"success": "Координаты: %s, %s, %s\nПоворот:%s, %s, %s\nID сцены: %s",
|
||||
"description": "Позволяет получить координаты"
|
||||
},
|
||||
"quest": {
|
||||
|
@ -181,7 +181,7 @@
|
||||
},
|
||||
"killall": {
|
||||
"scene_not_found_in_player_world": "未在玩家世界中找到此场景。",
|
||||
"kill_monsters_in_scene": "已杀死场景 %s 中的 %s 个怪物。",
|
||||
"kill_monsters_in_scene": "已杀死 %s 个怪物。 [场景ID: %s ]",
|
||||
"description": "杀死所有怪物"
|
||||
},
|
||||
"killCharacter": {
|
||||
@ -207,9 +207,8 @@
|
||||
"description": "添加或移除指定玩家的权限"
|
||||
},
|
||||
"position": {
|
||||
"success": "坐标:%s, %s, %s\n场景ID:%s",
|
||||
"description": "获取所在位置"
|
||||
},
|
||||
"success": "坐标:%s, %s, %s\n旋转:%s, %s, %s\n场景ID:%s",
|
||||
"description": "获取所在位置和旋转信息"},
|
||||
"quest": {
|
||||
"added": "已添加任务 %s。",
|
||||
"finished": "已完成任务 %s。",
|
||||
|
@ -207,8 +207,8 @@
|
||||
"description": "指派或移除指定玩家的權限。"
|
||||
},
|
||||
"position": {
|
||||
"success": "座標:%s, %s, %s\n場景ID:%s",
|
||||
"description": "獲取目前所在位置的座標。"
|
||||
"success": "坐標:%s, %s, %s\n旋轉:%s, %s, %s\n場景ID:%s",
|
||||
"description": "獲取所在坐標和旋轉信息"
|
||||
},
|
||||
"quest": {
|
||||
"added": "已添加任務 %s",
|
||||
|
Loading…
Reference in New Issue
Block a user