Localize GUIs

This commit is contained in:
Adaptivity committed 2015-01-26 17:08:52 +03:00
1 parent 0e997bb295
commit dbf38c7a47
25 files changed
+140 -81

No files matched your search

@@ -2,6 +2,7 @@ package crazypants.enderio.machine.gui;
import java.awt.Rectangle;
import java.util.List;
import net.minecraft.util.StatCollector;
import net.minecraft.inventory.Container;
@@ -37,7 +38,7 @@ public abstract class GuiPoweredMachineBase<T extends AbstractPoweredMachineEnti
}
protected String getPowerOutputLabel() {
return "Max: ";
return StatCollector.translateToLocal("enderio.gui.max");
}
protected int getPowerOutputValue() {