Added some localization

This commit is contained in:
kordum committed 2017-06-11 11:59:17 +03:00
1 parent 43211303bb
commit 75df80ae3c
9 files changed
+26 -19

No files matched your search

@@ -44,12 +44,12 @@ public class WindowPolymeriser extends WindowMachine {
new ControlIconDisplay(this, x + 18, y + 1, GUIIcon.ArrowRight.getIcon());
x += 34;
new ControlMachineProgress(this, x + 18, y - 6, progressBase, progress, Position.LEFT);
new ControlSlot(this, x, y).assign(0);
new ControlLiquidTank(this, x, y + 18 + 16, true).setTankID(0);
new ControlLiquidTank(this, x, y + 18 + 16 + 18 + 8, true).setTankID(1);
new ControlSlot(this, x, y).assign(Polymeriser.SLOT_SERUM);
new ControlLiquidTank(this, x, y + 18 + 16, true).setTankID(Polymeriser.TANK_BACTERIA);
new ControlLiquidTank(this, x, y + 18 + 16 + 18 + 8, true).setTankID(Polymeriser.TANK_DNA);
new ControlEnergyBar(this, x + 120, 96, 64, 16, Position.LEFT);
x += 40;
new ControlSlot(this, x + 30, y + 18 + 8).assign(1);
new ControlSlot(this, x + 30, y + 18 + 8).assign(Polymeriser.SLOT_GOLD);
new ControlSlotCharge(this, x + 30 + 20, y + 18 + 8, 1).setColor(0xffd800);
x += 138;
new ControlSlotArray(this, x, y + 9, 2, 2).create(Polymeriser.SLOT_SERUM_FINISHED);
@@ -9,11 +9,11 @@ import net.minecraft.util.IIcon;
import net.minecraftforge.fluids.FluidStack;
public enum GeneticLiquid implements IFluidType {
GrowthMedium("Growth Medium", "growthMedium", 15460533),
Bacteria("Bacteria", "bacteria", 14203521),
BacteriaPoly("Polymerising Bacteria", "bacteriaPoly", 11443396),
RawDNA("Raw DNA", "dna.raw", 15089129),
BacteriaVector("Bacteria Vector", "bacteriaVector", 15960958);
GrowthMedium("growthMedium", 0xebe8b5),
Bacteria("bacteria", 0xd8ba81),
BacteriaPoly("bacteriaPoly", 0xae9cc4),
RawDNA("dna.raw", 0xe63de9),
BacteriaVector("bacteriaVector", 0xf38b7e);
protected String name;
protected String ident;
@@ -21,9 +21,9 @@ public enum GeneticLiquid implements IFluidType {
protected int color;
protected float transparency;
GeneticLiquid(String name, String ident, int color) {
GeneticLiquid(String name, int color) {
this.name = name;
this.ident = ident;
this.ident = name;
this.color = color;
transparency = 1.0f;
}
@@ -13,6 +13,6 @@ class PolymerisingBacteriaValidator extends Validator<FluidStack> {
@Override
public String getTooltip() {
return I18N.localise("fluid.polymerisingBacteria");
return I18N.localise("fluid.bacteriaPoly");
}
}