2013-12-27 16:59:59 -06:00
|
|
|
package appeng.core.localization;
|
|
|
|
|
|
|
|
import net.minecraft.util.StatCollector;
|
|
|
|
|
|
|
|
public enum GuiText
|
|
|
|
{
|
|
|
|
inventory("container"), // mc's default Inventory localization.
|
|
|
|
|
2014-02-28 02:12:00 -06:00
|
|
|
Chest, StoredEnergy, Of, Condenser, Drive, GrindStone, SkyChest,
|
2014-01-23 10:28:12 -06:00
|
|
|
|
|
|
|
VibrationChamber, SpatialIOPort, LevelEmitter, Terminal,
|
|
|
|
|
|
|
|
Interface, Config, StoredItems, Patterns, ImportBus, ExportBus,
|
|
|
|
|
|
|
|
CellWorkbench, NetworkDetails, StorageCells, IOBuses,
|
|
|
|
|
|
|
|
IOPort, BytesUsed, Types, QuantumLinkChamber, PortableCell,
|
|
|
|
|
2014-01-24 10:35:58 -06:00
|
|
|
NetworkTool, PowerUsageRate, PowerInputRate, Installed, EnergyDrain,
|
|
|
|
|
2014-01-31 11:32:30 -06:00
|
|
|
StorageBus, Priority, Security, Encoded, Blank, Unlinked, Linked,
|
|
|
|
|
2014-02-03 22:23:14 -06:00
|
|
|
SecurityCardEditor, NoPermissions, WirelessTerminal, Wireless,
|
2014-01-31 23:37:27 -06:00
|
|
|
|
2014-02-25 22:34:05 -06:00
|
|
|
CraftingTerminal, FormationPlane, Inscriber, QuartzCuttingKnife,
|
2014-02-04 20:44:54 -06:00
|
|
|
|
2014-03-05 23:45:14 -06:00
|
|
|
METunnel, ItemTunnel, RedstoneTunnel, MJTunnel, EUTunnel, FluidTunnel, StoredSize,
|
|
|
|
|
|
|
|
StoredPower, MaxPower, RequiredPower, Efficiency;
|
2013-12-27 16:59:59 -06:00
|
|
|
|
|
|
|
String root;
|
|
|
|
|
|
|
|
GuiText() {
|
|
|
|
root = "gui.appliedenergistics2";
|
|
|
|
}
|
|
|
|
|
|
|
|
GuiText(String r) {
|
|
|
|
root = r;
|
|
|
|
}
|
|
|
|
|
2014-01-20 10:41:37 -06:00
|
|
|
public String getUnlocalized()
|
2013-12-27 16:59:59 -06:00
|
|
|
{
|
|
|
|
return root + "." + toString();
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLocal()
|
|
|
|
{
|
2014-01-20 10:41:37 -06:00
|
|
|
return StatCollector.translateToLocal( getUnlocalized() );
|
2013-12-27 16:59:59 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|