mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 20:52:42 +00:00
Some more localization
This commit is contained in:
1 parent
27e3288655
commit
b06c6d17c4
5 files changed
+38
-25
No files matched your search
@@ -26,6 +26,7 @@ import crazypants.enderio.machine.painter.IPaintedBlock;
|
||||
import crazypants.enderio.machine.painter.PaintSourceValidator;
|
||||
import crazypants.enderio.machine.painter.PainterUtil;
|
||||
import crazypants.util.Util;
|
||||
import crazypants.util.Lang;
|
||||
|
||||
public class ItemConduitFacade extends Item implements IAdvancedTooltipProvider {
|
||||
|
||||
@@ -119,7 +120,7 @@ public class ItemConduitFacade extends Item implements IAdvancedTooltipProvider
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void addBasicEntries(ItemStack itemstack, EntityPlayer entityplayer, List list, boolean flag) {
|
||||
if(PainterUtil.getSourceBlock(itemstack) == null) {
|
||||
list.add("Not Painted");
|
||||
list.add(Lang.localize("item.itemConduitFacade.tooltip.notpainted"));
|
||||
} else {
|
||||
list.add(PainterUtil.getTooltTipText(itemstack));
|
||||
}
|
||||
|
||||
@@ -364,7 +364,7 @@ public class ItemSoulVessel extends Item implements IResourceTooltipProvider {
|
||||
if(mobName != null) {
|
||||
par3List.add(EntityUtil.getDisplayNameForEntity(mobName));
|
||||
} else {
|
||||
par3List.add("Empty");
|
||||
par3List.add(Lang.localize("item.itemSoulVessel.tooltip.empty"));
|
||||
}
|
||||
|
||||
float health = getHealthFromStack(par1ItemStack);
|
||||
|
||||
@@ -187,7 +187,7 @@ public class DarkSteelRecipeManager {
|
||||
}
|
||||
}
|
||||
if(!applyableUpgrades.isEmpty()) {
|
||||
list.add(EnumChatFormatting.YELLOW + "Anvil Upgrades: ");
|
||||
list.add(EnumChatFormatting.YELLOW + Lang.localize("tooltip.anvilupgrades") + " ");
|
||||
for (IDarkSteelUpgrade up : applyableUpgrades) {
|
||||
list.add(EnumChatFormatting.DARK_AQUA + "" + "" + Lang.localize(up.getUnlocalizedName() + ".name", false) + ": ");
|
||||
list.add(EnumChatFormatting.DARK_AQUA + "" + EnumChatFormatting.ITALIC + " " + up.getUpgradeItemName() + " + " + up.getLevelCost()
|
||||
|
||||
Reference in new issue
Block a user