diff --git a/src/main/java/techreborn/items/ItemUpgrades.java b/src/main/java/techreborn/items/ItemUpgrades.java index 1579b2ef7..04cef5767 100644 --- a/src/main/java/techreborn/items/ItemUpgrades.java +++ b/src/main/java/techreborn/items/ItemUpgrades.java @@ -6,6 +6,7 @@ import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.text.TextFormatting; +import net.minecraft.util.text.translation.I18n; import reborncore.common.recipes.RecipeCrafter; import techreborn.client.TechRebornCreativeTabMisc; import techreborn.init.ModItems; @@ -92,9 +93,9 @@ public class ItemUpgrades extends ItemTextureBase implements IMachineUpgrade, IT @Override public void addInformation(ItemStack stack, EntityPlayer playerIn, List tooltip, boolean advanced) { - tooltip.add(TextFormatting.RED + "WIP Coming Soon"); - tooltip.add(TextFormatting.RED + "Upgrades DO NOT function!"); - tooltip.add(TextFormatting.RED + "Currently only a crafting ingredient"); + tooltip.add(TextFormatting.RED + I18n.translateToLocal("tooltip.wip")); + tooltip.add(TextFormatting.RED + I18n.translateToLocal("tooltip.upBroken")); + tooltip.add(TextFormatting.RED + I18n.translateToLocal("tooltip.ingredient")); } @Override diff --git a/src/main/java/techreborn/items/tools/ItemTechManual.java b/src/main/java/techreborn/items/tools/ItemTechManual.java index c744a72e0..c7c9e4de5 100644 --- a/src/main/java/techreborn/items/tools/ItemTechManual.java +++ b/src/main/java/techreborn/items/tools/ItemTechManual.java @@ -9,6 +9,7 @@ import net.minecraft.util.ActionResult; import net.minecraft.util.EnumActionResult; import net.minecraft.util.EnumHand; import net.minecraft.util.text.TextFormatting; +import net.minecraft.util.text.translation.I18n; import net.minecraft.world.World; import techreborn.Core; import techreborn.client.GuiHandler; @@ -49,6 +50,6 @@ public class ItemTechManual extends ItemTextureBase implements ITexturedItem @Override public void addInformation(ItemStack stack, EntityPlayer playerIn, List tooltip, boolean advanced) { - tooltip.add(TextFormatting.RED + "WIP Coming Soon"); + tooltip.add(TextFormatting.RED + I18n.translateToLocal("tooltip.wip")); } } diff --git a/src/main/resources/assets/techreborn/lang/en_US.lang b/src/main/resources/assets/techreborn/lang/en_US.lang index 6badd23ca..afc467461 100644 --- a/src/main/resources/assets/techreborn/lang/en_US.lang +++ b/src/main/resources/assets/techreborn/lang/en_US.lang @@ -1046,4 +1046,8 @@ death.attack.shock=%s was electrocuted #Entitys -entity.techreborn.nuke.name=Nuke \ No newline at end of file +entity.techreborn.nuke.name=Nuke + +tooltip.wip=WIP Coming Soon +tooltip.upBroken=Upgrades DO NOT function! +tooltip.ingredient=Currently only a crafting ingredient \ No newline at end of file