Finish Crystal Flux Localization

Signed-off-by: Cranky Supertoon <crankysupertoon@gmail.com>
This commit is contained in:
Cranky Supertoon 2020-11-15 12:10:12 -05:00
parent 9a15bee50f
commit 26650447de
No known key found for this signature in database
GPG key ID: BC6F037E00637146

View file

@ -20,6 +20,7 @@ import de.ellpeck.actuallyadditions.mod.util.StringUtil;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.Gui;
import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.I18n;
import net.minecraftforge.fml.client.config.GuiUtils; import net.minecraftforge.fml.client.config.GuiUtils;
import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraftforge.fml.relauncher.SideOnly;
@ -94,6 +95,6 @@ public class EnergyDisplay extends Gui {
private String getOverlayText() { private String getOverlayText() {
NumberFormat format = NumberFormat.getInstance(); NumberFormat format = NumberFormat.getInstance();
return String.format("%s/%s Crystal Flux", format.format(this.rfReference.getEnergyStored()), format.format(this.rfReference.getMaxEnergyStored())); return String.format("%s/%s %s", format.format(this.rfReference.getEnergyStored()), format.format(this.rfReference.getMaxEnergyStored()), I18n.format("actuallyadditions.cflong"));
} }
} }