Merge pull request #679 from Enosphorous/master
Don't hardcode names in, use lang files!
This commit is contained in:
commit
2c631f30f9
3 changed files with 7 additions and 4 deletions
|
@ -21,7 +21,7 @@ public class CreativeTab
|
|||
@SideOnly(Side.CLIENT)
|
||||
public String getTranslatedTabLabel()
|
||||
{
|
||||
return "Equivalent Exchange 3";
|
||||
return StatCollector.translateToLocal("key.categories.ee3");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue