Applied-Energistics-2-tiler.../src/main/java/appeng/core/localization/GuiText.java
yueh c4fa21c193 Removes coremod (#3038)
From now on every integration must not rely on method stripping through
a coremod or @Optional. Notable example for a very good solution is IC2.

As consequence this drops all support for RF and mods must support on of
our supported energy types. At the time of writing, ForgeEnergy and
IC2/EU.
2017-08-17 21:16:57 +02:00

211 lines
3.2 KiB
Java

/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Applied Energistics 2 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
*/
package appeng.core.localization;
import net.minecraft.util.text.translation.I18n;
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,
// tunnel names
METunnel,
ItemTunnel,
RedstoneTunnel,
EUTunnel,
FluidTunnel,
OCTunnel,
LightTunnel,
FETunnel,
PressureTunnel,
StoredSize,
CopyMode,
CopyModeDesc,
PatternTerminal,
// Pattern tooltips
CraftingPattern,
ProcessingPattern,
Crafts,
Creates,
And,
With,
Substitute,
Yes,
No,
MolecularAssembler,
StoredPower,
MaxPower,
RequiredPower,
Efficiency,
InWorldCrafting,
inWorldFluix,
inWorldPurificationCertus,
inWorldPurificationNether,
inWorldPurificationFluix,
inWorldSingularity,
ChargedQuartz,
NoSecondOutput,
OfSecondOutput,
MultipleOutputs,
Stores,
Next,
SelectAmount,
Lumen,
Empty,
ConfirmCrafting,
Stored,
Crafting,
Scheduled,
CraftingStatus,
Cancel,
ETA,
ETAFormat,
FromStorage,
ToCraft,
CraftingPlan,
CalculatingWait,
Start,
Bytes,
CraftingCPU,
Automatic,
CoProcessors,
Simulation,
Missing,
InterfaceTerminal,
NoCraftingCPUs,
Clean,
InvalidPattern,
InterfaceTerminalHint,
Range,
TransparentFacades,
TransparentFacadesHint,
NoCraftingJobs,
CPUs,
FacadeCrafting,
inWorldCraftingPresses,
ChargedQuartzFind,
Included,
Excluded,
Partitioned,
Precise,
Fuzzy,
// Used in a terminal to indicate that an item is craftable
SmallFontCraft,
LargeFontCraft,
// Used in a ME Interface when no appropriate TileEntity was detected near it
Nothing;
private final String root;
GuiText()
{
this.root = "gui.appliedenergistics2";
}
GuiText( final String r )
{
this.root = r;
}
public String getLocal()
{
return I18n.translateToLocal( this.getUnlocalized() );
}
public String getUnlocalized()
{
return this.root + '.' + this.toString();
}
}