Applied-Energistics-2-tiler.../core/localization/GuiText.java
AlgorithmX2 adb03c45c6 Added Current/Max Power to Network Tool.
Added Current/Max Power to Spatial IO Port.
Added Required/Efficiency to Spatial IO Port.
Added Power Unit Button / Setting.
Fixed bug with Meteorite and Spatial IO.
Removed Random Logging in Spatial IO.
2014-03-05 23:45:14 -06:00

51 lines
1.2 KiB
Java

package appeng.core.localization;
import net.minecraft.util.StatCollector;
public enum GuiText
{
inventory("container"), // mc's default Inventory localization.
Chest, StoredEnergy, Of, Condenser, Drive, GrindStone, SkyChest,
VibrationChamber, SpatialIOPort, LevelEmitter, Terminal,
Interface, Config, StoredItems, Patterns, ImportBus, ExportBus,
CellWorkbench, NetworkDetails, StorageCells, IOBuses,
IOPort, BytesUsed, Types, QuantumLinkChamber, PortableCell,
NetworkTool, PowerUsageRate, PowerInputRate, Installed, EnergyDrain,
StorageBus, Priority, Security, Encoded, Blank, Unlinked, Linked,
SecurityCardEditor, NoPermissions, WirelessTerminal, Wireless,
CraftingTerminal, FormationPlane, Inscriber, QuartzCuttingKnife,
METunnel, ItemTunnel, RedstoneTunnel, MJTunnel, EUTunnel, FluidTunnel, StoredSize,
StoredPower, MaxPower, RequiredPower, Efficiency;
String root;
GuiText() {
root = "gui.appliedenergistics2";
}
GuiText(String r) {
root = r;
}
public String getUnlocalized()
{
return root + "." + toString();
}
public String getLocal()
{
return StatCollector.translateToLocal( getUnlocalized() );
}
}