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