2014-11-14 12:02:52 +01:00
|
|
|
/*
|
|
|
|
* 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>.
|
|
|
|
*/
|
|
|
|
|
2014-09-24 02:26:27 +02:00
|
|
|
package appeng.core.localization;
|
|
|
|
|
2015-01-16 19:58:11 +01:00
|
|
|
|
2014-09-24 02:26:27 +02:00
|
|
|
import net.minecraft.util.StatCollector;
|
|
|
|
|
2015-01-16 19:58:11 +01:00
|
|
|
|
2014-09-24 02:26:27 +02:00
|
|
|
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,
|
|
|
|
|
2015-01-16 19:58:11 +01:00
|
|
|
Craft, Mod, DoesntDespawn, EmitterMode, CraftViaRedstone, EmitWhenCrafting, ReportInaccessibleItems, ReportInaccessibleItemsYes, ReportInaccessibleItemsNo,
|
|
|
|
|
|
|
|
BlockPlacement, BlockPlacementYes, BlockPlacementNo;
|
2014-09-24 02:26:27 +02:00
|
|
|
|
2014-09-29 09:54:34 +02:00
|
|
|
final String root;
|
2014-09-24 02:26:27 +02:00
|
|
|
|
2015-01-16 19:58:11 +01:00
|
|
|
ButtonToolTips()
|
|
|
|
{
|
2014-12-29 15:13:47 +01:00
|
|
|
this.root = "gui.tooltips.appliedenergistics2";
|
2014-09-24 02:26:27 +02:00
|
|
|
}
|
|
|
|
|
2015-01-16 19:58:11 +01:00
|
|
|
ButtonToolTips( String r )
|
|
|
|
{
|
2014-12-29 15:13:47 +01:00
|
|
|
this.root = r;
|
2014-09-24 02:26:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getUnlocalized()
|
|
|
|
{
|
2014-12-29 15:13:47 +01:00
|
|
|
return this.root + '.' + this.toString();
|
2014-09-24 02:26:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getLocal()
|
|
|
|
{
|
2014-12-29 15:13:47 +01:00
|
|
|
return StatCollector.translateToLocal( this.getUnlocalized() );
|
2014-09-24 02:26:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|