From 9d86b31cb75418c8bee8a3cf4dd00dcc37a24ddd Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Fri, 1 Jul 2022 12:40:43 +0200 Subject: [PATCH] Bump version to 4.4.0-SNAPSHOT, update translation mappings A break and more funky things --- build.gradle.kts | 2 +- .../api/ViaBackwardsPlatform.java | 2 +- .../data/translation-mappings.json | 50 +++++++++++++++++-- 3 files changed, 48 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d9956792..63c56f7c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { allprojects { group = "com.viaversion" - version = "4.3.1-1.19.1-pre2-SNAPSHOT" + version = "4.4.0-1.19.1-pre2-SNAPSHOT" description = "Allow older clients to join newer server versions." } diff --git a/common/src/main/java/com/viaversion/viabackwards/api/ViaBackwardsPlatform.java b/common/src/main/java/com/viaversion/viabackwards/api/ViaBackwardsPlatform.java index 1c80205d..abdbf784 100644 --- a/common/src/main/java/com/viaversion/viabackwards/api/ViaBackwardsPlatform.java +++ b/common/src/main/java/com/viaversion/viabackwards/api/ViaBackwardsPlatform.java @@ -58,7 +58,7 @@ import java.util.logging.Logger; public interface ViaBackwardsPlatform { - String MINIMUM_VV_VERSION = "4.3.2"; + String MINIMUM_VV_VERSION = "4.4.0"; String IMPL_VERSION = "$IMPL_VERSION"; /** diff --git a/common/src/main/resources/assets/viabackwards/data/translation-mappings.json b/common/src/main/resources/assets/viabackwards/data/translation-mappings.json index 63868468..154fe0fa 100644 --- a/common/src/main/resources/assets/viabackwards/data/translation-mappings.json +++ b/common/src/main/resources/assets/viabackwards/data/translation-mappings.json @@ -21,11 +21,30 @@ "multiplayer.disconnect.missing_public_key": "Missing profile public key.\nThis server requires secure profiles.", "multiplayer.disconnect.invalid_public_key_signature": "Invalid signature for profile public key.\nTry restarting your game.", "multiplayer.disconnect.invalid_public_key": "Unable to parse profile public key.", + "multiplayer.disconnect.out_of_order_chat": "Out-of-order chat packet received. Did your system time change?", + "multiplayer.disconnect.unsigned_chat": "Received chat packet with missing or invalid signature.", + "chatPreview.warning.title": "This server uses Chat Preview", + "chatPreview.warning.content": "Chat Preview allows the server to see your messages in real time as you type them, even before they’re sent. This is often used to preview your message with styling applied.\n\nChat Preview is on by default, but can be turned off in Chat Settings.", + "chatPreview.warning.check": "Do not notify again for this server", + "chatPreview.warning.toast.title": "Chat Preview is enabled", + "chatPreview.warning.toast": "This server uses Chat Preview and can see your messages as you type them, even before they're sent. You can turn this off in Chat Settings.", + "chat.disabled.profile.moreInfo": "Chat not allowed by account settings. Cannot send or view messages.", + "chat.preview": "Type to preview", + "chat.tag.not_secure": "This message is not secure", + "chat.tag.modified": "This message has been modified by the server.", + "chat.tag.modified.original": "Original text: %s", + "disconnect.loginFailedInfo.userBanned": "You are banned from playing online", "options.darknessEffectScale": "Darkness Pulsing", "options.darknessEffectScale.tooltip": "Controls how much the Darkness effect pulses when a Warden or Sculk Shrieker gives it to you.", + "options.chatPreview": "Chat Preview", + "options.chatPreview.tooltip": "Chat Preview allows servers to see your messages as you type, which allows them to style your message. You can still chat if you turn this off.", + "options.onlyShowSecureChat": "Only Show Secure Chat", + "options.onlyShowSecureChat.tooltip": "Only display messages from other players that can be verified to have been sent by that player, and have not been modified.", "options.directionalAudio": "Directional Audio", "options.directionalAudio.on.tooltip": "Uses HRTF-based directional audio to improve the simulation of 3D sound. Requires HRTF compatible audio hardware, and is best experienced with headphones.", "options.directionalAudio.off.tooltip": "Classic Stereo sound", + "title.multiplayer.disabled.banned.temporary": "Your account is temporarily suspended from online play", + "title.multiplayer.disabled.banned.permanent": "Your account is permanently suspended from online play", "block.minecraft.mangrove_planks": "Mangrove Planks", "block.minecraft.mangrove_propagule": "Mangrove Propagule", "block.minecraft.mangrove_door": "Mangrove Door", @@ -69,10 +88,10 @@ "item.minecraft.acacia_chest_boat": "Acacia Boat with Chest", "item.minecraft.dark_oak_chest_boat": "Dark Oak Boat with Chest", "item.minecraft.mangrove_boat": "Mangrove Boat", + "item.minecraft.mangrove_chest_boat": "Mangrove Boat with Chest", "item.minecraft.recovery_compass": "Recovery Compass", "item.minecraft.music_disc_5": "Music Disc", "item.minecraft.music_disc_5.desc": "Samuel Åberg - 5", - "item.minecraft.mangrove_chest_boat": "Mangrove Boat with Chest", "item.minecraft.disc_fragment_5": "Disc Fragment", "item.minecraft.disc_fragment_5.desc": "Music Disc - 5", "item.minecraft.allay_spawn_egg": "Allay Spawn Egg", @@ -94,11 +113,20 @@ "entity.minecraft.frog": "Frog", "entity.minecraft.tadpole": "Tadpole", "entity.minecraft.warden": "Warden", + "death.attack.onFire.item": "%1$s was burnt to a crisp whilst fighting %2$s wielding %3$s", + "death.attack.witherSkull.item": "%1$s was shot by a skull from %2$s using %3$s", "death.attack.sonic_boom": "%1$s was obliterated by a sonically-charged shriek", + "death.attack.sonic_boom.item": "%1$s was obliterated by a sonically-charged shriek whilst trying to escape %2$s wielding %3$s", "death.attack.sonic_boom.player": "%1$s was obliterated by a sonically-charged shriek whilst trying to escape %2$s", + "death.attack.sting.item": "%1$s was stung to death by %2$s using %3$s", "effect.minecraft.darkness": "Darkness", "enchantment.minecraft.swift_sneak": "Swift Sneak", + "gui.minutes": "%s minute(s)", + "gui.hours": "%s hour(s)", + "gui.days": "%s day(s)", "subtitles.block.frogspawn.hatch": "Tadpole hatches", + "subtitles.block.sculk.charge": "Sculk bubbles", + "subtitles.block.sculk.spread": "Sculk spreads", "subtitles.block.sculk_catalyst.bloom": "Sculk Catalyst blooms", "subtitles.block.sculk_shrieker.shriek": "Sculk Shrieker shrieks", "subtitles.entity.allay.death": "Allay dies", @@ -114,7 +142,7 @@ "subtitles.entity.frog.hurt": "Frog hurts", "subtitles.entity.frog.lay_spawn": "Frog lays spawn", "subtitles.entity.frog.long_jump": "Frog jumps", - "subtitles.entity.goat.horn_break": "Goat horn breaks off", + "subtitles.entity.goat.horn_break": "Goat Horn breaks off", "subtitles.entity.parrot.imitate.warden": "Parrot whines", "subtitles.entity.tadpole.death": "Tadpole dies", "subtitles.entity.tadpole.flop": "Tadpole flops", @@ -139,7 +167,8 @@ "subtitles.entity.warden.nearby_closest": "Warden draws close", "subtitles.entity.warden.sonic_charge": "Warden charges", "subtitles.entity.warden.sonic_boom": "Warden booms", - "subtitles.item.goat_horn.play": "Goat horn plays", + "subtitles.item.bucket.fill_tadpole": "Tadpole captured", + "subtitles.item.goat_horn.play": "Goat Horn plays", "advancements.adventure.avoid_vibration.title": "Sneak 100", "advancements.adventure.avoid_vibration.description": "Sneak near a Sculk Sensor or Warden to prevent it from detecting you", "advancements.adventure.kill_mob_near_sculk_catalyst.title": "It Spreads", @@ -153,7 +182,17 @@ "advancements.husbandry.allay_deliver_item_to_player.title": "You've Got a Friend in Me", "advancements.husbandry.allay_deliver_item_to_player.description": "Have an Allay deliver items to you", "advancements.husbandry.allay_deliver_cake_to_note_block.title": "Birthday Song", - "advancements.husbandry.allay_deliver_cake_to_note_block.description": "Have an Allay drop a cake at a Note Block", + "advancements.husbandry.allay_deliver_cake_to_note_block.description": "Have an Allay drop a Cake at a Note Block", + "argument.enum.invalid": "Invalid value \"%s\"", + "commands.locate.structure.success": "The nearest %s is at %s (%s blocks away)", + "commands.locate.structure.not_found": "Could not find a structure of type \"%s\" nearby", + "commands.locate.structure.invalid": "There is no structure with type \"%s\"", + "commands.locate.biome.success": "The nearest %s is at %s (%s blocks away)", + "commands.locate.biome.not_found": "Could not find a biome of type \"%s\" within reasonable distance", + "commands.locate.biome.invalid": "There is no biome with type \"%s\"", + "commands.locate.poi.success": "The nearest %s is at %s (%s blocks away)", + "commands.locate.poi.not_found": "Could not find a point of interest of type \"%s\" within reasonable distance", + "commands.locate.poi.invalid": "There is no point of interest with type \"%s\"", "commands.place.feature.failed": "Failed to place feature", "commands.place.feature.invalid": "There is no feature with type \"%s\"", "commands.place.feature.success": "Placed \"%s\" at %s, %s, %s", @@ -163,6 +202,9 @@ "commands.place.structure.failed": "Failed to place structure", "commands.place.structure.invalid": "There is no structure with type \"%s\"", "commands.place.structure.success": "Generated structure \"%s\" at %s, %s, %s", + "commands.place.template.failed": "Failed to place template", + "commands.place.template.invalid": "There is no template with id \"%s\"", + "commands.place.template.success": "Loaded template \"%s\" at %s, %s, %s", "biome.minecraft.deep_dark": "Deep Dark", "biome.minecraft.mangrove_swamp": "Mangrove Swamp", "gamerule.doWardenSpawning": "Spawn Wardens",