Skip to content

Commit

Permalink
chore: updated GCTranslationProvider to generate en_us.json language …
Browse files Browse the repository at this point in the history
…file correctly (#376)

* chore: added all translations to the GCTranslationProvider

* fix: added missing imports

* fix: resolved inconsistencies such as different capitalisation and spaces after colons

* fix: replaced 'Air Lock' with the more correct 'Airlock'

* fix: temporarily prevented the Aluminium Wire and Glass Fluid Pipe item models from being generated to avoid conflicts

* fix: renamed 'Cryogenic Chamber Part' to just 'Cryogenic Chamber'

* fix: removed double space to be consistent

* fix: added changes overlooked when merging

* fix: changed Gj/t to gJ/t for consistency
  • Loading branch information
Roelymole authored Jan 3, 2025
1 parent 1c027ce commit 9baedc9
Show file tree
Hide file tree
Showing 4 changed files with 617 additions and 142 deletions.
28 changes: 14 additions & 14 deletions src/main/generated/assets/galacticraft/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"biome.galacticraft.venus_valley": "Venus Valley",
"block.galacticraft.advanced_solar_panel": "Advanced Solar Panel",
"block.galacticraft.advanced_solar_panel.description": "Advanced Solar Panels collect energy from the sun, and store it for further use. Adjusts position to face the sun, to collect more electricity.",
"block.galacticraft.air_lock_controller": "Air Lock Controller",
"block.galacticraft.air_lock_frame": "Air Lock Frame",
"block.galacticraft.air_lock_seal": "Air Lock Seal",
"block.galacticraft.air_lock_controller": "Airlock Controller",
"block.galacticraft.air_lock_frame": "Airlock Frame",
"block.galacticraft.air_lock_seal": "Airlock Seal",
"block.galacticraft.aluminum_block": "Block of Aluminum",
"block.galacticraft.aluminum_decoration": "Aluminum Decoration",
"block.galacticraft.aluminum_decoration_slab": "Aluminum Decoration Slab",
Expand Down Expand Up @@ -66,7 +66,7 @@
"block.galacticraft.cracked_moon_rock_brick_wall": "Cracked Moon Rock Brick Wall",
"block.galacticraft.crude_oil": "Crude Oil",
"block.galacticraft.cryogenic_chamber": "Cryogenic Chamber",
"block.galacticraft.cryogenic_chamber_part": "Cryogenic Chamber Part",
"block.galacticraft.cryogenic_chamber_part": "Cryogenic Chamber",
"block.galacticraft.cyan_candle_moon_cheese_wheel": "Moon Cheese Wheel with Cyan Candle",
"block.galacticraft.dark_decoration": "Dark Decoration",
"block.galacticraft.dark_decoration_slab": "Dark Decoration Slab",
Expand Down Expand Up @@ -178,7 +178,7 @@
"block.galacticraft.moon_basalt_stairs": "Moon Basalt Stairs",
"block.galacticraft.moon_basalt_wall": "Moon Basalt Wall",
"block.galacticraft.moon_cheese_wheel": "Moon Cheese Wheel",
"block.galacticraft.moon_cheese_wheel.description": "Cheese Blocks are created from the cheeses of the Moon, place-able and edible.",
"block.galacticraft.moon_cheese_wheel.description": "Moon Cheese Wheels are created from the cheeses of the Moon, place-able and edible.",
"block.galacticraft.moon_copper_ore": "Moon Copper Ore",
"block.galacticraft.moon_dirt": "Moon Dirt",
"block.galacticraft.moon_dirt_path": "Moon Dirt Path",
Expand Down Expand Up @@ -267,7 +267,7 @@
"block.galacticraft.yellow_candle_moon_cheese_wheel": "Moon Cheese Wheel with Yellow Candle",
"category.recipe_viewer.circuit_fabricator": "Circuit Fabricating",
"category.recipe_viewer.compressing": "Compressing",
"chat.galacticraft.bed_fail": "Uh oh, what if the oxygen runs out when I am asleep? I'll need a Cryogenic Chamber to sleep in space!",
"chat.galacticraft.bed_fail": "Uh oh, what if the oxygen runs out when I am asleep? I'll need a Cryogenic Chamber to sleep in space!",
"chat.galacticraft.rocket.warning": "Press again to launch.",
"commands.galacticraft.debug.registry.dump": "Dumped: %s",
"commands.galacticraft.debug.registry.id": "%s - %s: %s",
Expand Down Expand Up @@ -563,7 +563,7 @@
"ui.galacticraft.booster": "Booster",
"ui.galacticraft.bubble_distributor.current_size": "Current Size: %s",
"ui.galacticraft.bubble_distributor.not_visible": "Bubble Not Visible",
"ui.galacticraft.bubble_distributor.size": "Target Size:",
"ui.galacticraft.bubble_distributor.size": "Target Size: ",
"ui.galacticraft.bubble_distributor.visible": "Bubble Visible",
"ui.galacticraft.celestialselection.apply": "Apply",
"ui.galacticraft.celestialselection.assign_name": "Assign Name",
Expand Down Expand Up @@ -595,7 +595,7 @@
"ui.galacticraft.giant_leap": "Taking one giant leap",
"ui.galacticraft.machine.collecting": "Collecting: %s/s",
"ui.galacticraft.machine.current_oxygen": "Oxygen: %s",
"ui.galacticraft.machine.gj_per_t": "%sGj/t",
"ui.galacticraft.machine.gj_per_t": "%s gJ/t",
"ui.galacticraft.machine.max_oxygen": "Maximum Oxygen: %s",
"ui.galacticraft.machine.solar_panel.atmospheric_interference": "Atmospheric Interference: %s",
"ui.galacticraft.machine.solar_panel.blocked": "Blocked",
Expand All @@ -614,7 +614,7 @@
"ui.galacticraft.machine.status": "Status: ",
"ui.galacticraft.player_inv_screen.oxygen_tank_level": "Oxygen Tank %s: %s/%s",
"ui.galacticraft.prepare_for_entry": "Prepare for entry!",
"ui.galacticraft.rocket.fuel": "Fuel:",
"ui.galacticraft.rocket.fuel": "Fuel: ",
"ui.galacticraft.rocket.full": "% full",
"ui.galacticraft.rocket.no_fuel": "No fuel",
"ui.galacticraft.satellite": "Satellite",
Expand Down Expand Up @@ -657,16 +657,16 @@
"ui.galacticraft.status.missing_oxygen_tank": "Missing Oxygen Tank",
"ui.galacticraft.status.night": "Night",
"ui.galacticraft.status.no_fuel": "No Fuel",
"ui.galacticraft.status.no_rocket": "No rocket",
"ui.galacticraft.status.not_enough_fuel": "Not enough fuel",
"ui.galacticraft.status.no_rocket": "No Rocket",
"ui.galacticraft.status.not_enough_fuel": "Not Enough Fuel",
"ui.galacticraft.status.not_enough_oxygen": "Not Enough Oxygen",
"ui.galacticraft.status.oxygen_tank_full": "Oxygen Tank Full",
"ui.galacticraft.status.partially_blocked": "Partially Blocked",
"ui.galacticraft.status.rain": "Rain",
"ui.galacticraft.status.rocket_is_full": "Rocket is full",
"ui.galacticraft.status.rocket_is_full": "Rocket Is Full",
"ui.galacticraft.status.sealed": "Sealed",
"ui.galacticraft.status.warming_up": "Warming up",
"ui.galacticraft.travelling_to": "Travelling to: ",
"ui.galacticraft.status.warming_up": "Warming Up",
"ui.galacticraft.travelling_to": "Traveling to: ",
"ui.galacticraft.upgrade": "Upgrade",
"ui.lander.velocity": "Entry Velocity",
"ui.lander.velocityu": "m/s",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected void renderBg(GuiGraphics graphics, float partialTicks, int mouseX, in

@Override
protected void renderLabels(GuiGraphics graphics, int i, int j) {
graphics.drawString(this.font, Component.literal(Minecraft.getInstance().player.getGameProfile().getName() + "'s Air Lock Controller"), this.titleLabelX, this.titleLabelY, 4210752, false);
graphics.drawString(this.font, Component.literal(Minecraft.getInstance().player.getGameProfile().getName() + "'s Airlock Controller"), this.titleLabelX, this.titleLabelY, 4210752, false);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public void unsealAirLock()

@Override
public Component getDisplayName() {
return Component.literal(ownerName + "'s Air Lock Controller");
return Component.literal(ownerName + "'s Airlock Controller");
}

@Override
Expand Down
Loading

0 comments on commit 9baedc9

Please sign in to comment.