Merge pull request #679 from Enosphorous/master

Don't hardcode names in, use lang files!
This commit is contained in:
pahimar 2014-05-26 11:32:20 -04:00
commit 2c631f30f9
3 changed files with 7 additions and 4 deletions

View file

@ -21,7 +21,7 @@ public class CreativeTab
@SideOnly(Side.CLIENT)
public String getTranslatedTabLabel()
{
return "Equivalent Exchange 3";
return StatCollector.translateToLocal("key.categories.ee3");
}
};
}

View file

@ -31,15 +31,15 @@ public class ItemBlockAlchemicalChest extends ItemBlock
if (metaData == 0)
{
list.add("Small");
list.add(StatCollector.translateToLocal("tooltip.ee3:alchemicalChestPrefix.small"));
}
else if (metaData == 1)
{
list.add("Medium");
list.add(StatCollector.translateToLocal("tooltip.ee3:alchemicalChestPrefix.medium"));
}
else if (metaData == 2)
{
list.add("Large");
list.add(StatCollector.translateToLocal("tooltip.ee3:alchemicalChestPrefix.large"));
}
}
}

View file

@ -71,3 +71,6 @@ version.ee3:mc_version_not_found=Unable to find a version of %s for %s in the re
# Tooltip localizations
tooltip.ee3:upgradesPrefix=Upgrades (Alchemical) Chests
tooltip.ee3:alchemicalChestPrefix.small=Small
tooltip.ee3:alchemicalChestPrefix.medium=Medium
tooltip.ee3:alchemicalChestPrefix.large=Large