diff --git a/src/main/java/net/earthcomputer/clientcommands/command/ClientCommandHelper.java b/src/main/java/net/earthcomputer/clientcommands/command/ClientCommandHelper.java index 676a39eb..318c8acb 100644 --- a/src/main/java/net/earthcomputer/clientcommands/command/ClientCommandHelper.java +++ b/src/main/java/net/earthcomputer/clientcommands/command/ClientCommandHelper.java @@ -72,12 +72,12 @@ public static Component getGlowCoordsTextComponent(BlockPos pos) { String.format("/cglow block %d %d %d 10", pos.getX(), pos.getY(), pos.getZ())); } - public static Component getGlowCoordsTextComponent(MutableComponent component, BlockPos pos) { - return getCommandTextComponent(component, String.format("/cglow block %d %d %d 10", pos.getX(), pos.getY(), pos.getZ())); + public static Component getGlowButtonTextComponent(BlockPos pos) { + return getCommandTextComponent(Component.translatable("commands.client.glow"), String.format("/cglow block %d %d %d 10", pos.getX(), pos.getY(), pos.getZ())); } - public static Component getGlowEntityTextComponent(MutableComponent component, Entity entity) { - return getCommandTextComponent(component, "/cglow entities " + entity.getStringUUID()); + public static Component getGlowButtonTextComponent(Entity entity) { + return getCommandTextComponent(Component.translatable("commands.client.glow"), "/cglow entities " + entity.getStringUUID()); } public static Component getCommandTextComponent(@Translatable String translationKey, String command) { diff --git a/src/main/java/net/earthcomputer/clientcommands/command/FindBlockCommand.java b/src/main/java/net/earthcomputer/clientcommands/command/FindBlockCommand.java index 1ba0ccdb..63bcb16e 100644 --- a/src/main/java/net/earthcomputer/clientcommands/command/FindBlockCommand.java +++ b/src/main/java/net/earthcomputer/clientcommands/command/FindBlockCommand.java @@ -88,11 +88,16 @@ public void onCompleted() { Entity cameraEntity = Objects.requireNonNullElse(Minecraft.getInstance().cameraEntity, Minecraft.getInstance().player); String foundRadius = "%.2f".formatted(Math.sqrt(closestBlock.distToCenterSqr(cameraEntity.getEyePosition(0)))); - sendFeedback(Component.translatable("commands.cfindblock.success.left", foundRadius) - .append(getLookCoordsTextComponent(closestBlock)) - .append(" ") - .append(getGlowCoordsTextComponent(Component.translatable("commands.cfindblock.success.glow"), closestBlock)) - .append(Component.translatable("commands.cfindblock.success.right", foundRadius))); + sendFeedback( + Component.translatable( + "commands.cfindblock.success", + Component.empty() + .append(getLookCoordsTextComponent(closestBlock)) + .append(" ") + .append(getGlowButtonTextComponent(closestBlock)), + foundRadius + ) + ); } } } diff --git a/src/main/java/net/earthcomputer/clientcommands/command/FindCommand.java b/src/main/java/net/earthcomputer/clientcommands/command/FindCommand.java index 08ef388d..626aac7e 100644 --- a/src/main/java/net/earthcomputer/clientcommands/command/FindCommand.java +++ b/src/main/java/net/earthcomputer/clientcommands/command/FindCommand.java @@ -63,9 +63,12 @@ private static int listEntities(FabricClientCommandSource source, CEntitySelecto private static void sendEntityFoundMessage(FabricClientCommandSource source, Entity entity) { String distance = "%.2f".formatted(Math.sqrt(entity.distanceToSqr(source.getPosition()))); - source.sendFeedback(Component.translatable("commands.cfind.found.left", entity.getName(), distance) - .append(getLookCoordsTextComponent(entity.blockPosition())) - .append(Component.translatable("commands.cfind.found.right", entity.getName(), distance))); + source.sendFeedback(Component.translatable( + "commands.cfind.found", + entity.getName(), + getLookCoordsTextComponent(entity.blockPosition()), + distance + )); } private static class FindTask extends LongTask { diff --git a/src/main/java/net/earthcomputer/clientcommands/command/FindItemCommand.java b/src/main/java/net/earthcomputer/clientcommands/command/FindItemCommand.java index b96868b5..6dff9276 100644 --- a/src/main/java/net/earthcomputer/clientcommands/command/FindItemCommand.java +++ b/src/main/java/net/earthcomputer/clientcommands/command/FindItemCommand.java @@ -154,19 +154,23 @@ protected int countItems(ListTag inventory) { } protected void printEntityLocation(Entity entity, int count) { - sendFeedback(Component.translatable("commands.cfinditem.match.entity.left", count, searchingForName, entity.getName()) - .append(getLookCoordsTextComponent(BlockPos.containing(entity.position()))) - .append(Component.translatable("commands.cfinditem.match.entity.right", count, searchingForName, entity.getName())) - .append(" ") - .append(getGlowEntityTextComponent(Component.translatable("commands.cfindblock.success.glow"), entity))); + sendFeedback( + Component.translatable( + "commands.cfinditem.match.entity", + count, + searchingForName, + entity.getName(), + getLookCoordsTextComponent(BlockPos.containing(entity.position())) + ) + .append(" ") + .append(getGlowButtonTextComponent(entity)) + ); } protected void printLocation(BlockPos pos, int count) { - sendFeedback(Component.translatable("commands.cfinditem.match.left", count, searchingForName) - .append(getLookCoordsTextComponent(pos)) - .append(Component.translatable("commands.cfinditem.match.right", count, searchingForName)) + sendFeedback(Component.translatable("commands.cfinditem.match", count, searchingForName, getLookCoordsTextComponent(pos)) .append(" ") - .append(getGlowCoordsTextComponent(Component.translatable("commands.cfindblock.success.glow"), pos))); + .append(getGlowButtonTextComponent(pos))); } protected boolean canSearchEntity(Entity entity) { diff --git a/src/main/java/net/earthcomputer/clientcommands/command/PosCommand.java b/src/main/java/net/earthcomputer/clientcommands/command/PosCommand.java index 69f1dd10..d7b8b4ca 100644 --- a/src/main/java/net/earthcomputer/clientcommands/command/PosCommand.java +++ b/src/main/java/net/earthcomputer/clientcommands/command/PosCommand.java @@ -80,11 +80,13 @@ private static int convertCoords(FabricClientCommandSource source, BlockPos pos, String sourceWorldName = getLevelName(sourceLevel); String targetWorldName = getLevelName(targetLevel); - source.sendFeedback(Component.translatable("commands.cpos.coords.left", sourceWorldName, targetWorldName) - .append(getCoordsTextComponent(pos)) - .append(Component.translatable("commands.cpos.coords.middle", sourceWorldName, targetWorldName)) - .append(getLookCoordsTextComponent(targetPos)) - .append(Component.translatable("commands.cpos.coords.right", sourceWorldName, targetWorldName))); + source.sendFeedback(Component.translatable( + "commands.cpos.coords", + getCoordsTextComponent(pos), + sourceWorldName, + getLookCoordsTextComponent(targetPos), + targetWorldName) + ); return Command.SINGLE_SUCCESS; } diff --git a/src/main/resources/assets/clientcommands/lang/de_de.json b/src/main/resources/assets/clientcommands/lang/de_de.json index 40795800..5947e332 100644 --- a/src/main/resources/assets/clientcommands/lang/de_de.json +++ b/src/main/resources/assets/clientcommands/lang/de_de.json @@ -64,20 +64,16 @@ "commands.cenchant.success": "Verzauberungsmanipulation beginnt", "commands.cenchant.uncracked": "Seed muss geknackt sein.", - "commands.cfind.found.left": "Fand %1$s an ", - "commands.cfind.found.right": ", %2$s Blöcke entfernt", + "commands.cfind.found": "Fand %s an %s, %s Blöcke entfernt", "commands.cfind.keepSearching.success": "Finde Objekte", "commands.cfind.noMatch": "Keine Objekte haben der Abfrage entsprochen", "commands.cfind.success": "%s Objekte haben der Abfrage entsprochen", "commands.cfindblock.notFound": "Kein passender Block gefunden", "commands.cfindblock.starting": "Suche nach %s", - "commands.cfindblock.success.left": "Nächster passender Block ist an ", - "commands.cfindblock.success.glow": "[Leuchten]", - "commands.cfindblock.success.right": ", %1$s Blöcke entfernt", + "commands.cfindblock.success": "Nächster passender Block ist an %s, %s Blöcke entfernt", - "commands.cfinditem.match.left": "%sx %s wurden an ", - "commands.cfinditem.match.right": " gefunden", + "commands.cfinditem.match": "%sx %s wurden an %s gefunden", "commands.cfinditem.starting": "Suche nach %s", "commands.cfinditem.starting.keepSearching": "Suche unendlich lange nach %s.", "commands.cfinditem.total": "Fand insgesamt %sx %s", @@ -173,12 +169,10 @@ "commands.cping.singleplayer": "Du bist in einer Einzelspielerwelt (╯°□°)╯︵ ┻━┻", "commands.cping.playerNotFound": "Spieler nicht gefunden", + "commands.cpos.coords": "%s in %s ist %s in %s", "commands.cpos.level.overworld": "die Oberwelt", "commands.cpos.level.the_end": "das Ende", "commands.cpos.level.the_nether": "der Nether", - "commands.cpos.coords.left": "", - "commands.cpos.coords.middle": " in %1$s ist ", - "commands.cpos.coords.right": " in %2$s", "commands.crelog.failed": "Wiedereinloggen gescheitert", @@ -245,6 +239,7 @@ "commands.client.crack": "Knacken", "commands.client.enable": "Aktivieren", "commands.client.expectedRegex": "Ungültiger Regex %s", + "commands.client.glow": "[Leuchten]", "commands.client.invalidArgumentException": "Ungültiges Argument '%s'", "commands.client.invalidClickAction": "Ungültige Klickereignisaktion '%s'", "commands.client.invalidHoverAction": "Ungültige Hoverereignisaktion '%s'", diff --git a/src/main/resources/assets/clientcommands/lang/en_us.json b/src/main/resources/assets/clientcommands/lang/en_us.json index 9243ccd0..f0bd8b25 100644 --- a/src/main/resources/assets/clientcommands/lang/en_us.json +++ b/src/main/resources/assets/clientcommands/lang/en_us.json @@ -65,22 +65,17 @@ "commands.cenchant.success": "Starting enchantment manipulation.", "commands.cenchant.uncracked": "Seed needs to be cracked", - "commands.cfind.found.left": "Found %1$s at ", - "commands.cfind.found.right": ", %2$s blocks away", + "commands.cfind.found": "Found %s at %s, %s blocks away", "commands.cfind.keepSearching.success": "Finding entities", "commands.cfind.noMatch": "No entities matched your query", "commands.cfind.success": "%s entities matched your query", "commands.cfindblock.notFound": "No such block found", "commands.cfindblock.starting": "Searching for %s", - "commands.cfindblock.success.left": "Closest match is at ", - "commands.cfindblock.success.glow": "[Glow]", - "commands.cfindblock.success.right": ", %1$s blocks away", - - "commands.cfinditem.match.entity.left": "%sx %s found in %s at ", - "commands.cfinditem.match.entity.right": "", - "commands.cfinditem.match.left": "%sx %s found at ", - "commands.cfinditem.match.right": "", + "commands.cfindblock.success": "Closest match is at %s, %s blocks away", + + "commands.cfinditem.match.entity": "%sx %s found in %s at %s", + "commands.cfinditem.match": "%sx %s found at %s", "commands.cfinditem.starting": "Searching for %s", "commands.cfinditem.starting.keepSearching": "Infinitely searching for %s", "commands.cfinditem.total": "Found %sx %s total", @@ -178,12 +173,10 @@ "commands.cping.singleplayer": "You are in a singleplayer world (╯°□°)╯︵ ┻━┻", "commands.cping.playerNotFound": "Player not found", + "commands.cpos.coords": "%s in %s is %s in %s", "commands.cpos.level.overworld": "the Overworld", "commands.cpos.level.the_end": "the End", "commands.cpos.level.the_nether": "the Nether", - "commands.cpos.coords.left": "", - "commands.cpos.coords.middle": " in %1$s is ", - "commands.cpos.coords.right": " in %2$s", "commands.crelog.failed": "Failed to relog", @@ -262,6 +255,7 @@ "commands.client.crack": "Crack", "commands.client.enable": "Enable", "commands.client.expectedRegex": "Invalid regex %s", + "commands.client.glow": "[Glow]", "commands.client.invalidArgumentException": "Invalid argument '%s'", "commands.client.invalidClickAction": "Invalid click event action '%s'", "commands.client.invalidHoverAction": "Invalid hover event action '%s'", diff --git a/src/main/resources/assets/clientcommands/lang/id_id.json b/src/main/resources/assets/clientcommands/lang/id_id.json index 90b17404..a2e774b5 100644 --- a/src/main/resources/assets/clientcommands/lang/id_id.json +++ b/src/main/resources/assets/clientcommands/lang/id_id.json @@ -64,20 +64,16 @@ "commands.cenchant.success": "Memulai memanipulasi pesona", "commands.cenchant.uncracked": "Seed butuh diketahui.", - "commands.cfind.found.left": "Menemukan %1$s di ", - "commands.cfind.found.right": ", %2$s block jaraknya", + "commands.cfind.found": "Menemukan %s di %s, %s block jaraknya", "commands.cfind.keepSearching.success": "Mencari entitas.", "commands.cfind.noMatch": "Tidak ada entitas yang cocok di kuery anda", "commands.cfind.success": "%s entitas yang cocok di kuery anda", "commands.cfindblock.notFound": "Blok tidak dapat ditemukan", "commands.cfindblock.starting": "Mencari %s", - "commands.cfindblock.success.left": "Hasil paling dekat adalah di ", - "commands.cfindblock.success.glow": "[Sinar]", - "commands.cfindblock.success.right": ", %1$s block", + "commands.cfindblock.success": "Hasil paling dekat adalah di %s, %s block", - "commands.cfinditem.match.left": "%sx %s ketemu di ", - "commands.cfinditem.match.right": "", + "commands.cfinditem.match": "%sx %s ketemu di %s", "commands.cfinditem.starting": "Mencari benda %s", "commands.cfinditem.starting.keepSearching": "Mencari benda %s selamanya.", "commands.cfinditem.total": "Menemukan %sx %s", @@ -158,12 +154,10 @@ "commands.cping.singleplayer": "Anda berada di dunia singleplayer (╯°□°)╯︵ ┻━┻", "commands.cping.playerNotFound": "Pemain tidak ditemukan", + "commands.cpos.coords": "%s di %s sama dengan %s di %s", "commands.cpos.level.overworld": "Overworld", "commands.cpos.level.the_end": "End", "commands.cpos.level.the_nether": "Nether", - "commands.cpos.coords.left": "", - "commands.cpos.coords.middle": " di %1$s sama dengan ", - "commands.cpos.coords.right": " di %2$s", "commands.crelog.failed": "Gagal relog", @@ -230,6 +224,7 @@ "commands.client.crack": "Pecahkan", "commands.client.enable": "Nyalakan", "commands.client.expectedRegex": "Regex tidak valid %s", + "commands.client.glow": "[Sinar]", "commands.client.invalidArgumentException": "Argumen tidak valid '%s'", "commands.client.invalidClickAction": "Aksi klik tidak valid '%s'", "commands.client.invalidHoverAction": "Aksi sorot tidak valid '%s'", diff --git a/src/main/resources/assets/clientcommands/lang/ja_jp.json b/src/main/resources/assets/clientcommands/lang/ja_jp.json index 1383dacc..a5e8e34f 100644 --- a/src/main/resources/assets/clientcommands/lang/ja_jp.json +++ b/src/main/resources/assets/clientcommands/lang/ja_jp.json @@ -64,20 +64,16 @@ "commands.cenchant.success": "エンチャント操作を開始しています", "commands.cenchant.uncracked": "シードがクラックされる必要があります。", - "commands.cfind.found.left": " %1$s を次の場所で発見しました: ", - "commands.cfind.found.right": ", %2$s ブロック分離れています", + "commands.cfind.found": " %s を次の場所で発見しました: %s, %s ブロック分離れています", "commands.cfind.keepSearching.success": "エンティティを検索しています", "commands.cfind.noMatch": "あなたのクエリにマッチしたエンティティが存在しませんでした", "commands.cfind.success": "%s のエンティティがマッチしました", "commands.cfindblock.notFound": "そのようなブロックは見つかりませんでした", "commands.cfindblock.starting": "%s を探しています", - "commands.cfindblock.success.left": "最も近いマッチは ", - "commands.cfindblock.success.glow": "[Glow]", - "commands.cfindblock.success.right": ", %1$s ブロック分離れています", + "commands.cfindblock.success": "最も近いマッチは %s, %s ブロック分離れています", - "commands.cfinditem.match.left": "%sx %s が次の場所で見つかりました ", - "commands.cfinditem.match.right": "", + "commands.cfinditem.match": "%sx %s が次の場所で見つかりました %s", "commands.cfinditem.starting": "%s を検索しています", "commands.cfinditem.starting.keepSearching": "次のブロックをエンドレスに検索しています %s", "commands.cfinditem.total": "%sx %s がトータルで見つかりました", @@ -158,12 +154,10 @@ "commands.cping.singleplayer": "あなたはシングルプレイヤーワールドにいます (╯°□°)╯︵ ┻━┻", "commands.cping.playerNotFound": "プレイヤーが見つかりませんでした", + "commands.cpos.coords": "%s の %s は %s の %s", "commands.cpos.level.overworld": "現世", "commands.cpos.level.the_end": "ジ・エンド", "commands.cpos.level.the_nether": "ネザー", - "commands.cpos.coords.left": "", - "commands.cpos.coords.middle": " の %1$s は ", - "commands.cpos.coords.right": " の %2$s", "commands.crelog.failed": "再ログするのに失敗しました", diff --git a/src/main/resources/assets/clientcommands/lang/nl_nl.json b/src/main/resources/assets/clientcommands/lang/nl_nl.json index 678c4c26..965b13ff 100644 --- a/src/main/resources/assets/clientcommands/lang/nl_nl.json +++ b/src/main/resources/assets/clientcommands/lang/nl_nl.json @@ -19,18 +19,15 @@ "commands.cenchant.success": "Betoveringsmanipulatie aan het starten", "commands.cenchant.uncracked": "De seed moet gekraakt zijn.", - "commands.cfind.found.left": "%1$s gevonden op ", - "commands.cfind.found.right": ", %2$s blokken verwijderd", + "commands.cfind.found": "%s gevonden op %s, %s blokken verwijderd", "commands.cfind.keepSearching.success": "Entiteiten aan het vinden.", "commands.cfind.noMatch": "Geen enkele entiteit matchte jouw query", "commands.cfind.success": "%s entiteiten matchten jouw query", "commands.cfindblock.notFound": "Een dergelijk blok is niet gevonden", - "commands.cfindblock.success.left": "De dichtstbijzijnde match is op ", - "commands.cfindblock.success.right": ", %1$s blokken verwijderd", + "commands.cfindblock.success": "De dichtstbijzijnde match is op %s, %s blokken verwijderd", - "commands.cfinditem.match.left": "%sx %s gevonden op ", - "commands.cfinditem.match.right": "", + "commands.cfinditem.match": "%sx %s gevonden op %s", "commands.cfinditem.starting": "Aan het zoeken naar %s", "commands.cfinditem.starting.keepSearching": "Oneindig zoekend naar %s.", "commands.cfinditem.total": "In totaal %sx %s gevonden", diff --git a/src/main/resources/assets/clientcommands/lang/pl_pl.json b/src/main/resources/assets/clientcommands/lang/pl_pl.json index 0df224b0..4463d964 100644 --- a/src/main/resources/assets/clientcommands/lang/pl_pl.json +++ b/src/main/resources/assets/clientcommands/lang/pl_pl.json @@ -60,19 +60,15 @@ "commands.cenchant.success": "Rozpoczynam manipulowanie zaklęciami", "commands.cenchant.uncracked": "Ziarno musi być złamane", - "commands.cfind.found.left": "Znaleziono %1$s na ", - "commands.cfind.found.right": ", %2$s bloków dalej", + "commands.cfind.found": "Znaleziono %s na %s, %s bloków dalej", "commands.cfind.keepSearching.success": "Szukam obiektów", "commands.cfind.noMatch": "Żadne obiekty nie pasują twoim wymaganiom", "commands.cfind.success": "%s obiektów pasuje twoim wymaganiom", "commands.cfindblock.notFound": "Nie znaleziono takiego bloku", - "commands.cfindblock.success.left": "Najbliższe trafienie jest na ", - "commands.cfindblock.success.glow": "[Podświetl]", - "commands.cfindblock.success.right": ", %1$s bloków dalej", + "commands.cfindblock.success": "Najbliższe trafienie jest na %s, %s bloków dalej", - "commands.cfinditem.match.left": "%sx %s znaleziono na ", - "commands.cfinditem.match.right": "", + "commands.cfinditem.match": "%sx %s znaleziono na %s", "commands.cfinditem.starting": "Szukam %s", "commands.cfinditem.starting.keepSearching": "Będę szukać %s", "commands.cfinditem.total": "Znaleziono %sx %s", @@ -158,6 +154,7 @@ "commands.client.crack": "Złam", "commands.client.enable": "Włącz", "commands.client.expectedRegex": "Nieprawidłowe wyrażenie regularne %s", + "commands.client.glow": "[Podświetl]", "commands.client.notClient": "To nie jest polecenie klienta.", "commands.client.tooFewArguments": "Zbyt mało argumentów", "commands.client.invalidArgumentException": "Nieprawidłowy argument '%s'", diff --git a/src/main/resources/assets/clientcommands/lang/ru_ru.json b/src/main/resources/assets/clientcommands/lang/ru_ru.json index eccf65ca..69a4c5b1 100644 --- a/src/main/resources/assets/clientcommands/lang/ru_ru.json +++ b/src/main/resources/assets/clientcommands/lang/ru_ru.json @@ -63,19 +63,15 @@ "commands.cenchant.success": "Начало манипуляций с чарами", "commands.cenchant.uncracked": "Сид нужно взломать", - "commands.cfind.found.left": "Найденный %1$s ", - "commands.cfind.found.right": ", %2$s блоков от вас", + "commands.cfind.found": "Найденный %s %s, %s блоков от вас", "commands.cfind.keepSearching.success": "Поиск сущностей", "commands.cfind.noMatch": "Нет объектов, соответствующих вашему запросу", "commands.cfind.success": "%s сущностей соответствуют вашему запросу", "commands.cfindblock.notFound": "Такой блок не найден", - "commands.cfindblock.success.left": "Ближайший в ", - "commands.cfindblock.success.glow": "[Подсветить]", - "commands.cfindblock.success.right": ", %1$s блоков от вас", + "commands.cfindblock.success": "Ближайший в %s, %s блоков от вас", - "commands.cfinditem.match.left": "%sx %s найдено в ", - "commands.cfinditem.match.right": "", + "commands.cfinditem.match": "%sx %s найдено в %s", "commands.cfinditem.starting": "Поиск %s", "commands.cfinditem.starting.keepSearching": "Бесконечный поиск %s", "commands.cfinditem.total": "Всего найдено %sx %s", @@ -176,6 +172,7 @@ "commands.client.crack": "Взломать", "commands.client.enable": "Включить", "commands.client.expectedRegex": "Недопустимое регулярное выражение %s", + "commands.client.glow": "[Подсветить]", "commands.client.notClient": "Не клиентская команда", "commands.client.tooFewArguments": "Слишком мало аргументов", "commands.client.invalidArgumentException": "Недействительным аргумент '%s'", diff --git a/src/main/resources/assets/clientcommands/lang/sl_si.json b/src/main/resources/assets/clientcommands/lang/sl_si.json index c460853a..b0ec9e5a 100644 --- a/src/main/resources/assets/clientcommands/lang/sl_si.json +++ b/src/main/resources/assets/clientcommands/lang/sl_si.json @@ -13,17 +13,14 @@ "commands.cenchant.success": "Začatek manipulacije čaranja", "commands.cenchant.uncracked": "Seme mora biti ugotovljeno.", - "commands.cfind.found.left": "Najdeno %1$s ob ", - "commands.cfind.found.right": ", %2$s blokov proč", + "commands.cfind.found": "Najdeno %s ob %s, %s blokov proč", "commands.cfind.noMatch": "Nič se ne ujema z vašo poizvedbo", "commands.cfind.success": "%s entitet se ujema z vašo poizvedbo", "commands.cfindblock.notFound": "Takega bloka ni mogoče najti", - "commands.cfindblock.success.left": "Najbližje ujemanje je ob ", - "commands.cfindblock.success.right": ", %1$s blokov vstran", - - "commands.cfinditem.match.left": "%sx %s najdeno ob ", - "commands.cfinditem.match.right": "", + "commands.cfindblock.success": "Najbližje ujemanje je ob %s, %s blokov vstran", + + "commands.cfinditem.match": "%sx %s najdeno ob %s", "commands.cfinditem.starting": "Iskati %s", "commands.cfinditem.starting.keepSearching": "Neskončno iskanje za %s.", "commands.cfinditem.total": "Skupno najdeno %sx %s", diff --git a/src/main/resources/assets/clientcommands/lang/zh_cn.json b/src/main/resources/assets/clientcommands/lang/zh_cn.json index 1ce67355..7e38ea84 100644 --- a/src/main/resources/assets/clientcommands/lang/zh_cn.json +++ b/src/main/resources/assets/clientcommands/lang/zh_cn.json @@ -65,22 +65,17 @@ "commands.cenchant.success": "正在开始操控附魔", "commands.cenchant.uncracked": "你需要先破解随机种子", - "commands.cfind.found.left": "在", - "commands.cfind.found.right": "找到%1$s, 距离你%2$s格", + "commands.cfind.found": "在%2$s找到%1$s, 距离你%3$s格", "commands.cfind.keepSearching.success": "正在搜寻实体", "commands.cfind.noMatch": "未找到匹配查找条件的实体", "commands.cfind.success": "找到%s个匹配查找条件的实体", "commands.cfindblock.notFound": "未发现此方块", "commands.cfindblock.starting": "正在搜索:%s", - "commands.cfindblock.success.left": "离你最近的匹配方块在", - "commands.cfindblock.success.glow": "[发光]", - "commands.cfindblock.success.right": ",距离你%1$s格", - - "commands.cfinditem.match.entity.left": "%s个%s在%s中被找到,位于", - "commands.cfinditem.match.entity.right": "", - "commands.cfinditem.match.left": "在", - "commands.cfinditem.match.right": "找到了%s个%s", + "commands.cfindblock.success": "离你最近的匹配方块在%s,距离你%s格", + + "commands.cfinditem.match.entity": "%s个%s在%s中被找到,位于%s", + "commands.cfinditem.match": "在%3$s找到了%1$s个%2$s", "commands.cfinditem.starting": "正在搜索%s", "commands.cfinditem.starting.keepSearching": "正在持续搜索%s", "commands.cfinditem.total": "一共找到了%s个%s", @@ -178,12 +173,10 @@ "commands.cping.singleplayer": "你在一个单人游戏世界里(╯°□°)╯︵ ┻━┻", "commands.cping.playerNotFound": "未找到玩家", + "commands.cpos.coords": "%s在%s中是%s在%s中", "commands.cpos.level.overworld": "主世界", "commands.cpos.level.the_end": "末地", "commands.cpos.level.the_nether": "下界", - "commands.cpos.coords.left": "", - "commands.cpos.coords.middle": "在%1$s中是", - "commands.cpos.coords.right": "在%2$s中", "commands.crelog.failed": "未能重新登录", @@ -254,6 +247,7 @@ "commands.client.crack": "破解", "commands.client.enable": "启用", "commands.client.expectedRegex": "无效的正则表达式%s", + "commands.client.glow": "[发光]", "commands.client.invalidArgumentException": "无效参数‘%s’", "commands.client.invalidClickAction": "无效的点击事件操作‘%s’", "commands.client.invalidHoverAction": "无效的点击事件操作‘%s’", diff --git a/src/main/resources/assets/clientcommands/lang/zh_tw.json b/src/main/resources/assets/clientcommands/lang/zh_tw.json index 2eeabb4b..29a640b4 100644 --- a/src/main/resources/assets/clientcommands/lang/zh_tw.json +++ b/src/main/resources/assets/clientcommands/lang/zh_tw.json @@ -65,22 +65,17 @@ "commands.cenchant.success": "正在開始操控附魔", "commands.cenchant.uncracked": "您需要先破譯隨機種子。", - "commands.cfind.found.left": "在 ", - "commands.cfind.found.right": " 找到 %1$s,距離您 %2$s 格", + "commands.cfind.found": "在 %2$s 找到 %1$s,距離您 %3$s 格", "commands.cfind.keepSearching.success": "找尋實體中。", "commands.cfind.noMatch": "沒有實體符合您的搜尋條件", "commands.cfind.success": "%s 個實體符合您的搜尋條件", "commands.cfindblock.notFound": "沒有發現此方塊", "commands.cfindblock.starting": "正在搜尋 %s", - "commands.cfindblock.success.left": "離您最近的匹配方塊在 ", - "commands.cfindblock.success.glow": "[發光]", - "commands.cfindblock.success.right": ",距離您 %1$s 格", - - "commands.cfinditem.match.entity.left": "在 %s 的 ", - "commands.cfinditem.match.entity.right": " 找到 %sx %s", - "commands.cfinditem.match.left": "在 ", - "commands.cfinditem.match.right": " 找到 %sx %s", + "commands.cfindblock.success": "離您最近的匹配方塊在 %s,距離您 %s 格", + + "commands.cfinditem.match.entity": "在 %3$s 的 %4$s 找到 %1$sx %2$s", + "commands.cfinditem.match": "在 %3$s 找到 %1$sx %2$s", "commands.cfinditem.starting": "正在搜尋 %s", "commands.cfinditem.starting.keepSearching": "正在持續搜尋 %s。", "commands.cfinditem.total": "一共找到了 %s 個 %s 。", @@ -178,12 +173,10 @@ "commands.cping.singleplayer": "您在單人遊戲世界中 (╯°□°)╯︵ ┻━┻", "commands.cping.playerNotFound": "找不到玩家", + "commands.cpos.coords": "%s 在 %s 的座標為 %s,位於 %s", "commands.cpos.level.overworld": "主世界", "commands.cpos.level.the_end": "終界", "commands.cpos.level.the_nether": "地獄", - "commands.cpos.coords.left": "", - "commands.cpos.coords.middle": " 在 %1$s 的座標為 ", - "commands.cpos.coords.right": ",位於 %2$s", "commands.crelog.failed": "重新載入記錄檔失敗", @@ -262,6 +255,7 @@ "commands.client.crack": "破譯", "commands.client.enable": "啟用", "commands.client.expectedRegex": "無效的正則表達式 %s", + "commands.client.glow": "[發光]", "commands.client.invalidArgumentException": "無效的參數「%s」", "commands.client.invalidClickAction": "無效的點選事件動作「%s」", "commands.client.invalidHoverAction": "無效的懸停事件動作「%s」",