From 1c7f7a09ac31c7c4fcd68db3bae9868fc95f4a38 Mon Sep 17 00:00:00 2001 From: "Aidan C. Brady" Date: Sun, 29 Mar 2015 11:01:54 -0400 Subject: [PATCH] Energy Cubes now use old localization standards --- src/main/java/mekanism/common/item/ItemBlockEnergyCube.java | 2 +- .../java/mekanism/common/tile/TileEntityEnergyCube.java | 2 +- src/main/resources/assets/mekanism/lang/en_US.lang | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/mekanism/common/item/ItemBlockEnergyCube.java b/src/main/java/mekanism/common/item/ItemBlockEnergyCube.java index 61904120d..4c9fed87c 100644 --- a/src/main/java/mekanism/common/item/ItemBlockEnergyCube.java +++ b/src/main/java/mekanism/common/item/ItemBlockEnergyCube.java @@ -82,7 +82,7 @@ public class ItemBlockEnergyCube extends ItemBlock implements IEnergizedItem, IE @Override public String getItemStackDisplayName(ItemStack itemstack) { - return getEnergyCubeTier(itemstack).getBaseTier().getLocalizedName() + " " + metaBlock.getLocalizedName(); + return MekanismUtils.localize("tile.EnergyCube" + getEnergyCubeTier(itemstack).getBaseTier().getName() + ".name"); } @Override diff --git a/src/main/java/mekanism/common/tile/TileEntityEnergyCube.java b/src/main/java/mekanism/common/tile/TileEntityEnergyCube.java index 8e001c133..41f6313da 100644 --- a/src/main/java/mekanism/common/tile/TileEntityEnergyCube.java +++ b/src/main/java/mekanism/common/tile/TileEntityEnergyCube.java @@ -82,7 +82,7 @@ public class TileEntityEnergyCube extends TileEntityElectricBlock implements IPe @Override public String getInventoryName() { - return tier.getBaseTier().getLocalizedName() + " " + getBlockType().getLocalizedName(); + return MekanismUtils.localize("tile.EnergyCube" + tier.getBaseTier().getName() + ".name"); } @Override diff --git a/src/main/resources/assets/mekanism/lang/en_US.lang b/src/main/resources/assets/mekanism/lang/en_US.lang index 2b340f1a1..66d9aadca 100644 --- a/src/main/resources/assets/mekanism/lang/en_US.lang +++ b/src/main/resources/assets/mekanism/lang/en_US.lang @@ -177,7 +177,11 @@ item.MultipartTransmitter.DiversionTransporter.name=Diversion Transporter item.GlowPanel.name=Glow Panel //Energy Cubes -tile.EnergyCube.name=Energy Cube +tile.EnergyCubeBasic.name=Basic Energy Cube +tile.EnergyCubeAdvanced.name=Advanced Energy Cube +tile.EnergyCubeElite.name=Elite Energy Cube +tile.EnergyCubeUltimate.name=Ultimate Energy Cube +tile.EnergyCubeCreative.name=Creative Energy Cube //Factory Installers item.basicFactoryInstaller.name=Basic Factory Installer