Relocate Source to proper directory.
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
package appeng.core.localization;
|
||||
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public enum ButtonToolTips
|
||||
{
|
||||
PowerUnits, IOMode, CondenserOutput, RedstoneMode, MatchingFuzzy,
|
||||
|
||||
MatchingMode, TransferDirection, SortOrder, SortBy, View,
|
||||
|
||||
PartitionStorage, Clear, FuzzyMode, OperationMode, TrashController,
|
||||
|
||||
InterfaceBlockingMode, InterfaceCraftingMode, Trash, MatterBalls,
|
||||
|
||||
Singularity, Read, Write, ReadWrite, AlwaysActive,
|
||||
|
||||
ActiveWithoutSignal, ActiveWithSignal, ActiveOnPulse,
|
||||
|
||||
EmitLevelsBelow, EmitLevelAbove, MatchingExact, TransferToNetwork,
|
||||
|
||||
TransferToStorageCell, ToggleSortDirection, SearchMode_Auto,
|
||||
|
||||
SearchMode_Standard, SearchMode_NEIAuto, SearchMode_NEIStandard,
|
||||
|
||||
SearchMode, ItemName, NumberOfItems, PartitionStorageHint,
|
||||
|
||||
ClearSettings, StoredItems, StoredCraftable, Craftable,
|
||||
|
||||
FZPercent_25, FZPercent_50, FZPercent_75, FZPercent_99, FZIgnoreAll,
|
||||
|
||||
MoveWhenEmpty, MoveWhenWorkIsDone, MoveWhenFull, Disabled, Enable,
|
||||
|
||||
Blocking, NonBlocking,
|
||||
|
||||
LevelType, LevelType_Energy, LevelType_Item, InventoryTweaks, TerminalStyle, TerminalStyle_Full, TerminalStyle_Tall, TerminalStyle_Small,
|
||||
|
||||
Stash, StashDesc, Encode, EncodeDescription, Substitutions, SubstitutionsOn, SubstitutionsOff, SubstitutionsDesc, CraftOnly, CraftEither,
|
||||
|
||||
Craft, Mod, DoesntDespawn, EmitterMode, CraftViaRedstone, EmitWhenCrafting, ReportInaccessibleItems, ReportInaccessibleItemsYes, ReportInaccessibleItemsNo;
|
||||
|
||||
String root;
|
||||
|
||||
ButtonToolTips() {
|
||||
root = "gui.tooltips.appliedenergistics2";
|
||||
}
|
||||
|
||||
ButtonToolTips(String r) {
|
||||
root = r;
|
||||
}
|
||||
|
||||
public String getUnlocalized()
|
||||
{
|
||||
return root + "." + toString();
|
||||
}
|
||||
|
||||
public String getLocal()
|
||||
{
|
||||
return StatCollector.translateToLocal( getUnlocalized() );
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
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, CopyMode, CopyModeDesc, PatternTerminal, CraftingPattern,
|
||||
|
||||
ProcessingPattern, Crafts, Creates, And, With, MolecularAssembler,
|
||||
|
||||
StoredPower, MaxPower, RequiredPower, Efficiency, InWorldCrafting,
|
||||
|
||||
inWorldFluix, inWorldPurificationCertus, inWorldPurificationNether,
|
||||
|
||||
inWorldPurificationFluix, inWorldSingularity, ChargedQuartz, OfSecondOutput,
|
||||
|
||||
NoSecondOutput, RFTunnel, Stores, Next, SelectAmount, Lumen, Empty,
|
||||
|
||||
ConfirmCrafting, Stored, Crafting, Scheduled, CraftingStatus, Cancel,
|
||||
|
||||
FromStorage, ToCraft, CraftingPlan, CalculatingWait, Start, Bytes,
|
||||
|
||||
CraftingCPU, Automatic, CoProcessors, Simulation, Missing,
|
||||
|
||||
InterfaceTerminal, NoCraftingCPUs, LightTunnel, Clean, InvalidPattern,
|
||||
|
||||
InterfaceTerminalHint, Range, TransparentFacades, TransparentFacadesHint,
|
||||
|
||||
NoCraftingJobs, CPUs, FacadeCrafting, inWorldCraftingPresses, ChargedQuartzFind,
|
||||
|
||||
Included, Excluded, Partitioned, Precise, Fuzzy;
|
||||
|
||||
String root;
|
||||
|
||||
GuiText() {
|
||||
root = "gui.appliedenergistics2";
|
||||
}
|
||||
|
||||
GuiText(String r) {
|
||||
root = r;
|
||||
}
|
||||
|
||||
public String getUnlocalized()
|
||||
{
|
||||
return root + "." + toString();
|
||||
}
|
||||
|
||||
public String getLocal()
|
||||
{
|
||||
return StatCollector.translateToLocal( getUnlocalized() );
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package appeng.core.localization;
|
||||
|
||||
import net.minecraft.util.ChatComponentTranslation;
|
||||
import net.minecraft.util.IChatComponent;
|
||||
|
||||
public enum PlayerMessages
|
||||
{
|
||||
ChestCannotReadStorageCell, InvalidMachine, LoadedSettings, SavedSettings, MachineNotPowered,
|
||||
|
||||
isNowLocked, isNowUnlocked, AmmoDepleted, CommunicationError, OutOfRange, DeviceNotPowered, SettingCleared;
|
||||
|
||||
String getName()
|
||||
{
|
||||
return "chat.appliedenergistics2." + toString();
|
||||
}
|
||||
|
||||
public IChatComponent get()
|
||||
{
|
||||
return new ChatComponentTranslation( getName() );
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package appeng.core.localization;
|
||||
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public enum WailaText
|
||||
{
|
||||
|
||||
DeviceOnline, DeviceOffline, DeviceMissingChannel,
|
||||
|
||||
Locked, Unlocked, Showing,
|
||||
|
||||
Contains, Channels;
|
||||
|
||||
String root;
|
||||
|
||||
WailaText() {
|
||||
root = "waila.appliedenergistics2";
|
||||
}
|
||||
|
||||
WailaText(String r) {
|
||||
root = r;
|
||||
}
|
||||
|
||||
public String getUnlocalized()
|
||||
{
|
||||
return root + "." + toString();
|
||||
}
|
||||
|
||||
public String getLocal()
|
||||
{
|
||||
return StatCollector.translateToLocal( getUnlocalized() );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user