2014-02-20 04:16:41 +01:00
|
|
|
package appeng.core.localization;
|
|
|
|
|
|
|
|
import net.minecraft.util.StatCollector;
|
|
|
|
|
|
|
|
public enum WailaText
|
|
|
|
{
|
|
|
|
|
|
|
|
DeviceOnline, DeviceOffline, DeviceMissingChannel,
|
|
|
|
|
|
|
|
Locked, Unlocked, Showing,
|
|
|
|
|
2014-07-22 07:47:24 +02:00
|
|
|
Contains, Channels;
|
2014-02-20 04:16:41 +01:00
|
|
|
|
|
|
|
String root;
|
|
|
|
|
|
|
|
WailaText() {
|
|
|
|
root = "waila.appliedenergistics2";
|
|
|
|
}
|
|
|
|
|
|
|
|
WailaText(String r) {
|
|
|
|
root = r;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getUnlocalized()
|
|
|
|
{
|
|
|
|
return root + "." + toString();
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLocal()
|
|
|
|
{
|
|
|
|
return StatCollector.translateToLocal( getUnlocalized() );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|