Applied-Energistics-2-tiler.../core/localization/WailaText.java
2014-02-19 21:16:41 -06:00

34 lines
476 B
Java

package appeng.core.localization;
import net.minecraft.util.StatCollector;
public enum WailaText
{
DeviceOnline, DeviceOffline, DeviceMissingChannel,
Locked, Unlocked, Showing,
Contains;
String root;
WailaText() {
root = "waila.appliedenergistics2";
}
WailaText(String r) {
root = r;
}
public String getUnlocalized()
{
return root + "." + toString();
}
public String getLocal()
{
return StatCollector.translateToLocal( getUnlocalized() );
}
}