Applied-Energistics-2-tiler.../core/localization/WailaText.java
AlgorithmX2 6aab1c2e35 Show Channel Usage for smart and dense cable in Waila.
Waila Plugin now works when parts are in FMP Tiles.
2014-07-22 00:47:24 -05:00

34 lines
486 B
Java

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() );
}
}